diff --git a/admin/admin_attach_cp.php b/admin/admin_attach_cp.php index 8dbb64787..cd34dd793 100644 --- a/admin/admin_attach_cp.php +++ b/admin/admin_attach_cp.php @@ -436,7 +436,7 @@ if ($view === 'attachments') { } } - $post_titles = implode('
', $post_titles); + $post_titles = implode('
', $post_titles); $hidden_field = ''; diff --git a/admin/admin_attachments.php b/admin/admin_attachments.php index 3a8b05cc2..059a2a6c9 100644 --- a/admin/admin_attachments.php +++ b/admin/admin_attachments.php @@ -159,18 +159,18 @@ if ($check_upload) { // Does the target directory exist, is it a directory and writeable if (!@file_exists(realpath($upload_dir))) { $error = true; - $error_msg = sprintf($lang['DIRECTORY_DOES_NOT_EXIST'], $attach_config['upload_dir']) . '
'; + $error_msg = sprintf($lang['DIRECTORY_DOES_NOT_EXIST'], $attach_config['upload_dir']) . '
'; } if (!$error && !is_dir($upload_dir)) { $error = true; - $error_msg = sprintf($lang['DIRECTORY_IS_NOT_A_DIR'], $attach_config['upload_dir']) . '
'; + $error_msg = sprintf($lang['DIRECTORY_IS_NOT_A_DIR'], $attach_config['upload_dir']) . '
'; } if (!$error) { if (!($fp = @fopen($upload_dir . '/0_000000.000', 'wb+'))) { $error = true; - $error_msg = sprintf($lang['DIRECTORY_NOT_WRITEABLE'], $attach_config['upload_dir']) . '
'; + $error_msg = sprintf($lang['DIRECTORY_NOT_WRITEABLE'], $attach_config['upload_dir']) . '
'; } else { @fclose($fp); unlink_attach($upload_dir . '/0_000000.000'); @@ -178,14 +178,14 @@ if ($check_upload) { } if (!$error) { - bb_die($lang['TEST_SETTINGS_SUCCESSFUL'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['TEST_SETTINGS_SUCCESSFUL'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } } // Management if ($submit && $mode == 'manage') { if (!$error) { - bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } } @@ -218,7 +218,7 @@ if ($mode == 'manage') { if ($submit && $mode == 'cats') { if (!$error) { - bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } } @@ -308,19 +308,19 @@ if ($check_image_cat) { if (!@file_exists(realpath($upload_dir))) { $error = true; - $error_msg = sprintf($lang['DIRECTORY_DOES_NOT_EXIST'], $upload_dir) . '
'; + $error_msg = sprintf($lang['DIRECTORY_DOES_NOT_EXIST'], $upload_dir) . '
'; } } if (!$error && !is_dir($upload_dir)) { $error = true; - $error_msg = sprintf($lang['DIRECTORY_IS_NOT_A_DIR'], $upload_dir) . '
'; + $error_msg = sprintf($lang['DIRECTORY_IS_NOT_A_DIR'], $upload_dir) . '
'; } if (!$error) { if (!($fp = @fopen($upload_dir . '/0_000000.000', 'wb+'))) { $error = true; - $error_msg = sprintf($lang['DIRECTORY_NOT_WRITEABLE'], $upload_dir) . '
'; + $error_msg = sprintf($lang['DIRECTORY_NOT_WRITEABLE'], $upload_dir) . '
'; } else { @fclose($fp); @unlink($upload_dir . '/0_000000.000'); @@ -328,7 +328,7 @@ if ($check_image_cat) { } if (!$error) { - bb_die($lang['TEST_SETTINGS_SUCCESSFUL'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['TEST_SETTINGS_SUCCESSFUL'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } } @@ -397,7 +397,7 @@ if ($submit && $mode == 'quota') { if ($row[$i]['quota_desc'] == $quota_desc) { $error = true; if (isset($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['QUOTA_LIMIT_EXIST'], $extension_group); } @@ -417,7 +417,7 @@ if ($submit && $mode == 'quota') { } if (!$error) { - bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } } diff --git a/admin/admin_board.php b/admin/admin_board.php index 19f359a87..629dbd3c9 100644 --- a/admin/admin_board.php +++ b/admin/admin_board.php @@ -18,9 +18,9 @@ require __DIR__ . '/pagestart.php'; $mode = $_GET['mode'] ?? ''; $return_links = [ - 'index' => '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''), - 'config' => '

' . sprintf($lang['CLICK_RETURN_CONFIG'], '', ''), - 'config_mods' => '

' . sprintf($lang['CLICK_RETURN_CONFIG_MODS'], '', '') + 'index' => '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''), + 'config' => '

' . sprintf($lang['CLICK_RETURN_CONFIG'], '', ''), + 'config_mods' => '

' . sprintf($lang['CLICK_RETURN_CONFIG_MODS'], '', '') ]; /** diff --git a/admin/admin_bt_forum_cfg.php b/admin/admin_bt_forum_cfg.php index 516708d8a..a0d9955fe 100644 --- a/admin/admin_bt_forum_cfg.php +++ b/admin/admin_bt_forum_cfg.php @@ -86,7 +86,7 @@ if ($submit && $confirm) { $datastore->update('cat_forums'); - bb_die($lang['CONFIG_UPD'] . '

' . sprintf($lang['RETURN_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['CONFIG_UPD'] . '

' . sprintf($lang['RETURN_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } // Set template vars diff --git a/admin/admin_cron.php b/admin/admin_cron.php index e2c61565f..cb2518e58 100644 --- a/admin/admin_cron.php +++ b/admin/admin_cron.php @@ -183,7 +183,7 @@ switch ($mode) { case 'delete': \TorrentPier\Legacy\Admin\Cron::delete_jobs($job_id); - bb_die($lang['JOB_REMOVED'] . '

' . sprintf($lang['CLICK_RETURN_JOBS'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['JOB_REMOVED'] . '

' . sprintf($lang['CLICK_RETURN_JOBS'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); break; } diff --git a/admin/admin_disallow.php b/admin/admin_disallow.php index 699a10819..88fcda526 100644 --- a/admin/admin_disallow.php +++ b/admin/admin_disallow.php @@ -33,7 +33,7 @@ if (isset($_POST['add_name'])) { $message = $lang['DISALLOW_SUCCESSFUL']; } - $message .= '

' . sprintf($lang['CLICK_RETURN_DISALLOWADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); + $message .= '

' . sprintf($lang['CLICK_RETURN_DISALLOWADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); bb_die($message); } elseif (isset($_POST['delete_name'])) { @@ -46,7 +46,7 @@ if (isset($_POST['add_name'])) { bb_die('Could not removed disallowed user'); } - $message .= $lang['DISALLOWED_DELETED'] . '

' . sprintf($lang['CLICK_RETURN_DISALLOWADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); + $message .= $lang['DISALLOWED_DELETED'] . '

' . sprintf($lang['CLICK_RETURN_DISALLOWADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); bb_die($message); } diff --git a/admin/admin_extensions.php b/admin/admin_extensions.php index f1e4ac4ba..ef06567b7 100644 --- a/admin/admin_extensions.php +++ b/admin/admin_extensions.php @@ -150,7 +150,7 @@ if ($submit && $mode == 'extensions') { if (strtolower(trim($row[$i]['extension'])) == strtolower(trim($extension))) { $error = true; if (isset($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['EXTENSION_EXIST'], strtolower(trim($extension))); } @@ -174,7 +174,7 @@ if ($submit && $mode == 'extensions') { } if (!$error) { - bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } } @@ -325,7 +325,7 @@ if ($submit && $mode == 'groups') { if ($row[$i]['group_name'] == $extension_group) { $error = true; if (isset($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['EXTENSION_GROUP_EXIST'], $extension_group); } @@ -354,7 +354,7 @@ if ($submit && $mode == 'groups') { } if (!$error) { - bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['ATTACH_CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } } @@ -662,7 +662,7 @@ if ($e_mode == 'perm' && $group) { $message = ''; foreach ($empty_perm_forums as $forum_id => $forum_name) { - $message .= ($message == '') ? $forum_name : '
' . $forum_name; + $message .= ($message == '') ? $forum_name : '
' . $forum_name; } if (count($empty_perm_forums) > 0) { diff --git a/admin/admin_forumauth.php b/admin/admin_forumauth.php index afd0a48c9..6e9c2c7b5 100644 --- a/admin/admin_forumauth.php +++ b/admin/admin_forumauth.php @@ -123,7 +123,7 @@ if ($submit) { } $datastore->update('cat_forums'); - bb_die($lang['FORUM_AUTH_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMAUTH'], '', '')); + bb_die($lang['FORUM_AUTH_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMAUTH'], '', '')); } /** diff --git a/admin/admin_forumauth_list.php b/admin/admin_forumauth_list.php index 3c4f5dcbb..8efc12623 100644 --- a/admin/admin_forumauth_list.php +++ b/admin/admin_forumauth_list.php @@ -153,7 +153,7 @@ if ($submit) { } $datastore->update('cat_forums'); - bb_die($lang['FORUM_AUTH_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMAUTH'], '', '')); + bb_die($lang['FORUM_AUTH_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMAUTH'], '', '')); } // End of submit // diff --git a/admin/admin_forums.php b/admin/admin_forums.php index 864350e48..d5f6f9637 100644 --- a/admin/admin_forums.php +++ b/admin/admin_forums.php @@ -223,7 +223,7 @@ if ($mode) { $datastore->update('cat_forums'); CACHE('bb_cache')->rm(); - bb_die($lang['FORUMS_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['FORUMS_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); break; @@ -310,9 +310,9 @@ if ($mode) { $datastore->update('cat_forums'); CACHE('bb_cache')->rm(); - $message = $lang['FORUMS_UPDATED'] . '

'; - $message .= $fix ? "$fix

" : ''; - $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); + $message = $lang['FORUMS_UPDATED'] . '

'; + $message .= $fix ? "$fix

" : ''; + $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); bb_die($message); break; @@ -339,7 +339,7 @@ if ($mode) { $datastore->update('cat_forums'); CACHE('bb_cache')->rm(); - bb_die($lang['FORUMS_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['FORUMS_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); break; @@ -393,7 +393,7 @@ if ($mode) { $datastore->update('cat_forums'); CACHE('bb_cache')->rm(); - bb_die($lang['FORUMS_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['FORUMS_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); break; @@ -480,7 +480,7 @@ if ($mode) { $datastore->update('cat_forums'); CACHE('bb_cache')->rm(); - bb_die($lang['FORUMS_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['FORUMS_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); break; @@ -550,9 +550,9 @@ if ($mode) { $datastore->update('cat_forums'); CACHE('bb_cache')->rm(); - $message = $lang['FORUMS_UPDATED'] . '

'; - $message .= $fix ? "$fix

" : ''; - $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); + $message = $lang['FORUMS_UPDATED'] . '

'; + $message .= $fix ? "$fix

" : ''; + $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); bb_die($message); break; @@ -1072,8 +1072,8 @@ function fix_orphan_sf($orphan_sf_sql = '', $show_mess = false) } if ($show_mess) { - $message = $done_mess . '

'; - $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

'; + $message = $done_mess . '

'; + $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '', '') . '

'; $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); bb_die($message); } diff --git a/admin/admin_groups.php b/admin/admin_groups.php index 7785b0679..187b3abd5 100644 --- a/admin/admin_groups.php +++ b/admin/admin_groups.php @@ -78,8 +78,8 @@ if (!empty($_POST['edit']) || !empty($_POST['new'])) { // Delete Group \TorrentPier\Legacy\Group::delete_group($group_id); - $message = $lang['DELETED_GROUP'] . '

'; - $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '', '') . '

'; + $message = $lang['DELETED_GROUP'] . '

'; + $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '', '') . '

'; $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); bb_die($message); @@ -131,8 +131,8 @@ if (!empty($_POST['edit']) || !empty($_POST['new'])) { // Update group's data DB()->query('UPDATE ' . BB_GROUPS . " SET $sql_args WHERE group_id = $group_id"); - $message = $lang['UPDATED_GROUP'] . '

'; - $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '', '') . '

'; + $message = $lang['UPDATED_GROUP'] . '

'; + $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '', '') . '

'; $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); bb_die($message); @@ -147,8 +147,8 @@ if (!empty($_POST['edit']) || !empty($_POST['new'])) { // Create user_group for group's moderator \TorrentPier\Legacy\Group::add_user_into_group($new_group_id, $group_moderator); - $message = $lang['ADDED_NEW_GROUP'] . '

'; - $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '', '') . '

'; + $message = $lang['ADDED_NEW_GROUP'] . '

'; + $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '', '') . '

'; $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); bb_die($message); diff --git a/admin/admin_mass_email.php b/admin/admin_mass_email.php index 40f775558..09f1be820 100644 --- a/admin/admin_mass_email.php +++ b/admin/admin_mass_email.php @@ -101,7 +101,7 @@ $template->assign_vars([ 'SUBJECT' => $subject, 'REPLY_TO' => $reply_to, - 'ERROR_MESSAGE' => $errors ? implode('
', array_unique($errors)) : '', + 'ERROR_MESSAGE' => $errors ? implode('
', array_unique($errors)) : '', 'S_USER_ACTION' => 'admin_mass_email.php', 'S_GROUP_SELECT' => build_select(POST_GROUPS_URL, $groups) diff --git a/admin/admin_ranks.php b/admin/admin_ranks.php index b17637a95..39ae3b76c 100644 --- a/admin/admin_ranks.php +++ b/admin/admin_ranks.php @@ -113,7 +113,7 @@ if ($mode != '') { bb_die('Could not update / insert into ranks table'); } - $message .= '

' . sprintf($lang['CLICK_RETURN_RANKADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); + $message .= '

' . sprintf($lang['CLICK_RETURN_RANKADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', ''); $datastore->update('ranks'); @@ -143,7 +143,7 @@ if ($mode != '') { $datastore->update('ranks'); - bb_die($lang['RANK_REMOVED'] . '

' . sprintf($lang['CLICK_RETURN_RANKADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['RANK_REMOVED'] . '

' . sprintf($lang['CLICK_RETURN_RANKADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } else { bb_die($lang['MUST_SELECT_RANK']); } diff --git a/admin/admin_rebuild_search.php b/admin/admin_rebuild_search.php index 8222a3b90..0de76f692 100644 --- a/admin/admin_rebuild_search.php +++ b/admin/admin_rebuild_search.php @@ -51,7 +51,7 @@ if (isset($_REQUEST['cancel_button'])) { "); } - bb_die(sprintf($lang['REBUILD_SEARCH_ABORTED'], $last_session_data['end_post_id']) . '

' . sprintf($lang['CLICK_RETURN_REBUILD_SEARCH'], '', '')); + bb_die(sprintf($lang['REBUILD_SEARCH_ABORTED'], $last_session_data['end_post_id']) . '

' . sprintf($lang['CLICK_RETURN_REBUILD_SEARCH'], '', '')); } // from which post to start processing @@ -105,7 +105,7 @@ if (isset($_REQUEST['time_limit'])) { if (isset($_SERVER['HTTP_KEEP_ALIVE'])) { // get webserver timeout $webserver_timeout = (int)$_SERVER['HTTP_KEEP_ALIVE']; - $time_limit_explain .= '
' . sprintf($lang['TIME_LIMIT_EXPLAIN_WEBSERVER'], $webserver_timeout); + $time_limit_explain .= '
' . sprintf($lang['TIME_LIMIT_EXPLAIN_WEBSERVER'], $webserver_timeout); if ($time_limit > $webserver_timeout) { $time_limit = $webserver_timeout; @@ -119,7 +119,7 @@ $refresh_rate = isset($_REQUEST['refresh_rate']) ? (int)$_REQUEST['refresh_rate' // check if the user gave wrong input if ($mode == 'submit') { if (($session_posts_processing || $post_limit || $refresh_rate || $time_limit) <= 0) { - bb_die($lang['WRONG_INPUT'] . '

' . sprintf($lang['CLICK_RETURN_REBUILD_SEARCH'], '', '')); + bb_die($lang['WRONG_INPUT'] . '

' . sprintf($lang['CLICK_RETURN_REBUILD_SEARCH'], '', '')); } } @@ -275,7 +275,7 @@ if ($mode == 'submit' || $mode == 'refresh') { DB()->query("OPTIMIZE TABLE $table"); } - $processing_messages .= '
' . $lang['ALL_TABLES_OPTIMIZED']; + $processing_messages .= '
' . $lang['ALL_TABLES_OPTIMIZED']; } // calculate the percent @@ -372,7 +372,7 @@ if ($mode == 'submit' || $mode == 'refresh') { $last_saved_processing = sprintf($lang['INFO_PROCESSING_ABORTED'], $last_saved_post_id, $total_posts_processed, $last_saved_date); // check if the interrupted cycle has finished if (TIMENOW - $last_session_data['end_time'] < $last_session_data['last_cycle_time']) { - $last_saved_processing .= '
' . $lang['INFO_PROCESSING_ABORTED_SOON']; + $last_saved_processing .= '
' . $lang['INFO_PROCESSING_ABORTED_SOON']; } $clear_search_disabled = 'disabled'; diff --git a/admin/admin_smilies.php b/admin/admin_smilies.php index e44a51cb8..721467723 100644 --- a/admin/admin_smilies.php +++ b/admin/admin_smilies.php @@ -107,7 +107,7 @@ if (isset($_GET['import_pack']) || isset($_POST['import_pack'])) { } } - bb_die($lang['SMILEY_IMPORT_SUCCESS'] . '

' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['SMILEY_IMPORT_SUCCESS'] . '

' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } else { // Display the script to get the smile_pak cfg file $smile_paks_select = ' -

+

' . $lang['INDEX_RETURN'] . ' '); } diff --git a/src/Legacy/Admin/Common.php b/src/Legacy/Admin/Common.php index 99cf8b626..56109df5f 100644 --- a/src/Legacy/Admin/Common.php +++ b/src/Legacy/Admin/Common.php @@ -664,7 +664,7 @@ class Common // Log action if ($del_user_posts) { - $log_action->admin('mod_post_delete', ['log_msg' => 'user: ' . self::get_usernames_for_log($user_id) . "
posts: $deleted_posts_count"]); + $log_action->admin('mod_post_delete', ['log_msg' => 'user: ' . self::get_usernames_for_log($user_id) . "
posts: $deleted_posts_count"]); } elseif (!\defined('IN_CRON')) { foreach ($log_topics as $row) { $log_action->mod('mod_post_delete', ['forum_id' => $row['forum_id'], 'topic_id' => $row['topic_id'], 'topic_title' => $row['topic_title']]); diff --git a/src/Legacy/Admin/Cron.php b/src/Legacy/Admin/Cron.php index dfd61c032..05286fbcd 100644 --- a/src/Legacy/Admin/Cron.php +++ b/src/Legacy/Admin/Cron.php @@ -129,7 +129,7 @@ class Cron $langmode = $lang['TITLE_DUPLICATE']; } - $message = $langmode . "

" . sprintf($lang['CLICK_RETURN_JOBS_ADDED'], "", "") . "

" . sprintf($lang['CLICK_RETURN_JOBS'], "", "") . "

" . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], "", ""); + $message = $langmode . "

" . sprintf($lang['CLICK_RETURN_JOBS_ADDED'], "", "") . "

" . sprintf($lang['CLICK_RETURN_JOBS'], "", "") . "

" . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], "", ""); bb_die($message); } diff --git a/src/Legacy/Attach.php b/src/Legacy/Attach.php index 60db3ed6b..366925084 100644 --- a/src/Legacy/Attach.php +++ b/src/Legacy/Attach.php @@ -291,7 +291,7 @@ class Attach } else { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['TOO_MANY_ATTACHMENTS'], (int)$max_attachments); } @@ -411,7 +411,7 @@ class Attach if (empty($this->filename)) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= $lang['ERROR_EMPTY_ADD_ATTACHBOX']; } @@ -443,7 +443,7 @@ class Attach if (DB()->num_rows($result) != 1) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= $lang['ERROR_MISSING_OLD_ENTRY']; } @@ -519,7 +519,7 @@ class Attach } else { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['TOO_MANY_ATTACHMENTS'], (int)$max_attachments); } @@ -587,7 +587,7 @@ class Attach $sql = 'INSERT INTO ' . BB_ATTACHMENTS_DESC . ' ' . DB()->build_array('INSERT', $sql_ary); if (!(DB()->sql_query($sql))) { - bb_die('Could not store Attachment.
Your ' . $message_type . ' has been stored'); + bb_die('Could not store Attachment.
Your ' . $message_type . ' has been stored'); } $attach_id = DB()->sql_nextid(); @@ -607,7 +607,7 @@ class Attach $sql = 'INSERT INTO ' . BB_ATTACHMENTS . ' ' . DB()->build_array('INSERT', $sql_ary); if (!(DB()->sql_query($sql))) { - bb_die('Could not store Attachment.
Your ' . $message_type . ' has been stored'); + bb_die('Could not store Attachment.
Your ' . $message_type . ' has been stored'); } } } @@ -633,7 +633,7 @@ class Attach // Inform the user that his post has been created, but nothing is attached if (!(DB()->sql_query($sql))) { - bb_die('Could not store Attachment.
Your ' . $message_type . ' has been stored'); + bb_die('Could not store Attachment.
Your ' . $message_type . ' has been stored'); } $attach_id = DB()->sql_nextid(); @@ -647,7 +647,7 @@ class Attach $sql = 'INSERT INTO ' . BB_ATTACHMENTS . ' ' . DB()->build_array('INSERT', $sql_ary); if (!(DB()->sql_query($sql))) { - bb_die('Could not store Attachment.
Your ' . $message_type . ' has been stored'); + bb_die('Could not store Attachment.
Your ' . $message_type . ' has been stored'); } } } @@ -794,7 +794,7 @@ class Attach if (preg_match("#[\\/:*?\"<>|]#i", $this->filename)) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['INVALID_FILENAME'], htmlspecialchars($this->filename)); } @@ -803,7 +803,7 @@ class Attach if (!$error && $file === 'none') { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $ini_val = 'ini_get'; @@ -820,7 +820,7 @@ class Attach if (!$error && (int)$row['allow_group'] == 0) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['DISALLOWED_EXTENSION'], htmlspecialchars($this->extension)); } @@ -829,7 +829,7 @@ class Attach if (!$error && !IS_ADMIN && !is_forum_authed($auth_cache, $forum_id) && trim($auth_cache)) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['DISALLOWED_EXTENSION_WITHIN_FORUM'], htmlspecialchars($this->extension)); } @@ -840,7 +840,7 @@ class Attach if (!$error && $this->extension === TORRENT_EXT && in_array(TORRENT_EXT, $this->attachment_extension_list) && !$update_attachment) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= $lang['ONLY_1_TOR_PER_TOPIC']; } @@ -849,7 +849,7 @@ class Attach if (!$error && $this->extension === TORRENT_EXT && !$post_data['first_post']) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= $lang['ALLOWED_ONLY_1ST_POST_ATTACH']; } @@ -903,7 +903,7 @@ class Attach if ($width > (int)$attach_config['img_max_width'] || $height > (int)$attach_config['img_max_height']) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['ERROR_IMAGESIZE'], (int)$attach_config['img_max_width'], (int)$attach_config['img_max_height']); } @@ -916,7 +916,7 @@ class Attach $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['ATTACHMENT_TOO_BIG'], $allowed_filesize); } @@ -937,7 +937,7 @@ class Attach if (($total_filesize + $this->filesize) > $attach_config['attachment_quota']) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= $lang['ATTACH_QUOTA_REACHED']; } @@ -995,7 +995,7 @@ class Attach $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['USER_UPLOAD_QUOTA_REACHED'], $upload_filesize_limit, $size_lang); } @@ -1025,7 +1025,7 @@ class Attach if (!@move_uploaded_file($file, $upload_dir . '/' . basename($this->attach_filename))) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['GENERAL_UPLOAD_ERROR'], './' . $upload_dir . '/' . $this->attach_filename); return; @@ -1041,7 +1041,7 @@ class Attach if (!@copy($file, $upload_dir . '/' . basename($this->attach_filename))) { $error = true; if (!empty($error_msg)) { - $error_msg .= '
'; + $error_msg .= '
'; } $error_msg .= sprintf($lang['GENERAL_UPLOAD_ERROR'], './' . $upload_dir . '/' . $this->attach_filename); return; diff --git a/src/Legacy/BBCode.php b/src/Legacy/BBCode.php index 98df22726..c6937fe0b 100644 --- a/src/Legacy/BBCode.php +++ b/src/Legacy/BBCode.php @@ -361,8 +361,8 @@ class BBCode */ private function new_line2html(string $text): string { - $text = preg_replace('#\n{2,}#', '
', $text); - return str_replace("\n", '
', $text); + $text = preg_replace('#\n{2,}#', '
', $text); + return str_replace("\n", '
', $text); } /** diff --git a/src/Legacy/Post.php b/src/Legacy/Post.php index 06e6466f1..a95a61917 100644 --- a/src/Legacy/Post.php +++ b/src/Legacy/Post.php @@ -50,13 +50,13 @@ class Post if (!empty($subject)) { $subject = str_replace('&', '&', $subject); } elseif ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) { - $error_msg .= (!empty($error_msg)) ? '
' . $lang['EMPTY_SUBJECT'] : $lang['EMPTY_SUBJECT']; + $error_msg .= (!empty($error_msg)) ? '
' . $lang['EMPTY_SUBJECT'] : $lang['EMPTY_SUBJECT']; } // Check message if (!empty($message)) { } elseif ($mode != 'delete') { - $error_msg .= (!empty($error_msg)) ? '
' . $lang['EMPTY_MESSAGE'] : $lang['EMPTY_MESSAGE']; + $error_msg .= (!empty($error_msg)) ? '
' . $lang['EMPTY_MESSAGE'] : $lang['EMPTY_MESSAGE']; } // Check smilies limit @@ -64,12 +64,12 @@ class Post $count_smilies = substr_count(bbcode2html($message), '' . $this->explain_hold . '
' . Dev::shortQuery($dbg['sql'], true) . '  
-
'; +
'; break; case 'add_explain_row': @@ -964,7 +964,7 @@ class SqlDb $this->explain_hold .= ''; foreach (array_values($row) as $i => $val) { $class = !($i % 2) ? 'row1' : 'row2'; - $this->explain_hold .= '' . str_replace(["{$this->selected_db}.", ',', ';'], ['', ', ', ';
'], $val ?? '') . ''; + $this->explain_hold .= '' . str_replace(["{$this->selected_db}.", ',', ';'], ['', ', ', ';
'], $val ?? '') . ''; } $this->explain_hold .= ''; diff --git a/src/Legacy/Template.php b/src/Legacy/Template.php index 0fc2c4602..210da9ebd 100644 --- a/src/Legacy/Template.php +++ b/src/Legacy/Template.php @@ -204,7 +204,7 @@ class Template if ($quiet) { return false; } - die('Template->make_filename(): Error - template file not found:

' . hide_bb_path($this->files[$handle])); + die('Template->make_filename(): Error - template file not found:

' . hide_bb_path($this->files[$handle])); } // checking if we should recompile cache if (!empty($this->files_cache[$handle])) { diff --git a/src/Legacy/Torrent.php b/src/Legacy/Torrent.php index 65d571686..09f107271 100644 --- a/src/Legacy/Torrent.php +++ b/src/Legacy/Torrent.php @@ -333,7 +333,7 @@ class Torrent $filename = get_attachments_dir() . '/' . $torrent['physical_filename']; if (!is_file($filename)) { - self::torrent_error_exit($lang['ERROR_NO_ATTACHMENT'] . '

' . htmlCHR($filename)); + self::torrent_error_exit($lang['ERROR_NO_ATTACHMENT'] . '

' . htmlCHR($filename)); } $file_contents = file_get_contents($filename); @@ -673,7 +673,7 @@ class Torrent $dl_fname = html_entity_decode($topic_title, ENT_QUOTES, 'UTF-8') . ' [' . $bb_cfg['server_name'] . '-' . $topic_id . ']' . '.' . TORRENT_EXT; if (!empty($_COOKIE['explain'])) { - $out = "attach path: $filename

"; + $out = "attach path: $filename

"; $tor['info']['pieces'] = '[...] ' . strlen($tor['info']['pieces']) . ' bytes'; $out .= print_r($tor, true); bb_die("
$out
"); @@ -789,9 +789,9 @@ class Torrent if (isset($reg_mode) && ($reg_mode == 'request' || $reg_mode == 'newtopic')) { if (isset($return_message)) { - $msg .= $return_message . '



'; + $msg .= $return_message . '



'; } - $msg .= '' . $lang['BT_REG_FAIL'] . '

'; + $msg .= '' . $lang['BT_REG_FAIL'] . '

'; } bb_die($msg . $message); diff --git a/styles/js/main.js b/styles/js/main.js index eb1d25da2..23ddd83e2 100644 --- a/styles/js/main.js +++ b/styles/js/main.js @@ -441,7 +441,7 @@ $(document).ready(function () { status = ''; text = 'invalid data format'; } - $(this).html("Error in: " + ajax.url + "
" + status + " " + text + "").show(); + $(this).html("Error in: " + ajax.url + "
" + status + " " + text + "").show(); ajax.setStatusBoxPosition($(this)); }); diff --git a/styles/templates/admin/admin_attach_cp.tpl b/styles/templates/admin/admin_attach_cp.tpl index 1e7252cff..12133baa6 100644 --- a/styles/templates/admin/admin_attach_cp.tpl +++ b/styles/templates/admin/admin_attach_cp.tpl @@ -1,7 +1,7 @@

{L_CONTROL_PANEL_TITLE}

{L_CONTROL_PANEL_EXPLAIN}

-
+
@@ -237,4 +237,4 @@ -
+
diff --git a/styles/templates/admin/admin_attachments.tpl b/styles/templates/admin/admin_attachments.tpl index a0c0dac42..876dbfa63 100644 --- a/styles/templates/admin/admin_attachments.tpl +++ b/styles/templates/admin/admin_attachments.tpl @@ -4,33 +4,33 @@

{L_MANAGE_CATEGORIES}

{L_MANAGE_CATEGORIES_EXPLAIN}

-
+
- + - + - + - + - + - + @@ -48,7 +48,7 @@

{L_ATTACH_SETTINGS}

{L_MANAGE_ATTACHMENTS_EXPLAIN}

-
+
{L_SETTINGS_CAT_IMAGES}
{L_ASSIGNED_GROUP}: {S_ASSIGNED_GROUP_IMAGES}
{L_SETTINGS_CAT_IMAGES}
{L_ASSIGNED_GROUP}: {S_ASSIGNED_GROUP_IMAGES}
{L_DISPLAY_INLINED}
{L_DISPLAY_INLINED_EXPLAIN}
{L_DISPLAY_INLINED}
{L_DISPLAY_INLINED_EXPLAIN}
{L_YES}   {L_NO}
{L_IMAGE_CREATE_THUMBNAIL}
{L_IMAGE_CREATE_THUMBNAIL}
{L_YES}   {L_NO}
{L_IMAGE_MIN_THUMB_FILESIZE}
{L_IMAGE_MIN_THUMB_FILESIZE_EXPLAIN}
{L_IMAGE_MIN_THUMB_FILESIZE}
{L_IMAGE_MIN_THUMB_FILESIZE_EXPLAIN}
{L_BYTES}
{L_MAX_IMAGE_SIZE}
{L_MAX_IMAGE_SIZE_EXPLAIN}
{L_MAX_IMAGE_SIZE}
{L_MAX_IMAGE_SIZE_EXPLAIN}
x
{L_IMAGE_LINK_SIZE}
{L_IMAGE_LINK_SIZE_EXPLAIN}
{L_IMAGE_LINK_SIZE}
{L_IMAGE_LINK_SIZE_EXPLAIN}
x
@@ -147,7 +147,7 @@

{L_MANAGE_QUOTAS}

{L_MANAGE_QUOTAS_EXPLAIN}

-
+
diff --git a/styles/templates/admin/admin_board.tpl b/styles/templates/admin/admin_board.tpl index 5d5e88821..9d1e66934 100644 --- a/styles/templates/admin/admin_board.tpl +++ b/styles/templates/admin/admin_board.tpl @@ -2,11 +2,11 @@

{L_GENERAL_CONFIG}

{L_CONFIG_EXPLAIN}

-
+
{L_GENERAL_CONFIG} · {L_CONFIG_MODS} -

+

{S_HIDDEN_FIELDS} @@ -149,11 +149,11 @@

{L_CONFIG_MODS}

{L_MODS_EXPLAIN}

-
+
{L_GENERAL_CONFIG} · {L_CONFIG_MODS} -

+

{S_HIDDEN_FIELDS} @@ -318,7 +318,7 @@ @@ -328,7 +328,7 @@ @@ -361,7 +361,7 @@
{L_SEED_BONUS_ADD} -  {L_SEED_BONUS_RELEASE}
+  {L_SEED_BONUS_RELEASE}
 {L_SEED_BONUS_POINTS}  
{L_SEED_BONUS_ADD} -  {L_SEED_BONUS_RELEASE}
+  {L_SEED_BONUS_RELEASE}
 {L_SEED_BONUS_POINTS} @@ -351,7 +351,7 @@

{L_SEED_BONUS_ROPORTION}

-  {L_GB}
+  {L_GB}
 {L_PRICE}

{L_SEED_BONUS_ROPORTION}

-  {L_GB}
+  {L_GB}
 {L_PRICE} diff --git a/styles/templates/admin/admin_cron.tpl b/styles/templates/admin/admin_cron.tpl index 21fbf265f..8d5a083df 100644 --- a/styles/templates/admin/admin_cron.tpl +++ b/styles/templates/admin/admin_cron.tpl @@ -55,7 +55,7 @@ tr.hl-tr:hover td { background-color: #CFC !important; }
-
+
@@ -117,7 +117,7 @@ tr.hl-tr:hover td { background-color: #CFC !important; }
-
+
@@ -125,7 +125,7 @@ tr.hl-tr:hover td { background-color: #CFC !important; }

{L_CRON_EDIT_HEAD_EDIT}

{L_CRON_LIST} -

+

diff --git a/styles/templates/admin/admin_extensions.tpl b/styles/templates/admin/admin_extensions.tpl index 348919a31..18ec5e71d 100644 --- a/styles/templates/admin/admin_extensions.tpl +++ b/styles/templates/admin/admin_extensions.tpl @@ -4,7 +4,7 @@

{L_MANAGE_EXTENSIONS}

{L_MANAGE_EXTENSIONS_EXPLAIN}

-
+
@@ -62,7 +62,7 @@

{L_MANAGE_EXTENSION_GROUPS}

{L_MANAGE_EXTENSION_GROUPS_EXPLAIN}

-
+
@@ -160,7 +160,7 @@

{L_GROUP_PERMISSIONS_TITLE}

{L_GROUP_PERMISSIONS_EXPLAIN}

-
+
diff --git a/styles/templates/admin/admin_forum_prune.tpl b/styles/templates/admin/admin_forum_prune.tpl index 60afe25a9..34b5abf66 100644 --- a/styles/templates/admin/admin_forum_prune.tpl +++ b/styles/templates/admin/admin_forum_prune.tpl @@ -6,7 +6,7 @@

{L_FORUM}: {FORUM_NAME}

-
+
diff --git a/styles/templates/admin/admin_forumauth.tpl b/styles/templates/admin/admin_forumauth.tpl index 60a899f1b..fd20d85bb 100644 --- a/styles/templates/admin/admin_forumauth.tpl +++ b/styles/templates/admin/admin_forumauth.tpl @@ -1,12 +1,12 @@

{L_AUTH_CONTROL_FORUM}

{L_FORUM_AUTH_EXPLAIN}

-
+
-
+
{S_HIDDEN_FIELDS} @@ -25,7 +25,7 @@ -



+



diff --git a/styles/templates/admin/admin_forumauth_list.tpl b/styles/templates/admin/admin_forumauth_list.tpl index 3679a8e27..3c60e14bd 100644 --- a/styles/templates/admin/admin_forumauth_list.tpl +++ b/styles/templates/admin/admin_forumauth_list.tpl @@ -4,7 +4,7 @@

{L_AUTH_CONTROL_CATEGORY}

{L_FORUM_AUTH_LIST_EXPLAIN}

-
+
@@ -27,7 +27,7 @@
-
+
@@ -62,7 +62,7 @@ -
+
diff --git a/styles/templates/admin/admin_forums.tpl b/styles/templates/admin/admin_forums.tpl index 951ffbdf5..ff2c1e528 100644 --- a/styles/templates/admin/admin_forums.tpl +++ b/styles/templates/admin/admin_forums.tpl @@ -19,7 +19,7 @@ function toggle_cat_list (val)

{L_FORUM_TITLE}

{L_FORUM_EDIT_DELETE_EXPLAIN}

-
+
{S_HIDDEN_FIELDS} @@ -93,7 +93,7 @@ function toggle_cat_list (val)

{L_EDIT_CATEGORY}

{L_EDIT_CATEGORY_EXPLAIN}

-
+
{S_HIDDEN_FIELDS} @@ -123,7 +123,7 @@ function toggle_cat_list (val)

{DELETE_TITLE}

{L_FORUM_DELETE_EXPLAIN}

-
+
{S_HIDDEN_FIELDS} @@ -179,7 +179,7 @@ function hl (id, on)

{L_FORUM_TITLE} [{L_FORUMS_IN_CAT}: {FORUMS_COUNT}]

{L_FORUM_EDIT_DELETE_EXPLAIN}

-
+
@@ -234,9 +234,9 @@ function hl (id, on) -
+

{L_SHOW_ALL_FORUMS_ON_ONE_PAGE}

-
+
diff --git a/styles/templates/admin/admin_groups.tpl b/styles/templates/admin/admin_groups.tpl index 5707b6971..809b59124 100644 --- a/styles/templates/admin/admin_groups.tpl +++ b/styles/templates/admin/admin_groups.tpl @@ -80,7 +80,7 @@

{L_GROUP_ADMIN_EXPLAIN}

-

+

{S_HIDDEN_FIELDS} @@ -102,7 +102,7 @@
-



+



diff --git a/styles/templates/admin/admin_ranks.tpl b/styles/templates/admin/admin_ranks.tpl index ff7139cb1..cf303ea96 100644 --- a/styles/templates/admin/admin_ranks.tpl +++ b/styles/templates/admin/admin_ranks.tpl @@ -4,7 +4,7 @@

{L_RANKS_TITLE}

{L_RANKS_EXPLAIN}

-
+
{S_HIDDEN_FIELDS} @@ -22,7 +22,7 @@ -

{L_STYLE_COLOR}


+

{L_STYLE_COLOR}


{L_STYLE_COLOR_FAQ}
@@ -30,11 +30,11 @@ -

{L_RANK_IMAGE}:


+

{L_RANK_IMAGE}:


{L_RANK_IMAGE_EXPLAIN}
-

+

{IMAGE_DISPLAY} @@ -57,7 +57,7 @@

{L_RANKS_TITLE}

{L_RANKS_EXPLAIN}

-
+
diff --git a/styles/templates/admin/admin_rebuild_search.tpl b/styles/templates/admin/admin_rebuild_search.tpl index 1a68d8c87..7257e41bd 100644 --- a/styles/templates/admin/admin_rebuild_search.tpl +++ b/styles/templates/admin/admin_rebuild_search.tpl @@ -43,7 +43,7 @@ function swap_values()

{L_REBUILD_SEARCH_DESC}

-
+
{S_HIDDEN_FIELDS} diff --git a/styles/templates/admin/admin_sitemap.tpl b/styles/templates/admin/admin_sitemap.tpl index 20057462f..eb828d195 100644 --- a/styles/templates/admin/admin_sitemap.tpl +++ b/styles/templates/admin/admin_sitemap.tpl @@ -85,7 +85,7 @@ ajax.callback.sitemap = function(data) { {L_SITEMAP_OPTIONS}: {L_SITEMAP_CREATE}   - {L_SITEMAP_NOTIFY}
+ {L_SITEMAP_NOTIFY}
@@ -110,7 +110,7 @@ ajax.callback.sitemap = function(data) { {L_SITEMAP_ADD_PAGE}: -
+

{L_SITEMAP_ADD_EXP_1}

{L_SITEMAP_ADD_EXP_2}

diff --git a/styles/templates/admin/admin_smilies.tpl b/styles/templates/admin/admin_smilies.tpl index d01f4d292..f6a137a7c 100644 --- a/styles/templates/admin/admin_smilies.tpl +++ b/styles/templates/admin/admin_smilies.tpl @@ -4,7 +4,7 @@

{L_SMILEY_TITLE}

{L_SMILE_DESC}

-
+
{S_HIDDEN_FIELDS} @@ -41,7 +41,7 @@

{L_SMILEY_TITLE}

{L_SMILEY_IMPORT_INST}

-
+