Zeile 345 | Zeile 345 |
---|
$convert_to_binary .= $comma.$names.preg_replace('/'.$type.'/i', $types[$type], $column['Type']).' '.$attributes; $convert_to_utf8 .= "{$comma}{$names}{$column['Type']} CHARACTER SET {$character_set} COLLATE {$collation} {$attributes}";
|
$convert_to_binary .= $comma.$names.preg_replace('/'.$type.'/i', $types[$type], $column['Type']).' '.$attributes; $convert_to_utf8 .= "{$comma}{$names}{$column['Type']} CHARACTER SET {$character_set} COLLATE {$collation} {$attributes}";
|
$comma = $lang->comma;
| $comma = ',';
|
} }
| } }
|
Zeile 757 | Zeile 757 |
---|
while($task = $db->fetch_array($query)) { $task['title'] = htmlspecialchars_uni($task['title']);
|
while($task = $db->fetch_array($query)) { $task['title'] = htmlspecialchars_uni($task['title']);
|
$next_run = date($mybb->settings['dateformat'], $task['nextrun']).", ".date($mybb->settings['timeformat'], $task['nextrun']);
| $next_run = my_date('normal', $task['nextrun'], "", 2);
|
$table->construct_cell("<strong>{$task['title']}</strong>"); $table->construct_cell($next_run, array("class" => "align_center"));
| $table->construct_cell("<strong>{$task['title']}</strong>"); $table->construct_cell($next_run, array("class" => "align_center"));
|
Zeile 850 | Zeile 850 |
---|
++$errors; }
|
++$errors; }
|
if(is_writable('.'.$mybb->settings['uploadspath']))
| $uploadspath = $mybb->settings['uploadspath']; if(my_substr($uploadspath, 0, 1) == '.') { $uploadspath = MYBB_ROOT . $mybb->settings['uploadspath']; } if(is_writable($uploadspath))
|
{ $message_upload = "<span style=\"color: green;\">{$lang->writable}</span>";
|
{ $message_upload = "<span style=\"color: green;\">{$lang->writable}</span>";
|
}
| }
|
else
|
else
|
{
| {
|
$message_upload = "<strong><span style=\"color: #C00\">{$lang->not_writable}</span></strong><br />{$lang->please_chmod_777}"; ++$errors;
|
$message_upload = "<strong><span style=\"color: #C00\">{$lang->not_writable}</span></strong><br />{$lang->please_chmod_777}"; ++$errors;
|
}
| }
|
|
|
if(is_writable('../'.$mybb->settings['avataruploadpath']))
| $avataruploadpath = $mybb->settings['avataruploadpath']; if(my_substr($avataruploadpath, 0, 1) == '.') { $avataruploadpath = MYBB_ROOT . $mybb->settings['avataruploadpath']; } if(is_writable($avataruploadpath))
|
{ $message_avatar = "<span style=\"color: green;\">{$lang->writable}</span>"; }
| { $message_avatar = "<span style=\"color: green;\">{$lang->writable}</span>"; }
|
Zeile 912 | Zeile 922 |
---|
if($errors) {
|
if($errors) {
|
$page->output_error("<p><em>{$errors} {$lang->error_chmod}</span></strong> {$lang->chmod_info} <a href=\"http://docs.mybb.com/HowTo_Chmod.html\" target=\"_blank\">MyBB Docs</a>.</em></p>");
| $page->output_error("<p><em>{$errors} {$lang->error_chmod}</span></strong> {$lang->chmod_info} <a href=\"https://docs.mybb.com/1.8/administration/security/file-permissions\" target=\"_blank\" rel=\"noopener\">MyBB Docs</a>.</em></p>");
|
} else {
| } else {
|