Не знаю, но на доткоме везде она фигурирует.
Код: Выделить всё
Fix PHP 7.2 warning in functions_messenger.php
Не знаю, но на доткоме везде она фигурирует.
Код: Выделить всё
Fix PHP 7.2 warning in functions_messenger.php
assets/javascript/editor.js
Код: Выделить всё
$('textarea').on('keydown', function (e) {
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {
$(this).closest('form').find(':submit').click();
}
});
Код: Выделить всё
$('textarea').on('keydown', function (e) {
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {
var $form = $(this).closest('form'),
$submitButton = ($form.find('input[name="post"]').length) ? $form.find('input[name="post"]') : $form.find(':submit').last();
$submitButton.click();
}
});
Код: Выделить всё
Parse error: syntax error, unexpected 'foreach' (T_FOREACH) in /var/www/stas/data/www/garagediy.ru/includes/functions_posting.php on line 732
Код: Выделить всё
'S_HAS_ATTACHMENTS' => count($attachment_data),
'FILESIZE' => $config['max_filesize'],
'FILE_COMMENT' => (isset($filename_data['filecomment'])) ? $filename_data['filecomment'] : '',
));
if (count($attachment_data))
{
// We display the posted attachments within the desired order.
($config['display_order']) ? krsort($attachment_data) : ksort($attachment_data);
+ $attachrow_template_vars = [];
+
foreach ($attachment_data as $count => $attach_row)
{
$hidden = '';
- $attachrow_template_vars = array();
$attach_row['real_filename'] = utf8_basename($attach_row['real_filename']);
foreach ($attach_row as $key => $value)
{
$hidden .= '<input type="hidden" name="attachment_data[' . $count . '][' . $key . ']" value="' . $value . '" />';
}
Читайте первое сообщение темы до просветления. Во избежание.