This commit is contained in:
Roman Kelesidis 2024-12-14 15:27:09 +07:00
commit af83788c22
76 changed files with 353 additions and 353 deletions

View file

@ -436,7 +436,7 @@ if ($view === 'attachments') {
} }
} }
$post_titles = implode('<br />', $post_titles); $post_titles = implode('<br/>', $post_titles);
$hidden_field = '<input type="hidden" name="attach_id_list[]" value="' . (int)$attachments[$i]['attach_id'] . '" />'; $hidden_field = '<input type="hidden" name="attach_id_list[]" value="' . (int)$attachments[$i]['attach_id'] . '" />';

View file

@ -159,18 +159,18 @@ if ($check_upload) {
// Does the target directory exist, is it a directory and writeable // Does the target directory exist, is it a directory and writeable
if (!@file_exists(realpath($upload_dir))) { if (!@file_exists(realpath($upload_dir))) {
$error = true; $error = true;
$error_msg = sprintf($lang['DIRECTORY_DOES_NOT_EXIST'], $attach_config['upload_dir']) . '<br />'; $error_msg = sprintf($lang['DIRECTORY_DOES_NOT_EXIST'], $attach_config['upload_dir']) . '<br/>';
} }
if (!$error && !is_dir($upload_dir)) { if (!$error && !is_dir($upload_dir)) {
$error = true; $error = true;
$error_msg = sprintf($lang['DIRECTORY_IS_NOT_A_DIR'], $attach_config['upload_dir']) . '<br />'; $error_msg = sprintf($lang['DIRECTORY_IS_NOT_A_DIR'], $attach_config['upload_dir']) . '<br/>';
} }
if (!$error) { if (!$error) {
if (!($fp = @fopen($upload_dir . '/0_000000.000', 'wb+'))) { if (!($fp = @fopen($upload_dir . '/0_000000.000', 'wb+'))) {
$error = true; $error = true;
$error_msg = sprintf($lang['DIRECTORY_NOT_WRITEABLE'], $attach_config['upload_dir']) . '<br />'; $error_msg = sprintf($lang['DIRECTORY_NOT_WRITEABLE'], $attach_config['upload_dir']) . '<br/>';
} else { } else {
@fclose($fp); @fclose($fp);
unlink_attach($upload_dir . '/0_000000.000'); unlink_attach($upload_dir . '/0_000000.000');
@ -178,14 +178,14 @@ if ($check_upload) {
} }
if (!$error) { if (!$error) {
bb_die($lang['TEST_SETTINGS_SUCCESSFUL'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=manage">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['TEST_SETTINGS_SUCCESSFUL'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=manage">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
} }
// Management // Management
if ($submit && $mode == 'manage') { if ($submit && $mode == 'manage') {
if (!$error) { if (!$error) {
bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=manage">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=manage">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
} }
@ -218,7 +218,7 @@ if ($mode == 'manage') {
if ($submit && $mode == 'cats') { if ($submit && $mode == 'cats') {
if (!$error) { if (!$error) {
bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=cats">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=cats">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
} }
@ -308,19 +308,19 @@ if ($check_image_cat) {
if (!@file_exists(realpath($upload_dir))) { if (!@file_exists(realpath($upload_dir))) {
$error = true; $error = true;
$error_msg = sprintf($lang['DIRECTORY_DOES_NOT_EXIST'], $upload_dir) . '<br />'; $error_msg = sprintf($lang['DIRECTORY_DOES_NOT_EXIST'], $upload_dir) . '<br/>';
} }
} }
if (!$error && !is_dir($upload_dir)) { if (!$error && !is_dir($upload_dir)) {
$error = true; $error = true;
$error_msg = sprintf($lang['DIRECTORY_IS_NOT_A_DIR'], $upload_dir) . '<br />'; $error_msg = sprintf($lang['DIRECTORY_IS_NOT_A_DIR'], $upload_dir) . '<br/>';
} }
if (!$error) { if (!$error) {
if (!($fp = @fopen($upload_dir . '/0_000000.000', 'wb+'))) { if (!($fp = @fopen($upload_dir . '/0_000000.000', 'wb+'))) {
$error = true; $error = true;
$error_msg = sprintf($lang['DIRECTORY_NOT_WRITEABLE'], $upload_dir) . '<br />'; $error_msg = sprintf($lang['DIRECTORY_NOT_WRITEABLE'], $upload_dir) . '<br/>';
} else { } else {
@fclose($fp); @fclose($fp);
@unlink($upload_dir . '/0_000000.000'); @unlink($upload_dir . '/0_000000.000');
@ -328,7 +328,7 @@ if ($check_image_cat) {
} }
if (!$error) { if (!$error) {
bb_die($lang['TEST_SETTINGS_SUCCESSFUL'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=cats">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['TEST_SETTINGS_SUCCESSFUL'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=cats">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
} }
@ -397,7 +397,7 @@ if ($submit && $mode == 'quota') {
if ($row[$i]['quota_desc'] == $quota_desc) { if ($row[$i]['quota_desc'] == $quota_desc) {
$error = true; $error = true;
if (isset($error_msg)) { if (isset($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['QUOTA_LIMIT_EXIST'], $extension_group); $error_msg .= sprintf($lang['QUOTA_LIMIT_EXIST'], $extension_group);
} }
@ -417,7 +417,7 @@ if ($submit && $mode == 'quota') {
} }
if (!$error) { if (!$error) {
bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=quota">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_attachments.php?mode=quota">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
} }

View file

@ -18,9 +18,9 @@ require __DIR__ . '/pagestart.php';
$mode = $_GET['mode'] ?? ''; $mode = $_GET['mode'] ?? '';
$return_links = [ $return_links = [
'index' => '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'), 'index' => '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'),
'config' => '<br /><br />' . sprintf($lang['CLICK_RETURN_CONFIG'], '<a href="admin_board.php?mode=config">', '</a>'), 'config' => '<br/><br/>' . sprintf($lang['CLICK_RETURN_CONFIG'], '<a href="admin_board.php?mode=config">', '</a>'),
'config_mods' => '<br /><br />' . sprintf($lang['CLICK_RETURN_CONFIG_MODS'], '<a href="admin_board.php?mode=config_mods">', '</a>') 'config_mods' => '<br/><br/>' . sprintf($lang['CLICK_RETURN_CONFIG_MODS'], '<a href="admin_board.php?mode=config_mods">', '</a>')
]; ];
/** /**

View file

@ -86,7 +86,7 @@ if ($submit && $confirm) {
$datastore->update('cat_forums'); $datastore->update('cat_forums');
bb_die($lang['CONFIG_UPD'] . '<br /><br />' . sprintf($lang['RETURN_CONFIG'], '<a href="admin_bt_forum_cfg.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['CONFIG_UPD'] . '<br/><br/>' . sprintf($lang['RETURN_CONFIG'], '<a href="admin_bt_forum_cfg.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
// Set template vars // Set template vars

View file

@ -183,7 +183,7 @@ switch ($mode) {
case 'delete': case 'delete':
\TorrentPier\Legacy\Admin\Cron::delete_jobs($job_id); \TorrentPier\Legacy\Admin\Cron::delete_jobs($job_id);
bb_die($lang['JOB_REMOVED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_JOBS'], '<a href="admin_cron.php?mode=list">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['JOB_REMOVED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_JOBS'], '<a href="admin_cron.php?mode=list">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
break; break;
} }

View file

@ -33,7 +33,7 @@ if (isset($_POST['add_name'])) {
$message = $lang['DISALLOW_SUCCESSFUL']; $message = $lang['DISALLOW_SUCCESSFUL'];
} }
$message .= '<br /><br />' . sprintf($lang['CLICK_RETURN_DISALLOWADMIN'], '<a href="admin_disallow.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= '<br/><br/>' . sprintf($lang['CLICK_RETURN_DISALLOWADMIN'], '<a href="admin_disallow.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
} elseif (isset($_POST['delete_name'])) { } elseif (isset($_POST['delete_name'])) {
@ -46,7 +46,7 @@ if (isset($_POST['add_name'])) {
bb_die('Could not removed disallowed user'); bb_die('Could not removed disallowed user');
} }
$message .= $lang['DISALLOWED_DELETED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_DISALLOWADMIN'], '<a href="admin_disallow.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= $lang['DISALLOWED_DELETED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_DISALLOWADMIN'], '<a href="admin_disallow.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
} }

View file

@ -150,7 +150,7 @@ if ($submit && $mode == 'extensions') {
if (strtolower(trim($row[$i]['extension'])) == strtolower(trim($extension))) { if (strtolower(trim($row[$i]['extension'])) == strtolower(trim($extension))) {
$error = true; $error = true;
if (isset($error_msg)) { if (isset($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['EXTENSION_EXIST'], strtolower(trim($extension))); $error_msg .= sprintf($lang['EXTENSION_EXIST'], strtolower(trim($extension)));
} }
@ -174,7 +174,7 @@ if ($submit && $mode == 'extensions') {
} }
if (!$error) { if (!$error) {
bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_extensions.php?mode=extensions">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_extensions.php?mode=extensions">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
} }
@ -325,7 +325,7 @@ if ($submit && $mode == 'groups') {
if ($row[$i]['group_name'] == $extension_group) { if ($row[$i]['group_name'] == $extension_group) {
$error = true; $error = true;
if (isset($error_msg)) { if (isset($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['EXTENSION_GROUP_EXIST'], $extension_group); $error_msg .= sprintf($lang['EXTENSION_GROUP_EXIST'], $extension_group);
} }
@ -354,7 +354,7 @@ if ($submit && $mode == 'groups') {
} }
if (!$error) { if (!$error) {
bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_extensions.php?mode=groups">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['ATTACH_CONFIG_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ATTACH_CONFIG'], '<a href="admin_extensions.php?mode=groups">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
} }
@ -662,7 +662,7 @@ if ($e_mode == 'perm' && $group) {
$message = ''; $message = '';
foreach ($empty_perm_forums as $forum_id => $forum_name) { foreach ($empty_perm_forums as $forum_id => $forum_name) {
$message .= ($message == '') ? $forum_name : '<br />' . $forum_name; $message .= ($message == '') ? $forum_name : '<br/>' . $forum_name;
} }
if (count($empty_perm_forums) > 0) { if (count($empty_perm_forums) > 0) {

View file

@ -123,7 +123,7 @@ if ($submit) {
} }
$datastore->update('cat_forums'); $datastore->update('cat_forums');
bb_die($lang['FORUM_AUTH_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_FORUMAUTH'], '<a href="' . 'admin_forumauth.php' . '">', '</a>')); bb_die($lang['FORUM_AUTH_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_FORUMAUTH'], '<a href="' . 'admin_forumauth.php' . '">', '</a>'));
} }
/** /**

View file

@ -153,7 +153,7 @@ if ($submit) {
} }
$datastore->update('cat_forums'); $datastore->update('cat_forums');
bb_die($lang['FORUM_AUTH_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_FORUMAUTH'], '<a href="admin_forumauth_list.php">', '</a>')); bb_die($lang['FORUM_AUTH_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_FORUMAUTH'], '<a href="admin_forumauth_list.php">', '</a>'));
} // End of submit } // End of submit
// //

View file

@ -223,7 +223,7 @@ if ($mode) {
$datastore->update('cat_forums'); $datastore->update('cat_forums');
CACHE('bb_cache')->rm(); CACHE('bb_cache')->rm();
bb_die($lang['FORUMS_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php?' . POST_CAT_URL . '=' . $cat_id . '">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['FORUMS_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php?' . POST_CAT_URL . '=' . $cat_id . '">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
break; break;
@ -310,9 +310,9 @@ if ($mode) {
$datastore->update('cat_forums'); $datastore->update('cat_forums');
CACHE('bb_cache')->rm(); CACHE('bb_cache')->rm();
$message = $lang['FORUMS_UPDATED'] . '<br /><br />'; $message = $lang['FORUMS_UPDATED'] . '<br/><br/>';
$message .= $fix ? "$fix<br /><br />" : ''; $message .= $fix ? "$fix<br/><br/>" : '';
$message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php?' . POST_CAT_URL . '=' . $cat_id . '">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php?' . POST_CAT_URL . '=' . $cat_id . '">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
break; break;
@ -339,7 +339,7 @@ if ($mode) {
$datastore->update('cat_forums'); $datastore->update('cat_forums');
CACHE('bb_cache')->rm(); CACHE('bb_cache')->rm();
bb_die($lang['FORUMS_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['FORUMS_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
break; break;
@ -393,7 +393,7 @@ if ($mode) {
$datastore->update('cat_forums'); $datastore->update('cat_forums');
CACHE('bb_cache')->rm(); CACHE('bb_cache')->rm();
bb_die($lang['FORUMS_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['FORUMS_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
break; break;
@ -480,7 +480,7 @@ if ($mode) {
$datastore->update('cat_forums'); $datastore->update('cat_forums');
CACHE('bb_cache')->rm(); CACHE('bb_cache')->rm();
bb_die($lang['FORUMS_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['FORUMS_UPDATED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
break; break;
@ -550,9 +550,9 @@ if ($mode) {
$datastore->update('cat_forums'); $datastore->update('cat_forums');
CACHE('bb_cache')->rm(); CACHE('bb_cache')->rm();
$message = $lang['FORUMS_UPDATED'] . '<br /><br />'; $message = $lang['FORUMS_UPDATED'] . '<br/><br/>';
$message .= $fix ? "$fix<br /><br />" : ''; $message .= $fix ? "$fix<br/><br/>" : '';
$message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
break; break;
@ -1072,8 +1072,8 @@ function fix_orphan_sf($orphan_sf_sql = '', $show_mess = false)
} }
if ($show_mess) { if ($show_mess) {
$message = $done_mess . '<br /><br />'; $message = $done_mess . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br /><br />'; $message .= sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
} }

View file

@ -78,8 +78,8 @@ if (!empty($_POST['edit']) || !empty($_POST['new'])) {
// Delete Group // Delete Group
\TorrentPier\Legacy\Group::delete_group($group_id); \TorrentPier\Legacy\Group::delete_group($group_id);
$message = $lang['DELETED_GROUP'] . '<br /><br />'; $message = $lang['DELETED_GROUP'] . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '<a href="admin_groups.php">', '</a>') . '<br /><br />'; $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '<a href="admin_groups.php">', '</a>') . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
@ -131,8 +131,8 @@ if (!empty($_POST['edit']) || !empty($_POST['new'])) {
// Update group's data // Update group's data
DB()->query('UPDATE ' . BB_GROUPS . " SET $sql_args WHERE group_id = $group_id"); DB()->query('UPDATE ' . BB_GROUPS . " SET $sql_args WHERE group_id = $group_id");
$message = $lang['UPDATED_GROUP'] . '<br /><br />'; $message = $lang['UPDATED_GROUP'] . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '<a href="admin_groups.php">', '</a>') . '<br /><br />'; $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '<a href="admin_groups.php">', '</a>') . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
@ -147,8 +147,8 @@ if (!empty($_POST['edit']) || !empty($_POST['new'])) {
// Create user_group for group's moderator // Create user_group for group's moderator
\TorrentPier\Legacy\Group::add_user_into_group($new_group_id, $group_moderator); \TorrentPier\Legacy\Group::add_user_into_group($new_group_id, $group_moderator);
$message = $lang['ADDED_NEW_GROUP'] . '<br /><br />'; $message = $lang['ADDED_NEW_GROUP'] . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '<a href="admin_groups.php">', '</a>') . '<br /><br />'; $message .= sprintf($lang['CLICK_RETURN_GROUPSADMIN'], '<a href="admin_groups.php">', '</a>') . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);

View file

@ -101,7 +101,7 @@ $template->assign_vars([
'SUBJECT' => $subject, 'SUBJECT' => $subject,
'REPLY_TO' => $reply_to, 'REPLY_TO' => $reply_to,
'ERROR_MESSAGE' => $errors ? implode('<br />', array_unique($errors)) : '', 'ERROR_MESSAGE' => $errors ? implode('<br/>', array_unique($errors)) : '',
'S_USER_ACTION' => 'admin_mass_email.php', 'S_USER_ACTION' => 'admin_mass_email.php',
'S_GROUP_SELECT' => build_select(POST_GROUPS_URL, $groups) 'S_GROUP_SELECT' => build_select(POST_GROUPS_URL, $groups)

View file

@ -113,7 +113,7 @@ if ($mode != '') {
bb_die('Could not update / insert into ranks table'); bb_die('Could not update / insert into ranks table');
} }
$message .= '<br /><br />' . sprintf($lang['CLICK_RETURN_RANKADMIN'], '<a href="admin_ranks.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= '<br/><br/>' . sprintf($lang['CLICK_RETURN_RANKADMIN'], '<a href="admin_ranks.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
$datastore->update('ranks'); $datastore->update('ranks');
@ -143,7 +143,7 @@ if ($mode != '') {
$datastore->update('ranks'); $datastore->update('ranks');
bb_die($lang['RANK_REMOVED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_RANKADMIN'], '<a href="admin_ranks.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['RANK_REMOVED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_RANKADMIN'], '<a href="admin_ranks.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} else { } else {
bb_die($lang['MUST_SELECT_RANK']); bb_die($lang['MUST_SELECT_RANK']);
} }

View file

@ -51,7 +51,7 @@ if (isset($_REQUEST['cancel_button'])) {
"); ");
} }
bb_die(sprintf($lang['REBUILD_SEARCH_ABORTED'], $last_session_data['end_post_id']) . '<br /><br />' . sprintf($lang['CLICK_RETURN_REBUILD_SEARCH'], '<a href="admin_rebuild_search.php">', '</a>')); bb_die(sprintf($lang['REBUILD_SEARCH_ABORTED'], $last_session_data['end_post_id']) . '<br/><br/>' . sprintf($lang['CLICK_RETURN_REBUILD_SEARCH'], '<a href="admin_rebuild_search.php">', '</a>'));
} }
// from which post to start processing // from which post to start processing
@ -105,7 +105,7 @@ if (isset($_REQUEST['time_limit'])) {
if (isset($_SERVER['HTTP_KEEP_ALIVE'])) { if (isset($_SERVER['HTTP_KEEP_ALIVE'])) {
// get webserver timeout // get webserver timeout
$webserver_timeout = (int)$_SERVER['HTTP_KEEP_ALIVE']; $webserver_timeout = (int)$_SERVER['HTTP_KEEP_ALIVE'];
$time_limit_explain .= '<br />' . sprintf($lang['TIME_LIMIT_EXPLAIN_WEBSERVER'], $webserver_timeout); $time_limit_explain .= '<br/>' . sprintf($lang['TIME_LIMIT_EXPLAIN_WEBSERVER'], $webserver_timeout);
if ($time_limit > $webserver_timeout) { if ($time_limit > $webserver_timeout) {
$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 // check if the user gave wrong input
if ($mode == 'submit') { if ($mode == 'submit') {
if (($session_posts_processing || $post_limit || $refresh_rate || $time_limit) <= 0) { if (($session_posts_processing || $post_limit || $refresh_rate || $time_limit) <= 0) {
bb_die($lang['WRONG_INPUT'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_REBUILD_SEARCH'], '<a href="admin_rebuild_search.php">', '</a>')); bb_die($lang['WRONG_INPUT'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_REBUILD_SEARCH'], '<a href="admin_rebuild_search.php">', '</a>'));
} }
} }
@ -275,7 +275,7 @@ if ($mode == 'submit' || $mode == 'refresh') {
DB()->query("OPTIMIZE TABLE $table"); DB()->query("OPTIMIZE TABLE $table");
} }
$processing_messages .= '<br />' . $lang['ALL_TABLES_OPTIMIZED']; $processing_messages .= '<br/>' . $lang['ALL_TABLES_OPTIMIZED'];
} }
// calculate the percent // 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); $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 // check if the interrupted cycle has finished
if (TIMENOW - $last_session_data['end_time'] < $last_session_data['last_cycle_time']) { if (TIMENOW - $last_session_data['end_time'] < $last_session_data['last_cycle_time']) {
$last_saved_processing .= '<br />' . $lang['INFO_PROCESSING_ABORTED_SOON']; $last_saved_processing .= '<br/>' . $lang['INFO_PROCESSING_ABORTED_SOON'];
} }
$clear_search_disabled = 'disabled'; $clear_search_disabled = 'disabled';

View file

@ -107,7 +107,7 @@ if (isset($_GET['import_pack']) || isset($_POST['import_pack'])) {
} }
} }
bb_die($lang['SMILEY_IMPORT_SUCCESS'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['SMILEY_IMPORT_SUCCESS'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} else { } else {
// Display the script to get the smile_pak cfg file // Display the script to get the smile_pak cfg file
$smile_paks_select = '<select name="smile_pak"><option value="">' . $lang['SELECT_PAK'] . '</option>'; $smile_paks_select = '<select name="smile_pak"><option value="">' . $lang['SELECT_PAK'] . '</option>';
@ -154,7 +154,7 @@ if (isset($_GET['import_pack']) || isset($_POST['import_pack'])) {
exit; exit;
} }
bb_die(sprintf($lang['EXPORT_SMILES'], '<a href="admin_smilies.php?export_pack=send">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die(sprintf($lang['EXPORT_SMILES'], '<a href="admin_smilies.php?export_pack=send">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} elseif (isset($_POST['add']) || isset($_GET['add'])) { } elseif (isset($_POST['add']) || isset($_GET['add'])) {
$filename_list = ''; $filename_list = '';
for ($i = 0, $iMax = count($smiley_images); $i < $iMax; $i++) { for ($i = 0, $iMax = count($smiley_images); $i < $iMax; $i++) {
@ -184,7 +184,7 @@ if (isset($_GET['import_pack']) || isset($_POST['import_pack'])) {
} }
$datastore->update('smile_replacements'); $datastore->update('smile_replacements');
bb_die($lang['SMILEY_DEL_SUCCESS'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['SMILEY_DEL_SUCCESS'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
break; break;
case 'edit': case 'edit':
@ -248,7 +248,7 @@ if (isset($_GET['import_pack']) || isset($_POST['import_pack'])) {
} }
$datastore->update('smile_replacements'); $datastore->update('smile_replacements');
bb_die($lang['SMILEY_EDIT_SUCCESS'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['SMILEY_EDIT_SUCCESS'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
break; break;
case 'savenew': case 'savenew':
@ -277,7 +277,7 @@ if (isset($_GET['import_pack']) || isset($_POST['import_pack'])) {
} }
$datastore->update('smile_replacements'); $datastore->update('smile_replacements');
bb_die($lang['SMILEY_ADD_SUCCESS'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['SMILEY_ADD_SUCCESS'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_SMILEADMIN'], '<a href="admin_smilies.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
break; break;
} }
} else { } else {

View file

@ -86,8 +86,8 @@ if ($submit && $mode == 'user') {
// Delete any entries in auth_access, they are not required if user is becoming an admin // Delete any entries in auth_access, they are not required if user is becoming an admin
\TorrentPier\Legacy\Group::delete_permissions($group_id, $user_id); \TorrentPier\Legacy\Group::delete_permissions($group_id, $user_id);
$message = $lang['AUTH_UPDATED'] . '<br /><br />'; $message = $lang['AUTH_UPDATED'] . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_USERAUTH'], '<a href="admin_ug_auth.php?mode=' . $mode . '&' . POST_USERS_URL . '=' . $user_id . '">', '</a>') . '<br /><br />'; $message .= sprintf($lang['CLICK_RETURN_USERAUTH'], '<a href="admin_ug_auth.php?mode=' . $mode . '&' . POST_USERS_URL . '=' . $user_id . '">', '</a>') . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
@ -102,8 +102,8 @@ if ($submit && $mode == 'user') {
\TorrentPier\Legacy\Group::delete_permissions($group_id, $user_id); \TorrentPier\Legacy\Group::delete_permissions($group_id, $user_id);
$message = $lang['AUTH_UPDATED'] . '<br /><br />'; $message = $lang['AUTH_UPDATED'] . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_USERAUTH'], '<a href="admin_ug_auth.php?mode=' . $mode . '&' . POST_USERS_URL . '=' . $user_id . '">', '</a>') . '<br /><br />'; $message .= sprintf($lang['CLICK_RETURN_USERAUTH'], '<a href="admin_ug_auth.php?mode=' . $mode . '&' . POST_USERS_URL . '=' . $user_id . '">', '</a>') . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
@ -130,8 +130,8 @@ if ($submit && $mode == 'user') {
\TorrentPier\Legacy\Group::update_user_level($user_id); \TorrentPier\Legacy\Group::update_user_level($user_id);
$l_auth_return = ($mode == 'user') ? $lang['CLICK_RETURN_USERAUTH'] : $lang['CLICK_RETURN_GROUPAUTH']; $l_auth_return = ($mode == 'user') ? $lang['CLICK_RETURN_USERAUTH'] : $lang['CLICK_RETURN_GROUPAUTH'];
$message = $lang['AUTH_UPDATED'] . '<br /><br />'; $message = $lang['AUTH_UPDATED'] . '<br/><br/>';
$message .= sprintf($l_auth_return, '<a href="admin_ug_auth.php?mode=' . $mode . '&' . POST_USERS_URL . '=' . $user_id . '">', '</a>') . '<br /><br />'; $message .= sprintf($l_auth_return, '<a href="admin_ug_auth.php?mode=' . $mode . '&' . POST_USERS_URL . '=' . $user_id . '">', '</a>') . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
@ -158,8 +158,8 @@ elseif ($submit && $mode == 'group' && (!empty($_POST['auth']) && is_array($_POS
\TorrentPier\Legacy\Group::update_user_level('all'); \TorrentPier\Legacy\Group::update_user_level('all');
$l_auth_return = $lang['CLICK_RETURN_GROUPAUTH']; $l_auth_return = $lang['CLICK_RETURN_GROUPAUTH'];
$message = $lang['AUTH_UPDATED'] . '<br /><br />'; $message = $lang['AUTH_UPDATED'] . '<br/><br/>';
$message .= sprintf($l_auth_return, '<a href="admin_ug_auth.php?mode=' . $mode . '&' . POST_GROUPS_URL . '=' . $group_id . '">', '</a>') . '<br /><br />'; $message .= sprintf($l_auth_return, '<a href="admin_ug_auth.php?mode=' . $mode . '&' . POST_GROUPS_URL . '=' . $group_id . '">', '</a>') . '<br/><br/>';
$message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
@ -255,7 +255,7 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id)) {
foreach ($forum_auth_fields as $auth_type) { foreach ($forum_auth_fields as $auth_type) {
$template->assign_block_vars('acltype', array( $template->assign_block_vars('acltype', array(
'ACL_TYPE_NAME' => preg_replace('#(.{5})#u', "\\1<br />", $lang[strtoupper($auth_type)]), 'ACL_TYPE_NAME' => preg_replace('#(.{5})#u', "\\1<br/>", $lang[strtoupper($auth_type)]),
'ACL_TYPE_BF' => $bf['forum_perm'][$auth_type], 'ACL_TYPE_BF' => $bf['forum_perm'][$auth_type],
)); ));
$s_column_span++; $s_column_span++;
@ -370,7 +370,7 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id)) {
foreach ($forum_auth_fields as $auth_type) { foreach ($forum_auth_fields as $auth_type) {
$template->assign_block_vars('acltype', array( $template->assign_block_vars('acltype', array(
'ACL_TYPE_NAME' => preg_replace('#(.{5})#u', "\\1<br />", $lang[strtoupper($auth_type)]), 'ACL_TYPE_NAME' => preg_replace('#(.{5})#u', "\\1<br/>", $lang[strtoupper($auth_type)]),
'ACL_TYPE_BF' => $bf['forum_perm'][$auth_type], 'ACL_TYPE_BF' => $bf['forum_perm'][$auth_type],
)); ));
$s_column_span++; $s_column_span++;

View file

@ -25,7 +25,7 @@ if ($submit) {
// Ban action // Ban action
if (!empty($_POST['username'])) { if (!empty($_POST['username'])) {
if (!$this_userdata = get_userdata($_POST['username'], true)) { if (!$this_userdata = get_userdata($_POST['username'], true)) {
bb_die($lang['NO_USER_ID_SPECIFIED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_BANADMIN'], '<a href="admin_user_ban.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['NO_USER_ID_SPECIFIED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_BANADMIN'], '<a href="admin_user_ban.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} }
if (!getBanInfo((int)$this_userdata['user_id'])) { if (!getBanInfo((int)$this_userdata['user_id'])) {
@ -57,7 +57,7 @@ if ($submit) {
} }
$datastore->update('ban_list'); $datastore->update('ban_list');
bb_die($lang['BAN_UPDATE_SUCESSFUL'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_BANADMIN'], '<a href="admin_user_ban.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['BAN_UPDATE_SUCESSFUL'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_BANADMIN'], '<a href="admin_user_ban.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} else { } else {
$template->assign_vars(['S_BANLIST_ACTION' => 'admin_user_ban.php']); $template->assign_vars(['S_BANLIST_ACTION' => 'admin_user_ban.php']);

View file

@ -15,7 +15,7 @@ if (!empty($setmodules)) {
require __DIR__ . '/pagestart.php'; require __DIR__ . '/pagestart.php';
if (!$bb_cfg['use_word_censor']) { if (!$bb_cfg['use_word_censor']) {
bb_die('Word censor disabled <br /><br /> ($bb_cfg[\'use_word_censor\'] in config.php)'); bb_die('Word censor disabled <br/><br/> ($bb_cfg[\'use_word_censor\'] in config.php)');
} }
$mode = request_var('mode', ''); $mode = request_var('mode', '');
@ -81,7 +81,7 @@ if ($mode != '') {
} }
$datastore->update('censor'); $datastore->update('censor');
$message .= '<br /><br />' . sprintf($lang['CLICK_RETURN_WORDADMIN'], '<a href="admin_words.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'); $message .= '<br/><br/>' . sprintf($lang['CLICK_RETURN_WORDADMIN'], '<a href="admin_words.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>');
bb_die($message); bb_die($message);
} elseif ($mode == 'delete') { } elseif ($mode == 'delete') {
@ -96,7 +96,7 @@ if ($mode != '') {
$datastore->update('censor'); $datastore->update('censor');
bb_die($lang['WORD_REMOVED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_WORDADMIN'], '<a href="admin_words.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>')); bb_die($lang['WORD_REMOVED'] . '<br/><br/>' . sprintf($lang['CLICK_RETURN_WORDADMIN'], '<a href="admin_words.php">', '</a>') . '<br/><br/>' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
} else { } else {
bb_die($lang['NO_WORD_SELECTED']); bb_die($lang['NO_WORD_SELECTED']);
} }

View file

@ -28,7 +28,7 @@ $sql[] = 'SELECT count(distinct(poster_id)) FROM `' . BB_BT_TORRENTS . '`';
$sql[] = 'SELECT count(distinct(poster_id)) FROM `' . BB_BT_TORRENTS . '` WHERE reg_time >= UNIX_TIMESTAMP()-2592000'; $sql[] = 'SELECT count(distinct(poster_id)) FROM `' . BB_BT_TORRENTS . '` WHERE reg_time >= UNIX_TIMESTAMP()-2592000';
echo '<html><body><head></head>'; echo '<html><body><head></head>';
echo '<br /><br /><table border="1" cellspacing="0" cellpadding="6" align="center">'; echo '<br/><br/><table border="1" cellspacing="0" cellpadding="6" align="center">';
foreach ($sql as $i => $query) { foreach ($sql as $i => $query) {
$row = mysqli_fetch_row(DB()->query($query))[0]; $row = mysqli_fetch_row(DB()->query($query))[0];

View file

@ -133,7 +133,7 @@ function commify_ob($contents)
ob_start('commify_ob'); ob_start('commify_ob');
echo '<html><body><head></head>'; echo '<html><body><head></head>';
echo '<br /><br /><table border="1" cellspacing="0" cellpadding="6" align="center"><col width="40%"><col width="60%">'; echo '<br/><br/><table border="1" cellspacing="0" cellpadding="6" align="center"><col width="40%"><col width="60%">';
echo "\n<tr><td align=center> users: bb-all / bt-all / bt-active </td><td align=center> $stat[u_bb_all] / $stat[u_bt_all] / <b>$stat[u_bt_active]</b> </td></tr>\n"; echo "\n<tr><td align=center> users: bb-all / bt-all / bt-active </td><td align=center> $stat[u_bb_all] / $stat[u_bt_all] / <b>$stat[u_bt_active]</b> </td></tr>\n";
echo "\n echo "\n
@ -157,7 +157,7 @@ echo "\n
echo "\n<tr><td align=center> peers: in last " . implode(' / ', $peers_in_last_minutes) . " min</td>\n"; echo "\n<tr><td align=center> peers: in last " . implode(' / ', $peers_in_last_minutes) . " min</td>\n";
echo "\n<td align=center>" . implode(' / ', $peers_in_last_min) . "</td></tr>\n"; echo "\n<td align=center>" . implode(' / ', $peers_in_last_min) . "</td></tr>\n";
echo "\n<tr><td align=center> peers in last $peers_in_last_sec_limit sec <br /> [ per second, DESC order --> ] <br /> last peer: $stat[last_peer_time] seconds ago <br /> " . date('j M H:i:s [T O]') . " </td>\n"; echo "\n<tr><td align=center> peers in last $peers_in_last_sec_limit sec <br/> [ per second, DESC order --> ] <br/> last peer: $stat[last_peer_time] seconds ago <br/> " . date('j M H:i:s [T O]') . " </td>\n";
echo '<td align=center style="font-size: 13px; font-family: \'Courier New\',Courier,monospace;"><pre> ' . implode(' ', $peers_in_last_sec) . "</pre></td></tr>\n"; echo '<td align=center style="font-size: 13px; font-family: \'Courier New\',Courier,monospace;"><pre> ' . implode(' ', $peers_in_last_sec) . "</pre></td></tr>\n";
echo "\n echo "\n
<tr><td align=center> clients: </td> <tr><td align=center> clients: </td>

8
dl.php
View file

@ -33,7 +33,7 @@ function send_file_to_browser($attachment, $upload_dir)
if (is_file(realpath($filename))) { if (is_file(realpath($filename))) {
$gotit = true; $gotit = true;
} else { } else {
bb_die($lang['ERROR_NO_ATTACHMENT'] . '<br /><br />' . htmlCHR($filename)); bb_die($lang['ERROR_NO_ATTACHMENT'] . '<br/><br/>' . htmlCHR($filename));
} }
// Correct the mime type - we force application/octet-stream for all files, except images // Correct the mime type - we force application/octet-stream for all files, except images
@ -68,7 +68,7 @@ function send_file_to_browser($attachment, $upload_dir)
} }
readfile($filename); readfile($filename);
} else { } else {
bb_die($lang['ERROR_NO_ATTACHMENT'] . '<br /><br />' . htmlCHR($filename)); bb_die($lang['ERROR_NO_ATTACHMENT'] . '<br/><br/>' . htmlCHR($filename));
} }
exit; exit;
@ -193,14 +193,14 @@ for ($i = 0; $i < $num_rows; $i++) {
// Disallowed // Disallowed
if (!in_array($attachment['extension'], $allowed_extensions) && !IS_ADMIN) { if (!in_array($attachment['extension'], $allowed_extensions) && !IS_ADMIN) {
bb_die(sprintf($lang['EXTENSION_DISABLED_AFTER_POSTING'], $attachment['extension']) . '<br /><br />' . $lang['FILENAME'] . ":&nbsp;" . $attachment['physical_filename']); bb_die(sprintf($lang['EXTENSION_DISABLED_AFTER_POSTING'], $attachment['extension']) . '<br/><br/>' . $lang['FILENAME'] . ":&nbsp;" . $attachment['physical_filename']);
} }
// Getting download mode by extension // Getting download mode by extension
if (isset($download_mode[$attachment['extension']])) { if (isset($download_mode[$attachment['extension']])) {
$download_mode = (int)$download_mode[$attachment['extension']]; $download_mode = (int)$download_mode[$attachment['extension']];
} else { } else {
bb_die(sprintf($lang['EXTENSION_DISABLED_AFTER_POSTING'], $attachment['extension']) . '<br /><br />' . $lang['FILENAME'] . ":&nbsp;" . $attachment['physical_filename']); bb_die(sprintf($lang['EXTENSION_DISABLED_AFTER_POSTING'], $attachment['extension']) . '<br/><br/>' . $lang['FILENAME'] . ":&nbsp;" . $attachment['physical_filename']);
} }
// Update download count // Update download count

View file

@ -156,7 +156,7 @@ switch ($mode) {
} }
$this->response['ip_list_html'] = ' $this->response['ip_list_html'] = '
<br /><table class="mod_ip bCenter borderless" cellspacing="1"> <br/><table class="mod_ip bCenter borderless" cellspacing="1">
<tr class="row5" > <tr class="row5" >
<td>' . $lang['REG_IP'] . '</td> <td>' . $lang['REG_IP'] . '</td>
<td class="tCenter">' . $reg_ip . '</td> <td class="tCenter">' . $reg_ip . '</td>
@ -167,7 +167,7 @@ switch ($mode) {
<td class="tCenter">' . $last_ip . '</td> <td class="tCenter">' . $last_ip . '</td>
<td><div>' . $link_last_ip . '</div></td> <td><div>' . $link_last_ip . '</div></td>
</tr> </tr>
</table><br /> </table><br/>
'; ';
break; break;

View file

@ -39,9 +39,9 @@ switch ($mode) {
foreach ($bb_cfg['sitemap_sending'] as $source_name => $source_link) { foreach ($bb_cfg['sitemap_sending'] as $source_name => $source_link) {
if ($map->sendSitemap($source_link, $map_link)) { if ($map->sendSitemap($source_link, $map_link)) {
$html .= '<br />' . $lang['SITEMAP_NOTIFY_SEARCH'] . '&nbsp;' . $source_name . ' : <span style="color: green;">' . $lang['SITEMAP_SENT'] . '</span>'; $html .= '<br/>' . $lang['SITEMAP_NOTIFY_SEARCH'] . '&nbsp;' . $source_name . ' : <span style="color: green;">' . $lang['SITEMAP_SENT'] . '</span>';
} else { } else {
$html .= '<br />' . $lang['SITEMAP_NOTIFY_SEARCH'] . '&nbsp;' . $source_name . ' : <span style="color: red;">' . $lang['SITEMAP_ERROR'] . '</span> URL: <a href="' . $source_link . urlencode($map_link) . '" target="_blank">' . $source_link . $map_link . '</a>'; $html .= '<br/>' . $lang['SITEMAP_NOTIFY_SEARCH'] . '&nbsp;' . $source_name . ' : <span style="color: red;">' . $lang['SITEMAP_ERROR'] . '</span> URL: <a href="' . $source_link . urlencode($map_link) . '" target="_blank">' . $source_link . $map_link . '</a>';
} }
} }
break; break;

View file

@ -145,7 +145,7 @@ function init_display_post_attachments($switch_attachment)
//bt //bt
if ($rows[$i]['tracker_status']) { if ($rows[$i]['tracker_status']) {
if (defined('TORRENT_POST')) { if (defined('TORRENT_POST')) {
bb_die('Multiple registered torrents in one topic<br /><br />first torrent found in post_id = ' . TORRENT_POST . '<br />current post_id = ' . $rows[$i]['post_id'] . '<br /><br />attachments info:<br /><pre style="text-align: left;">' . print_r($rows, true) . '</pre>'); bb_die('Multiple registered torrents in one topic<br/><br/>first torrent found in post_id = ' . TORRENT_POST . '<br/>current post_id = ' . $rows[$i]['post_id'] . '<br/><br/>attachments info:<br/><pre style="text-align: left;">' . print_r($rows, true) . '</pre>');
} }
define('TORRENT_POST', $rows[$i]['post_id']); define('TORRENT_POST', $rows[$i]['post_id']);
} }
@ -192,7 +192,7 @@ function display_attachments($post_id)
$display_name = htmlspecialchars($attachments['_' . $post_id][$i]['real_filename']); $display_name = htmlspecialchars($attachments['_' . $post_id][$i]['real_filename']);
$comment = htmlspecialchars($attachments['_' . $post_id][$i]['comment']); $comment = htmlspecialchars($attachments['_' . $post_id][$i]['comment']);
$comment = str_replace("\n", '<br />', $comment); $comment = str_replace("\n", '<br/>', $comment);
$denied = false; $denied = false;

View file

@ -518,7 +518,7 @@ $bb_cfg['ext_link_new_win'] = true; // open external links in new window
$bb_cfg['topic_moved_days_keep'] = 7; // remove topic moved links after xx days (or FALSE to disable) $bb_cfg['topic_moved_days_keep'] = 7; // remove topic moved links after xx days (or FALSE to disable)
$bb_cfg['allowed_posts_per_page'] = [15, 30, 50, 100]; $bb_cfg['allowed_posts_per_page'] = [15, 30, 50, 100];
$bb_cfg['user_signature_start'] = '<div class="signature"><br />_________________<br />'; $bb_cfg['user_signature_start'] = '<div class="signature"><br/>_________________<br/>';
$bb_cfg['user_signature_end'] = '</div>'; // It allows user signatures to have closings "<>" $bb_cfg['user_signature_end'] = '</div>'; // It allows user signatures to have closings "<>"
// Posts // Posts

View file

@ -1379,7 +1379,7 @@ function bb_simple_die($txt, $status_code = null)
} }
if (!empty($_COOKIE['explain'])) { if (!empty($_COOKIE['explain'])) {
bb_die("bb_simple_die:<br /><br />$txt"); bb_die("bb_simple_die:<br/><br/>$txt");
} }
die($txt); die($txt);
@ -1853,9 +1853,9 @@ function set_pr_die_append_msg($pr_uid)
$template->assign_var('BB_DIE_APPEND_MSG', ' $template->assign_var('BB_DIE_APPEND_MSG', '
<a href="' . PROFILE_URL . $pr_uid . '" onclick="return post2url(this.href, {after_edit: 1});">' . $lang['PROFILE_RETURN'] . '</a> <a href="' . PROFILE_URL . $pr_uid . '" onclick="return post2url(this.href, {after_edit: 1});">' . $lang['PROFILE_RETURN'] . '</a>
<br /><br /> <br/><br/>
<a href="profile.php?mode=editprofile' . (IS_ADMIN ? "&amp;" . POST_USERS_URL . "=$pr_uid" : '') . '" onclick="return post2url(this.href, {after_edit: 1});">' . $lang['PROFILE_EDIT_RETURN'] . '</a> <a href="profile.php?mode=editprofile' . (IS_ADMIN ? "&amp;" . POST_USERS_URL . "=$pr_uid" : '') . '" onclick="return post2url(this.href, {after_edit: 1});">' . $lang['PROFILE_EDIT_RETURN'] . '</a>
<br /><br /> <br/><br/>
<a href="index.php">' . $lang['INDEX_RETURN'] . '</a> <a href="index.php">' . $lang['INDEX_RETURN'] . '</a>
'); ');
} }

View file

@ -31,7 +31,7 @@ $show_dl_buttons = (!IS_GUEST && $dl_topic && $bb_cfg['bt_show_dl_list_buttons']
// link to clear DL-List // link to clear DL-List
$template->assign_vars(['S_DL_DELETE' => false]); $template->assign_vars(['S_DL_DELETE' => false]);
if (($is_auth['auth_mod']) && ($t_data['topic_dl_type'] == TOPIC_DL_TYPE_DL)) { if (($is_auth['auth_mod']) && ($t_data['topic_dl_type'] == TOPIC_DL_TYPE_DL)) {
$s_dl_delete = "<br /><a href=\"dl_list.php?mode=dl_delete&amp;" . POST_TOPIC_URL . "=$topic_id&amp;sid=" . $userdata['session_id'] . '">' . $lang['DL_LIST_DEL'] . '</a>'; $s_dl_delete = "<br/><a href=\"dl_list.php?mode=dl_delete&amp;" . POST_TOPIC_URL . "=$topic_id&amp;sid=" . $userdata['session_id'] . '">' . $lang['DL_LIST_DEL'] . '</a>';
$template->assign_vars(['S_DL_DELETE' => $s_dl_delete]); $template->assign_vars(['S_DL_DELETE' => $s_dl_delete]);
} }

View file

@ -32,7 +32,7 @@ if (isset($_POST['bonus_id'])) {
if ($userdata['user_points'] < $points) { if ($userdata['user_points'] < $points) {
meta_refresh('index.php', 10); meta_refresh('index.php', 10);
$message = $lang['BONUS_NOT_SUCCES'] . '<br /><br /><a href="' . BONUS_URL . '">' . $lang['BONUS_RETURN'] . '</a><br /><br /><a href="' . PROFILE_URL . $userdata['user_id'] . '">' . $lang['RETURN_PROFILE'] . '</a><br /><br />' . sprintf($lang['CLICK_RETURN_INDEX'], '<a href="index.php">', '</a>'); $message = $lang['BONUS_NOT_SUCCES'] . '<br/><br/><a href="' . BONUS_URL . '">' . $lang['BONUS_RETURN'] . '</a><br/><br/><a href="' . PROFILE_URL . $userdata['user_id'] . '">' . $lang['RETURN_PROFILE'] . '</a><br/><br/>' . sprintf($lang['CLICK_RETURN_INDEX'], '<a href="index.php">', '</a>');
bb_die($message); bb_die($message);
} }
@ -50,7 +50,7 @@ if (isset($_POST['bonus_id'])) {
meta_refresh(BONUS_URL, 10); meta_refresh(BONUS_URL, 10);
$message = sprintf($lang['BONUS_SUCCES'], humn_size($upload_row[$id] * 1024 * 1024 * 1024)); $message = sprintf($lang['BONUS_SUCCES'], humn_size($upload_row[$id] * 1024 * 1024 * 1024));
$message .= '<br /><br /><a href="' . BONUS_URL . '">' . $lang['BONUS_RETURN'] . '</a><br /><br /><a href="' . PROFILE_URL . $userdata['user_id'] . '">' . $lang['RETURN_PROFILE'] . '</a><br /><br />' . sprintf($lang['CLICK_RETURN_INDEX'], '<a href="index.php">', '</a>'); $message .= '<br/><br/><a href="' . BONUS_URL . '">' . $lang['BONUS_RETURN'] . '</a><br/><br/><a href="' . PROFILE_URL . $userdata['user_id'] . '">' . $lang['RETURN_PROFILE'] . '</a><br/><br/>' . sprintf($lang['CLICK_RETURN_INDEX'], '<a href="index.php">', '</a>');
bb_die($message); bb_die($message);
} else { } else {

View file

@ -75,7 +75,7 @@ if ($row = DB()->fetch_row($sql)) {
'USERNAME' => profile_url($row), 'USERNAME' => profile_url($row),
'S_HIDDEN_FIELDS' => '', 'S_HIDDEN_FIELDS' => '',
'S_POST_ACTION' => "profile.php?mode=email&amp;" . POST_USERS_URL . "=$user_id", 'S_POST_ACTION' => "profile.php?mode=email&amp;" . POST_USERS_URL . "=$user_id",
'ERROR_MESSAGE' => ($errors) ? implode('<br />', array_unique($errors)) : '' 'ERROR_MESSAGE' => ($errors) ? implode('<br/>', array_unique($errors)) : ''
]); ]);
print_page('usercp_email.tpl'); print_page('usercp_email.tpl');

View file

@ -713,7 +713,7 @@ $template->assign_vars($tp_data);
$template->assign_vars([ $template->assign_vars([
'PAGE_TITLE' => ($mode == 'editprofile') ? $lang['EDIT_PROFILE'] . ($adm_edit ? " :: {$pr_data['username']}" : '') : $lang['REGISTER'], 'PAGE_TITLE' => ($mode == 'editprofile') ? $lang['EDIT_PROFILE'] . ($adm_edit ? " :: {$pr_data['username']}" : '') : $lang['REGISTER'],
'SHOW_REG_AGREEMENT' => ($mode == 'register' && !IS_ADMIN), 'SHOW_REG_AGREEMENT' => ($mode == 'register' && !IS_ADMIN),
'ERROR_MESSAGE' => ($errors) ? implode('<br />', array_unique($errors)) : '', 'ERROR_MESSAGE' => ($errors) ? implode('<br/>', array_unique($errors)) : '',
'MODE' => $mode, 'MODE' => $mode,
'EDIT_PROFILE' => ($mode == 'editprofile'), 'EDIT_PROFILE' => ($mode == 'editprofile'),
'ADM_EDIT' => $adm_edit, 'ADM_EDIT' => $adm_edit,

View file

@ -90,7 +90,7 @@ if ($watch_count > 0) {
'U_FORUM' => FORUM_URL . $watch[$i]['forum_id'], 'U_FORUM' => FORUM_URL . $watch[$i]['forum_id'],
'REPLIES' => $watch[$i]['topic_replies'], 'REPLIES' => $watch[$i]['topic_replies'],
'AUTHOR' => profile_url($watch[$i]), 'AUTHOR' => profile_url($watch[$i]),
'LAST_POST' => bb_date($watch[$i]['topic_last_post_time']) . '<br />' . profile_url(['user_id' => $watch[$i]['last_user_id'], 'username' => $watch[$i]['last_username'], 'user_rank' => $watch[$i]['last_user_rank']]), 'LAST_POST' => bb_date($watch[$i]['topic_last_post_time']) . '<br/>' . profile_url(['user_id' => $watch[$i]['last_user_id'], 'username' => $watch[$i]['last_username'], 'user_rank' => $watch[$i]['last_user_rank']]),
'LAST_POST_RAW' => $watch[$i]['topic_last_post_time'], 'LAST_POST_RAW' => $watch[$i]['topic_last_post_time'],
'LAST_POST_ID' => $watch[$i]['topic_last_post_id'], 'LAST_POST_ID' => $watch[$i]['topic_last_post_id'],
'IS_UNREAD' => $is_unread, 'IS_UNREAD' => $is_unread,

View file

@ -17,6 +17,6 @@
</ul> </ul>
</div> </div>
<br /> <br/>
<img width="210" class="spacer" src="./styles/images/spacer.gif" alt="" /> <img width="210" class="spacer" src="./styles/images/spacer.gif" alt="" />

View file

@ -1,11 +1,11 @@
<div> <div>
<h3>Sidebar 2</h3> <h3>Sidebar 2</h3>
To add content into this sidebar, edit the following files: To add content into this sidebar, edit the following files:
<br /><br /> <br/><br/>
<ul class="med"> <ul class="med">
<li>library/language/*/html/sidebar2.html</li> <li>library/language/*/html/sidebar2.html</li>
<li>style/templates/default/page_footer.tpl</li> <li>style/templates/default/page_footer.tpl</li>
</ul> </ul>
<br /> <br/>
To disable this sidebar, set the variable $bb_cfg['page']['show_sidebar2'] in file config.php to false. To disable this sidebar, set the variable $bb_cfg['page']['show_sidebar2'] in file config.php to false.
</div> </div>

View file

@ -241,8 +241,8 @@ $lang['RULES_VOTE_CAN'] = 'You <b>can</b> vote in polls in this forum';
$lang['RULES_VOTE_CANNOT'] = 'You <b>cannot</b> vote in polls in this forum'; $lang['RULES_VOTE_CANNOT'] = 'You <b>cannot</b> vote in polls in this forum';
$lang['RULES_MODERATE'] = 'You <b>can</b> moderate this forum'; $lang['RULES_MODERATE'] = 'You <b>can</b> moderate this forum';
$lang['NO_TOPICS_POST_ONE'] = 'There are no posts in this forum yet<br />Click on the <b>New Topic</b> icon, and your post will be the first.'; $lang['NO_TOPICS_POST_ONE'] = 'There are no posts in this forum yet<br/>Click on the <b>New Topic</b> icon, and your post will be the first.';
$lang['NO_RELEASES_POST_ONE'] = 'There are no releases in this forum yet<br />Click on the <b>New Release</b> icon, and your release will be the first.'; $lang['NO_RELEASES_POST_ONE'] = 'There are no releases in this forum yet<br/>Click on the <b>New Release</b> icon, and your release will be the first.';
// Viewtopic // Viewtopic
$lang['VIEW_TOPIC'] = 'View topic'; $lang['VIEW_TOPIC'] = 'View topic';
@ -471,7 +471,7 @@ $lang['DISABLE_SMILIES_PM'] = 'Disable Smilies in this message';
$lang['MESSAGE_SENT'] = '<b>Your message has been sent.</b>'; $lang['MESSAGE_SENT'] = '<b>Your message has been sent.</b>';
$lang['CLICK_RETURN_INBOX'] = 'Return to your:<br /><br /> %s<b>Inbox</b>%s'; $lang['CLICK_RETURN_INBOX'] = 'Return to your:<br/><br/> %s<b>Inbox</b>%s';
$lang['CLICK_RETURN_SENTBOX'] = '&nbsp;&nbsp; %s<b>Sentbox</b>%s'; $lang['CLICK_RETURN_SENTBOX'] = '&nbsp;&nbsp; %s<b>Sentbox</b>%s';
$lang['CLICK_RETURN_OUTBOX'] = '&nbsp;&nbsp; %s<b>Outbox</b>%s'; $lang['CLICK_RETURN_OUTBOX'] = '&nbsp;&nbsp; %s<b>Outbox</b>%s';
$lang['CLICK_RETURN_SAVEBOX'] = '&nbsp;&nbsp; %s<b>Savebox</b>%s'; $lang['CLICK_RETURN_SAVEBOX'] = '&nbsp;&nbsp; %s<b>Savebox</b>%s';
@ -498,9 +498,9 @@ $lang['UNMARK_ALL'] = 'Unmark all';
$lang['CONFIRM_DELETE_PM'] = 'Are you sure you want to delete this message?'; $lang['CONFIRM_DELETE_PM'] = 'Are you sure you want to delete this message?';
$lang['CONFIRM_DELETE_PMS'] = 'Are you sure you want to delete these messages?'; $lang['CONFIRM_DELETE_PMS'] = 'Are you sure you want to delete these messages?';
$lang['INBOX_SIZE'] = 'Your Inbox is<br /><b>%d%%</b> full'; // e.g. Your Inbox is 50% full $lang['INBOX_SIZE'] = 'Your Inbox is<br/><b>%d%%</b> full'; // e.g. Your Inbox is 50% full
$lang['SENTBOX_SIZE'] = 'Your Sentbox is<br /><b>%d%%</b> full'; $lang['SENTBOX_SIZE'] = 'Your Sentbox is<br/><b>%d%%</b> full';
$lang['SAVEBOX_SIZE'] = 'Your Savebox is<br /><b>%d%%</b> full'; $lang['SAVEBOX_SIZE'] = 'Your Savebox is<br/><b>%d%%</b> full';
$lang['CLICK_VIEW_PRIVMSG'] = 'Click %sHere%s to visit your Inbox'; $lang['CLICK_VIEW_PRIVMSG'] = 'Click %sHere%s to visit your Inbox';
@ -742,7 +742,7 @@ $lang['NO_GROUP_ID_SPECIFIED'] = 'Group ID is not specified';
$lang['NO_GROUP_MEMBERS'] = 'This group has no members'; $lang['NO_GROUP_MEMBERS'] = 'This group has no members';
$lang['HIDDEN_GROUP_MEMBERS'] = 'This group is hidden; you cannot view its membership'; $lang['HIDDEN_GROUP_MEMBERS'] = 'This group is hidden; you cannot view its membership';
$lang['NO_PENDING_GROUP_MEMBERS'] = 'This group has no pending members'; $lang['NO_PENDING_GROUP_MEMBERS'] = 'This group has no pending members';
$lang['GROUP_JOINED'] = 'You have successfully subscribed to this group.<br />You will be notified when your subscription is approved by the group moderator.'; $lang['GROUP_JOINED'] = 'You have successfully subscribed to this group.<br/>You will be notified when your subscription is approved by the group moderator.';
$lang['GROUP_REQUEST'] = 'A request to join your group has been made.'; $lang['GROUP_REQUEST'] = 'A request to join your group has been made.';
$lang['GROUP_APPROVED'] = 'Your request has been approved.'; $lang['GROUP_APPROVED'] = 'Your request has been approved.';
$lang['GROUP_ADDED'] = 'You have been added to this usergroup.'; $lang['GROUP_ADDED'] = 'You have been added to this usergroup.';
@ -792,7 +792,7 @@ $lang['NOT_A_RELEASE_GROUP'] = 'This group is not a release group';
// Search // Search
$lang['SEARCH_OFF'] = 'Search is temporarily disabled'; $lang['SEARCH_OFF'] = 'Search is temporarily disabled';
$lang['SEARCH_ERROR'] = 'At the moment, the search engine is not available<br /><br />Try to repeat the request after several seconds'; $lang['SEARCH_ERROR'] = 'At the moment, the search engine is not available<br/><br/>Try to repeat the request after several seconds';
$lang['SEARCH_HELP_URL'] = 'Search Help'; $lang['SEARCH_HELP_URL'] = 'Search Help';
$lang['SEARCH_QUERY'] = 'Search Query'; $lang['SEARCH_QUERY'] = 'Search Query';
$lang['SEARCH_OPTIONS'] = 'Search Options'; $lang['SEARCH_OPTIONS'] = 'Search Options';
@ -1310,11 +1310,11 @@ $lang['UPLOAD_NEW_VERSION'] = 'Upload New Version';
// Errors -> Posting Attachments // Errors -> Posting Attachments
$lang['INVALID_FILENAME'] = '%s is an invalid filename'; // replace %s with given filename $lang['INVALID_FILENAME'] = '%s is an invalid filename'; // replace %s with given filename
$lang['ATTACHMENT_PHP_SIZE_NA'] = 'The Attachment is too big.<br />Could not get the maximum Size defined in PHP.<br />The Attachment Mod is unable to determine the maximum Upload Size defined in the php.ini.'; $lang['ATTACHMENT_PHP_SIZE_NA'] = 'The Attachment is too big.<br/>Could not get the maximum Size defined in PHP.<br/>The Attachment Mod is unable to determine the maximum Upload Size defined in the php.ini.';
$lang['ATTACHMENT_PHP_SIZE_OVERRUN'] = 'The Attachment is too big.<br />Maximum Upload Size: %d MB.<br />Please note that this Size is defined in php.ini, this means it\'s set by PHP and the Attachment Mod can not override this value.'; // replace %d with ini_get('upload_max_filesize') $lang['ATTACHMENT_PHP_SIZE_OVERRUN'] = 'The Attachment is too big.<br/>Maximum Upload Size: %d MB.<br/>Please note that this Size is defined in php.ini, this means it\'s set by PHP and the Attachment Mod can not override this value.'; // replace %d with ini_get('upload_max_filesize')
$lang['DISALLOWED_EXTENSION'] = 'The Extension %s is not allowed'; // replace %s with extension (e.g. .php) $lang['DISALLOWED_EXTENSION'] = 'The Extension %s is not allowed'; // replace %s with extension (e.g. .php)
$lang['DISALLOWED_EXTENSION_WITHIN_FORUM'] = 'You are not allowed to post Files with the Extension %s within this Forum'; // replace %s with the Extension $lang['DISALLOWED_EXTENSION_WITHIN_FORUM'] = 'You are not allowed to post Files with the Extension %s within this Forum'; // replace %s with the Extension
$lang['ATTACHMENT_TOO_BIG'] = 'The Attachment is too big.<br />Max Size: %s'; // replace %d with maximum file size, %s with size var $lang['ATTACHMENT_TOO_BIG'] = 'The Attachment is too big.<br/>Max Size: %s'; // replace %d with maximum file size, %s with size var
$lang['ATTACH_QUOTA_REACHED'] = 'Sorry, but the maximum filesize for all Attachments is reached. Please contact the Board Administrator if you have questions.'; $lang['ATTACH_QUOTA_REACHED'] = 'Sorry, but the maximum filesize for all Attachments is reached. Please contact the Board Administrator if you have questions.';
$lang['TOO_MANY_ATTACHMENTS'] = 'Attachment cannot be added, since the max. number of %d Attachments in this post was achieved'; // replace %d with maximum number of attachments $lang['TOO_MANY_ATTACHMENTS'] = 'Attachment cannot be added, since the max. number of %d Attachments in this post was achieved'; // replace %d with maximum number of attachments
$lang['ERROR_IMAGESIZE'] = 'The Attachment/Image must be less than %d pixels wide and %d pixels high'; $lang['ERROR_IMAGESIZE'] = 'The Attachment/Image must be less than %d pixels wide and %d pixels high';
@ -1342,7 +1342,7 @@ $lang['ATTACHMENT_FEATURE_DISABLED'] = 'The Attachment Feature is disabled.';
$lang['DIRECTORY_DOES_NOT_EXIST'] = 'The Directory \'%s\' does not exist or Could not be found.'; // replace %s with directory $lang['DIRECTORY_DOES_NOT_EXIST'] = 'The Directory \'%s\' does not exist or Could not be found.'; // replace %s with directory
$lang['DIRECTORY_IS_NOT_A_DIR'] = 'Please check if \'%s\' is a directory.'; // replace %s with directory $lang['DIRECTORY_IS_NOT_A_DIR'] = 'Please check if \'%s\' is a directory.'; // replace %s with directory
$lang['DIRECTORY_NOT_WRITEABLE'] = 'Directory \'%s\' is not writeable. You\'ll have to create the upload path and chmod it to 777 (or change the owner to you httpd-servers owner) to upload files.<br />If you have only plain FTP-access change the \'Attribute\' of the directory to rwxrwxrwx.'; // replace %s with directory $lang['DIRECTORY_NOT_WRITEABLE'] = 'Directory \'%s\' is not writeable. You\'ll have to create the upload path and chmod it to 777 (or change the owner to you httpd-servers owner) to upload files.<br/>If you have only plain FTP-access change the \'Attribute\' of the directory to rwxrwxrwx.'; // replace %s with directory
// Quota Variables // Quota Variables
$lang['UPLOAD_QUOTA'] = 'Upload Quota'; $lang['UPLOAD_QUOTA'] = 'Upload Quota';
@ -1357,7 +1357,7 @@ $lang['ATTACH_SEARCH_QUERY'] = 'Search Attachments';
$lang['TEST_SETTINGS'] = 'Test Settings'; $lang['TEST_SETTINGS'] = 'Test Settings';
$lang['NOT_ASSIGNED'] = 'Not Assigned'; $lang['NOT_ASSIGNED'] = 'Not Assigned';
$lang['NO_FILE_COMMENT_AVAILABLE'] = 'No File Comment available'; $lang['NO_FILE_COMMENT_AVAILABLE'] = 'No File Comment available';
$lang['ATTACHBOX_LIMIT'] = 'Your Attachbox is<br /><b>%d%%</b> full'; $lang['ATTACHBOX_LIMIT'] = 'Your Attachbox is<br/><b>%d%%</b> full';
$lang['NO_QUOTA_LIMIT'] = 'No Quota Limit'; $lang['NO_QUOTA_LIMIT'] = 'No Quota Limit';
$lang['UNLIMITED'] = 'Unlimited'; $lang['UNLIMITED'] = 'Unlimited';
@ -1384,9 +1384,9 @@ $lang['BT_FLIST_ANNOUNCERS_NOTICE'] = 'This list contains announcers of torrent
$lang['BT_UNREG_FROM_TRACKER'] = 'Remove from tracker'; $lang['BT_UNREG_FROM_TRACKER'] = 'Remove from tracker';
$lang['BT_UNREGISTERED'] = 'Torrent unregistered'; $lang['BT_UNREGISTERED'] = 'Torrent unregistered';
$lang['BT_UNREGISTERED_ALREADY'] = 'Torrent already unregistered'; $lang['BT_UNREGISTERED_ALREADY'] = 'Torrent already unregistered';
$lang['BT_REGISTERED'] = 'Torrent registered on tracker<br /><br />Now you need to <a href="%s"><b>download your torrent</b></a> and run it using your BitTorrent client choosing the folder with the original files you\'re sharing as the download path'; $lang['BT_REGISTERED'] = 'Torrent registered on tracker<br/><br/>Now you need to <a href="%s"><b>download your torrent</b></a> and run it using your BitTorrent client choosing the folder with the original files you\'re sharing as the download path';
$lang['INVALID_ANN_URL'] = 'Invalid Announce URL [%s]<br /><br />must be <b>%s</b>'; $lang['INVALID_ANN_URL'] = 'Invalid Announce URL [%s]<br/><br/>must be <b>%s</b>';
$lang['PASSKEY_ERR_TOR_NOT_REG'] = 'Could not add passkey<br /><br />Torrent not registered on tracker'; $lang['PASSKEY_ERR_TOR_NOT_REG'] = 'Could not add passkey<br/><br/>Torrent not registered on tracker';
$lang['BT_PASSKEY'] = 'Passkey'; $lang['BT_PASSKEY'] = 'Passkey';
$lang['BT_GEN_PASSKEY'] = 'create a new'; $lang['BT_GEN_PASSKEY'] = 'create a new';
$lang['BT_PASSKEY_VIEW'] = 'show'; $lang['BT_PASSKEY_VIEW'] = 'show';
@ -1577,7 +1577,7 @@ $lang['BONUS_SELECT'] = 'Select';
$lang['SEED_BONUS'] = 'Seed bonus'; $lang['SEED_BONUS'] = 'Seed bonus';
$lang['EXCHANGE'] = 'Exchange'; $lang['EXCHANGE'] = 'Exchange';
$lang['EXCHANGE_BONUS'] = 'Exchange of seed bonuses'; $lang['EXCHANGE_BONUS'] = 'Exchange of seed bonuses';
$lang['BONUS_UPLOAD_DESC'] = '<b>%s to distribution</b> <br /> To exchange bonus points on %1$s traffic which will be added on to the sum of your distribution.'; $lang['BONUS_UPLOAD_DESC'] = '<b>%s to distribution</b> <br/> To exchange bonus points on %1$s traffic which will be added on to the sum of your distribution.';
$lang['BONUS_UPLOAD_PRICE'] = '<b class="%s">%s</b>'; $lang['BONUS_UPLOAD_PRICE'] = '<b class="%s">%s</b>';
$lang['PRICE'] = 'Price'; $lang['PRICE'] = 'Price';
$lang['EXCHANGE_NOT'] = 'The exchange not available'; $lang['EXCHANGE_NOT'] = 'The exchange not available';
@ -1799,7 +1799,7 @@ $lang['EMAILER_DISABLED'] = 'Sorry, this feature is temporarily not working';
$lang['TERMS_ON'] = 'I agree with these terms and conditions'; $lang['TERMS_ON'] = 'I agree with these terms and conditions';
$lang['TERMS_OFF'] = 'I do not agree to these terms'; $lang['TERMS_OFF'] = 'I do not agree to these terms';
$lang['JAVASCRIPT_ON_REGISTER'] = 'To register, heads necessary to enable JavaScript'; $lang['JAVASCRIPT_ON_REGISTER'] = 'To register, heads necessary to enable JavaScript';
$lang['REGISTERED_IN_TIME'] = "At the moment registration is closed<br /><br />You can register from 01:00 to 17:00 MSK (now " . date('H:i') . " MSK)<br /><br />We apologize for this inconvenience"; $lang['REGISTERED_IN_TIME'] = "At the moment registration is closed<br/><br/>You can register from 01:00 to 17:00 MSK (now " . date('H:i') . " MSK)<br/><br/>We apologize for this inconvenience";
$lang['AUTOCOMPLETE'] = 'Password generate'; $lang['AUTOCOMPLETE'] = 'Password generate';
$lang['YOUR_NEW_PASSWORD'] = 'Your are new password:'; $lang['YOUR_NEW_PASSWORD'] = 'Your are new password:';
$lang['REGENERATE'] = 'Regenerate'; $lang['REGENERATE'] = 'Regenerate';
@ -2374,7 +2374,7 @@ $lang['SYNC'] = 'Sync';
// Mods // Mods
$lang['MAX_NEWS_TITLE'] = 'Max. length of the news'; $lang['MAX_NEWS_TITLE'] = 'Max. length of the news';
$lang['NEWS_COUNT'] = 'How many news show'; $lang['NEWS_COUNT'] = 'How many news show';
$lang['NEWS_FORUM_ID'] = 'From what forums to display <br /> <h6>Of the several forums raises, separated by commas. Example 1,2,3</h6>'; $lang['NEWS_FORUM_ID'] = 'From what forums to display <br/> <h6>Of the several forums raises, separated by commas. Example 1,2,3</h6>';
$lang['NOAVATAR'] = 'No avatar'; $lang['NOAVATAR'] = 'No avatar';
$lang['TRACKER_STATS'] = 'Statistics on the tracker'; $lang['TRACKER_STATS'] = 'Statistics on the tracker';
$lang['WHOIS_INFO'] = 'Information about IP address'; $lang['WHOIS_INFO'] = 'Information about IP address';
@ -2483,9 +2483,9 @@ $lang['SETTINGS_CAT_FLASH'] = 'Settings for Special Category: Flash Files';
$lang['DISPLAY_INLINED'] = 'Display Images Inlined'; $lang['DISPLAY_INLINED'] = 'Display Images Inlined';
$lang['DISPLAY_INLINED_EXPLAIN'] = 'Choose whether to display images directly within the post (yes) or to display images as a link ?'; $lang['DISPLAY_INLINED_EXPLAIN'] = 'Choose whether to display images directly within the post (yes) or to display images as a link ?';
$lang['MAX_IMAGE_SIZE'] = 'Maximum Image Dimensions'; $lang['MAX_IMAGE_SIZE'] = 'Maximum Image Dimensions';
$lang['MAX_IMAGE_SIZE_EXPLAIN'] = 'Here you can define the maximum allowed Image Dimension to be attached (Width x Height in pixels).<br />If it is set to 0x0, this feature is disabled. With some Images this Feature will not work due to limitations in PHP.'; $lang['MAX_IMAGE_SIZE_EXPLAIN'] = 'Here you can define the maximum allowed Image Dimension to be attached (Width x Height in pixels).<br/>If it is set to 0x0, this feature is disabled. With some Images this Feature will not work due to limitations in PHP.';
$lang['IMAGE_LINK_SIZE'] = 'Image Link Dimensions'; $lang['IMAGE_LINK_SIZE'] = 'Image Link Dimensions';
$lang['IMAGE_LINK_SIZE_EXPLAIN'] = 'If this defined Dimension of an Image is reached, the Image will be displayed as a Link, rather than displaying it inlined,<br />if Inline View is enabled (Width x Height in pixels).<br />If it is set to 0x0, this feature is disabled. With some Images this Feature will not work due to limitations in PHP.'; $lang['IMAGE_LINK_SIZE_EXPLAIN'] = 'If this defined Dimension of an Image is reached, the Image will be displayed as a Link, rather than displaying it inlined,<br/>if Inline View is enabled (Width x Height in pixels).<br/>If it is set to 0x0, this feature is disabled. With some Images this Feature will not work due to limitations in PHP.';
$lang['ASSIGNED_GROUP'] = 'Assigned Group'; $lang['ASSIGNED_GROUP'] = 'Assigned Group';
$lang['IMAGE_CREATE_THUMBNAIL'] = 'Create Thumbnail'; $lang['IMAGE_CREATE_THUMBNAIL'] = 'Create Thumbnail';
@ -2501,7 +2501,7 @@ $lang['EXTENSION_EXIST_FORBIDDEN'] = 'The Extension %s is defined in your allowe
// Extensions -> Extension Groups Control -> Group Permissions // Extensions -> Extension Groups Control -> Group Permissions
$lang['GROUP_PERMISSIONS_TITLE_ADMIN'] = 'Extension Group Permissions -> \'%s\''; // Replace %s with the Groups Name $lang['GROUP_PERMISSIONS_TITLE_ADMIN'] = 'Extension Group Permissions -> \'%s\''; // Replace %s with the Groups Name
$lang['GROUP_PERMISSIONS_EXPLAIN'] = 'Here you are able to restrict the selected Extension Group to Forums of your choice (defined in the Allowed Forums Box). The Default is to allow Extension Groups to all Forums the User is able to Attach Files into (the normal way the Attachment Mod did it since the beginning). Just add those Forums you want the Extension Group (the Extensions within this Group) to be allowed there, the default ALL FORUMS will disappear when you add Forums to the List. You are able to re-add ALL FORUMS at any given Time. If you add a Forum to your Board and the Permission is set to ALL FORUMS nothing will change. But if you have changed and restricted the access to certain Forums, you have to check back here to add your newly created Forum. It is easy to do this automatically, but this will force you to edit a bunch of Files, therefore i have chosen the way it is now. Please keep in mind, that all of your Forums will be listed here.'; $lang['GROUP_PERMISSIONS_EXPLAIN'] = 'Here you are able to restrict the selected Extension Group to Forums of your choice (defined in the Allowed Forums Box). The Default is to allow Extension Groups to all Forums the User is able to Attach Files into (the normal way the Attachment Mod did it since the beginning). Just add those Forums you want the Extension Group (the Extensions within this Group) to be allowed there, the default ALL FORUMS will disappear when you add Forums to the List. You are able to re-add ALL FORUMS at any given Time. If you add a Forum to your Board and the Permission is set to ALL FORUMS nothing will change. But if you have changed and restricted the access to certain Forums, you have to check back here to add your newly created Forum. It is easy to do this automatically, but this will force you to edit a bunch of Files, therefore i have chosen the way it is now. Please keep in mind, that all of your Forums will be listed here.';
$lang['NOTE_ADMIN_EMPTY_GROUP_PERMISSIONS'] = 'NOTE:<br />Within the below listed Forums your Users are normally allowed to attach files, but since no Extension Group is allowed to be attached there, your Users are unable to attach anything. If they try, they will receive Error Messages. Maybe you want to set the Permission \'Post Files\' to ADMIN at these Forums.<br /><br />'; $lang['NOTE_ADMIN_EMPTY_GROUP_PERMISSIONS'] = 'NOTE:<br/>Within the below listed Forums your Users are normally allowed to attach files, but since no Extension Group is allowed to be attached there, your Users are unable to attach anything. If they try, they will receive Error Messages. Maybe you want to set the Permission \'Post Files\' to ADMIN at these Forums.<br/><br/>';
$lang['ADD_FORUMS'] = 'Add Forums'; $lang['ADD_FORUMS'] = 'Add Forums';
$lang['ADD_SELECTED'] = 'Add Selected'; $lang['ADD_SELECTED'] = 'Add Selected';
$lang['PERM_ALL_FORUMS'] = 'ALL FORUMS'; $lang['PERM_ALL_FORUMS'] = 'ALL FORUMS';
@ -2709,11 +2709,11 @@ $lang['CLICK_RETURN_JOBS_ADDED'] = '%sReturn to the addition problem%s';
$lang['CLICK_RETURN_JOBS'] = '%sBack to the Task Scheduler%s'; $lang['CLICK_RETURN_JOBS'] = '%sBack to the Task Scheduler%s';
$lang['REBUILD_SEARCH'] = 'Rebuild Search Index'; $lang['REBUILD_SEARCH'] = 'Rebuild Search Index';
$lang['REBUILD_SEARCH_DESC'] = 'This mod will index every post in your forum, rebuilding the search tables. You can stop whenever you like and the next time you run it again you\'ll have the option of continuing from where you left off.<br /><br />It may take a long time to show its progress (depending on "Posts per cycle" and "Time limit"), so please do not move from its progress page until it is complete, unless of course you want to interrupt it.'; $lang['REBUILD_SEARCH_DESC'] = 'This mod will index every post in your forum, rebuilding the search tables. You can stop whenever you like and the next time you run it again you\'ll have the option of continuing from where you left off.<br/><br/>It may take a long time to show its progress (depending on "Posts per cycle" and "Time limit"), so please do not move from its progress page until it is complete, unless of course you want to interrupt it.';
// Input screen // Input screen
$lang['STARTING_POST_ID'] = 'Starting post_id'; $lang['STARTING_POST_ID'] = 'Starting post_id';
$lang['STARTING_POST_ID_EXPLAIN'] = 'First post where processing will begin from<br />You can choose to start from the beginning or from the post you last stopped'; $lang['STARTING_POST_ID_EXPLAIN'] = 'First post where processing will begin from<br/>You can choose to start from the beginning or from the post you last stopped';
$lang['START_OPTION_BEGINNING'] = 'start from beginning'; $lang['START_OPTION_BEGINNING'] = 'start from beginning';
$lang['START_OPTION_CONTINUE'] = 'continue from last stopped'; $lang['START_OPTION_CONTINUE'] = 'continue from last stopped';
@ -2725,13 +2725,13 @@ $lang['CLEAR_SEARCH_DELETE'] = 'DELETE';
$lang['CLEAR_SEARCH_TRUNCATE'] = 'TRUNCATE'; $lang['CLEAR_SEARCH_TRUNCATE'] = 'TRUNCATE';
$lang['NUM_OF_POSTS'] = 'Number of posts'; $lang['NUM_OF_POSTS'] = 'Number of posts';
$lang['NUM_OF_POSTS_EXPLAIN'] = 'Number of total posts to process<br />It\'s automatically filled with the number of total/remaining posts found in the db'; $lang['NUM_OF_POSTS_EXPLAIN'] = 'Number of total posts to process<br/>It\'s automatically filled with the number of total/remaining posts found in the db';
$lang['POSTS_PER_CYCLE'] = 'Posts per cycle'; $lang['POSTS_PER_CYCLE'] = 'Posts per cycle';
$lang['POSTS_PER_CYCLE_EXPLAIN'] = 'Number of posts to process per cycle<br />Keep it low to avoid php/webserver timeouts'; $lang['POSTS_PER_CYCLE_EXPLAIN'] = 'Number of posts to process per cycle<br/>Keep it low to avoid php/webserver timeouts';
$lang['REFRESH_RATE'] = 'Refresh rate'; $lang['REFRESH_RATE'] = 'Refresh rate';
$lang['REFRESH_RATE_EXPLAIN'] = 'How much time (secs) to stay idle before moving to next processing cycle<br />Usually you don\'t have to change this'; $lang['REFRESH_RATE_EXPLAIN'] = 'How much time (secs) to stay idle before moving to next processing cycle<br/>Usually you don\'t have to change this';
$lang['TIME_LIMIT'] = 'Time limit'; $lang['TIME_LIMIT'] = 'Time limit';
$lang['TIME_LIMIT_EXPLAIN'] = 'How much time (secs) post processing can last before moving to next cycle'; $lang['TIME_LIMIT_EXPLAIN'] = 'How much time (secs) post processing can last before moving to next cycle';
@ -2748,7 +2748,7 @@ $lang['INFO_PROCESSING_STOPPED'] = 'You last stopped the processing at post_id %
$lang['INFO_PROCESSING_ABORTED'] = 'You last aborted the processing at post_id %s (%s processed posts) on %s'; $lang['INFO_PROCESSING_ABORTED'] = 'You last aborted the processing at post_id %s (%s processed posts) on %s';
$lang['INFO_PROCESSING_ABORTED_SOON'] = 'Please wait some mins before you continue...'; $lang['INFO_PROCESSING_ABORTED_SOON'] = 'Please wait some mins before you continue...';
$lang['INFO_PROCESSING_FINISHED'] = 'You successfully finished the processing (%s processed posts) on %s'; $lang['INFO_PROCESSING_FINISHED'] = 'You successfully finished the processing (%s processed posts) on %s';
$lang['INFO_PROCESSING_FINISHED_NEW'] = 'You successfully finished the processing at post_id %s (%s processed posts) on %s,<br />but there have been %s new post(s) after that date'; $lang['INFO_PROCESSING_FINISHED_NEW'] = 'You successfully finished the processing at post_id %s (%s processed posts) on %s,<br/>but there have been %s new post(s) after that date';
// Progress screen // Progress screen
$lang['REBUILD_SEARCH_PROGRESS'] = 'Rebuild Search Progress'; $lang['REBUILD_SEARCH_PROGRESS'] = 'Rebuild Search Progress';
@ -2788,10 +2788,10 @@ $lang['ACTIVE_PARAMETERS'] = 'Active parameters';
$lang['POSTS_LAST_CYCLE'] = 'Processed post(s) on last cycle'; $lang['POSTS_LAST_CYCLE'] = 'Processed post(s) on last cycle';
$lang['BOARD_STATUS'] = 'Board status'; $lang['BOARD_STATUS'] = 'Board status';
$lang['INFO_ESTIMATED_VALUES'] = '(*) All the estimated values are calculated approximately<br />based on the current completed percent and may not represent the actual final values.<br />As the completed percent increases the estimated values will come closer to the actual ones.'; $lang['INFO_ESTIMATED_VALUES'] = '(*) All the estimated values are calculated approximately<br/>based on the current completed percent and may not represent the actual final values.<br/>As the completed percent increases the estimated values will come closer to the actual ones.';
$lang['CLICK_RETURN_REBUILD_SEARCH'] = 'Click %shere%s to return to Rebuild Search'; $lang['CLICK_RETURN_REBUILD_SEARCH'] = 'Click %shere%s to return to Rebuild Search';
$lang['REBUILD_SEARCH_ABORTED'] = 'Rebuild search aborted at post_id %s.<br /><br />If you aborted while processing was on, you have to wait for some mins until you run Rebuild Search again, so the last cycle can finish.'; $lang['REBUILD_SEARCH_ABORTED'] = 'Rebuild search aborted at post_id %s.<br/><br/>If you aborted while processing was on, you have to wait for some mins until you run Rebuild Search again, so the last cycle can finish.';
$lang['WRONG_INPUT'] = 'You have entered some wrong values. Please check your input and try again.'; $lang['WRONG_INPUT'] = 'You have entered some wrong values. Please check your input and try again.';
// Buttons // Buttons
@ -2807,27 +2807,27 @@ $lang['CALLSEED_EXPLAIN'] = 'Take notice with a request to return to the distrib
$lang['CALLSEED_SUBJECT'] = 'Download help %s'; $lang['CALLSEED_SUBJECT'] = 'Download help %s';
$lang['CALLSEED_TEXT'] = 'Hello![br]Your help is needed in the release [url=%s]%s[/url][br]If you decide to help, but already deleted the torrent file, you can download it [url=%s]this[/url][br][br]I hope for your help!'; $lang['CALLSEED_TEXT'] = 'Hello![br]Your help is needed in the release [url=%s]%s[/url][br]If you decide to help, but already deleted the torrent file, you can download it [url=%s]this[/url][br][br]I hope for your help!';
$lang['CALLSEED_MSG_OK'] = 'Message has been sent to all those who downloaded this release'; $lang['CALLSEED_MSG_OK'] = 'Message has been sent to all those who downloaded this release';
$lang['CALLSEED_MSG_SPAM'] = 'Request has already been once successfully sent (Probably not you)<br /><br />The next opportunity to send a request to be <b>%s</b>.'; $lang['CALLSEED_MSG_SPAM'] = 'Request has already been once successfully sent (Probably not you)<br/><br/>The next opportunity to send a request to be <b>%s</b>.';
$lang['CALLSEED_HAVE_SEED'] = 'Topic does not require help (<b>Seeders:</b> %d)'; $lang['CALLSEED_HAVE_SEED'] = 'Topic does not require help (<b>Seeders:</b> %d)';
$lang['LOG_ACTION']['LOG_TYPE'] = [ $lang['LOG_ACTION']['LOG_TYPE'] = [
'mod_topic_delete' => 'Topic:<br /> <b>deleted</b>', 'mod_topic_delete' => 'Topic:<br/> <b>deleted</b>',
'mod_topic_move' => 'Topic:<br /> <b>moved</b>', 'mod_topic_move' => 'Topic:<br/> <b>moved</b>',
'mod_topic_lock' => 'Topic:<br /> <b>closed</b>', 'mod_topic_lock' => 'Topic:<br/> <b>closed</b>',
'mod_topic_unlock' => 'Topic:<br /> <b>opened</b>', 'mod_topic_unlock' => 'Topic:<br/> <b>opened</b>',
'mod_topic_split' => 'Topic:<br /> <b>split</b>', 'mod_topic_split' => 'Topic:<br/> <b>split</b>',
'mod_topic_set_downloaded' => 'Topic:<br /> <b>set downloaded</b>', 'mod_topic_set_downloaded' => 'Topic:<br/> <b>set downloaded</b>',
'mod_topic_unset_downloaded' => 'Topic:<br /> <b>unset downloaded</b>', 'mod_topic_unset_downloaded' => 'Topic:<br/> <b>unset downloaded</b>',
'mod_topic_change_tor_status' => 'Topic:<br /> <b>changed torrent status</b>', 'mod_topic_change_tor_status' => 'Topic:<br/> <b>changed torrent status</b>',
'mod_topic_change_tor_type' => 'Topic:<br /> <b>changed torrent type</b>', 'mod_topic_change_tor_type' => 'Topic:<br/> <b>changed torrent type</b>',
'mod_topic_tor_unregister' => 'Topic:<br /> <b>torrent unregistered</b>', 'mod_topic_tor_unregister' => 'Topic:<br/> <b>torrent unregistered</b>',
'mod_topic_renamed' => 'Topic:<br /> <b>renamed</b>', 'mod_topic_renamed' => 'Topic:<br/> <b>renamed</b>',
'mod_post_delete' => 'Post:<br /> <b>deleted</b>', 'mod_post_delete' => 'Post:<br/> <b>deleted</b>',
'mod_post_pin' => 'Post:<br /> <b>pinned</b>', 'mod_post_pin' => 'Post:<br/> <b>pinned</b>',
'mod_post_unpin' => 'Post:<br /> <b>unpinned</b>', 'mod_post_unpin' => 'Post:<br/> <b>unpinned</b>',
'adm_user_delete' => 'User:<br /> <b>deleted</b>', 'adm_user_delete' => 'User:<br/> <b>deleted</b>',
'adm_user_ban' => 'User:<br /> <b>ban</b>', 'adm_user_ban' => 'User:<br/> <b>ban</b>',
'adm_user_unban' => 'User:<br /> <b>unban</b>', 'adm_user_unban' => 'User:<br/> <b>unban</b>',
]; ];
$lang['ACTS_LOG_ALL_ACTIONS'] = 'All actions'; $lang['ACTS_LOG_ALL_ACTIONS'] = 'All actions';
@ -3084,7 +3084,7 @@ $lang['UPLOAD_ERRORS'] = [
// Captcha // Captcha
$lang['CAPTCHA'] = 'Check that you are not a robot'; $lang['CAPTCHA'] = 'Check that you are not a robot';
$lang['CAPTCHA_WRONG'] = 'You could not confirm that you are not a robot'; $lang['CAPTCHA_WRONG'] = 'You could not confirm that you are not a robot';
$lang['CAPTCHA_SETTINGS'] = '<h2>ReCaptcha not being fully configured</h2><p>If you haven\'t already generated the keys, you can do it on <a href="https://www.google.com/recaptcha/admin">https://www.google.com/recaptcha/admin</a>.<br />After you generate the keys, you need to put them at the file library/config.php.</p>'; $lang['CAPTCHA_SETTINGS'] = '<h2>ReCaptcha not being fully configured</h2><p>If you haven\'t already generated the keys, you can do it on <a href="https://www.google.com/recaptcha/admin">https://www.google.com/recaptcha/admin</a>.<br/>After you generate the keys, you need to put them at the file library/config.php.</p>';
// Sending email // Sending email
$lang['REPLY_TO'] = 'Reply to'; $lang['REPLY_TO'] = 'Reply to';

View file

@ -115,7 +115,7 @@ if (IS_GUEST || $mod_admin_login) {
$template->assign_vars([ $template->assign_vars([
'LOGIN_USERNAME' => htmlCHR($login_username), 'LOGIN_USERNAME' => htmlCHR($login_username),
'LOGIN_PASSWORD' => htmlCHR($login_password), 'LOGIN_PASSWORD' => htmlCHR($login_password),
'ERROR_MESSAGE' => implode('<br />', $login_errors), 'ERROR_MESSAGE' => implode('<br/>', $login_errors),
'ADMIN_LOGIN' => $mod_admin_login, 'ADMIN_LOGIN' => $mod_admin_login,
'REDIRECT_URL' => htmlCHR($redirect_url), 'REDIRECT_URL' => htmlCHR($redirect_url),
'CAPTCHA_HTML' => ($need_captcha && !$bb_cfg['captcha']['disabled']) ? bb_captcha('get') : '', 'CAPTCHA_HTML' => ($need_captcha && !$bb_cfg['captcha']['disabled']) ? bb_captcha('get') : '',

View file

@ -24,14 +24,14 @@ function return_msg_mcp($status_msg)
} }
$message = $status_msg; $message = $status_msg;
$message .= '<br /><br />'; $message .= '<br/><br/>';
if ($topic_id && $mode != 'delete') { if ($topic_id && $mode != 'delete') {
$message .= sprintf($lang['CLICK_RETURN_TOPIC'], '<a href="' . TOPIC_URL . $topic_id . '">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_TOPIC'], '<a href="' . TOPIC_URL . $topic_id . '">', '</a>');
$message .= '<br /><br />'; $message .= '<br/><br/>';
} elseif (count($req_topics) != 1) { } elseif (count($req_topics) != 1) {
$message .= sprintf($lang['CLICK_RETURN_MODCP'], '<a href="' . FORUM_URL . "$forum_id&amp;mod=1" . '">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_MODCP'], '<a href="' . FORUM_URL . "$forum_id&amp;mod=1" . '">', '</a>');
$message .= '<br /><br />'; $message .= '<br/><br/>';
} }
$message .= sprintf($lang['CLICK_RETURN_FORUM'], '<a href="' . FORUM_URL . $forum_id . '">', '</a>'); $message .= sprintf($lang['CLICK_RETURN_FORUM'], '<a href="' . FORUM_URL . $forum_id . '">', '</a>');
@ -501,7 +501,7 @@ switch ($mode) {
\TorrentPier\Legacy\Admin\Common::sync('forum', [$forum_id, $new_forum_id]); \TorrentPier\Legacy\Admin\Common::sync('forum', [$forum_id, $new_forum_id]);
//bot //bot
$message = $lang['TOPIC_SPLIT'] . '<br /><br /><a href="' . TOPIC_URL . "$topic_id&amp;sid=" . $userdata['session_id'] . '">' . $lang['TOPIC_SPLIT_OLD'] . '</a>'; $message = $lang['TOPIC_SPLIT'] . '<br/><br/><a href="' . TOPIC_URL . "$topic_id&amp;sid=" . $userdata['session_id'] . '">' . $lang['TOPIC_SPLIT_OLD'] . '</a>';
$message .= ' &nbsp;::&nbsp; <a href="' . TOPIC_URL . "$new_topic_id&amp;sid=" . $userdata['session_id'] . '">' . $lang['TOPIC_SPLIT_NEW'] . '</a>'; $message .= ' &nbsp;::&nbsp; <a href="' . TOPIC_URL . "$new_topic_id&amp;sid=" . $userdata['session_id'] . '">' . $lang['TOPIC_SPLIT_NEW'] . '</a>';
// Log action // Log action

View file

@ -344,7 +344,7 @@ if (($delete || $mode == 'delete') && !$confirm) {
$post_url = POST_URL . "$post_id#$post_id"; $post_url = POST_URL . "$post_id#$post_id";
$post_msg = ($mode == 'editpost') ? $lang['EDITED'] : $lang['STORED']; $post_msg = ($mode == 'editpost') ? $lang['EDITED'] : $lang['STORED'];
$onclick = ($mode == 'editpost') ? 'onclick="return post2url(this.href);"' : ''; $onclick = ($mode == 'editpost') ? 'onclick="return post2url(this.href);"' : '';
$return_message .= $post_msg . '<br /><br /> $return_message .= $post_msg . '<br/><br/>
<a ' . $onclick . ' href="' . $post_url . '" >' . $lang['POST_RETURN'] . '</a> <a ' . $onclick . ' href="' . $post_url . '" >' . $lang['POST_RETURN'] . '</a>
'; ';
} }
@ -419,7 +419,7 @@ if (($delete || $mode == 'delete') && !$confirm) {
<div class="warnColor1"> <div class="warnColor1">
<b>' . $lang['LOCKED_WARN'] . '</b> <b>' . $lang['LOCKED_WARN'] . '</b>
</div> </div>
<br /><hr /><br /> <br/><hr /><br/>
'; ';
$return_message = $locked_warn . $return_message; $return_message = $locked_warn . $return_message;
} }

View file

@ -783,13 +783,13 @@ if ($mode == 'read') {
} }
} else { } else {
$error = true; $error = true;
$error_msg .= ((!empty($error_msg)) ? '<br />' : '') . $lang['NO_TO_USER']; $error_msg .= ((!empty($error_msg)) ? '<br/>' : '') . $lang['NO_TO_USER'];
} }
$privmsg_subject = htmlCHR($_POST['subject']); $privmsg_subject = htmlCHR($_POST['subject']);
if (empty($privmsg_subject)) { if (empty($privmsg_subject)) {
$error = true; $error = true;
$error_msg .= ((!empty($error_msg)) ? '<br />' : '') . $lang['EMPTY_SUBJECT']; $error_msg .= ((!empty($error_msg)) ? '<br/>' : '') . $lang['EMPTY_SUBJECT'];
} }
if (!empty($_POST['message'])) { if (!empty($_POST['message'])) {
@ -798,7 +798,7 @@ if ($mode == 'read') {
} }
} else { } else {
$error = true; $error = true;
$error_msg .= ((!empty($error_msg)) ? '<br />' : '') . $lang['EMPTY_MESSAGE']; $error_msg .= ((!empty($error_msg)) ? '<br/>' : '') . $lang['EMPTY_MESSAGE'];
} }
// Check smilies limit // Check smilies limit
@ -806,7 +806,7 @@ if ($mode == 'read') {
$count_smilies = substr_count(bbcode2html($privmsg_message), '<img class="smile" src="' . $bb_cfg['smilies_path']); $count_smilies = substr_count(bbcode2html($privmsg_message), '<img class="smile" src="' . $bb_cfg['smilies_path']);
if ($count_smilies > $bb_cfg['max_smilies_pm']) { if ($count_smilies > $bb_cfg['max_smilies_pm']) {
$error = true; $error = true;
$error_msg .= ((!empty($error_msg)) ? '<br />' : '') . sprintf($lang['MAX_SMILIES_PER_POST'], $bb_cfg['max_smilies_pm']); $error_msg .= ((!empty($error_msg)) ? '<br/>' : '') . sprintf($lang['MAX_SMILIES_PER_POST'], $bb_cfg['max_smilies_pm']);
} }
} }
} }
@ -1431,12 +1431,12 @@ function pm_die($msg)
{ {
global $lang; global $lang;
$msg .= '<br /><br />'; $msg .= '<br/><br/>';
$msg .= sprintf($lang['CLICK_RETURN_INBOX'], '<a href="' . PM_URL . "?folder=inbox" . '">', '</a> '); $msg .= sprintf($lang['CLICK_RETURN_INBOX'], '<a href="' . PM_URL . "?folder=inbox" . '">', '</a> ');
$msg .= sprintf($lang['CLICK_RETURN_SENTBOX'], '<a href="' . PM_URL . "?folder=sentbox" . '">', '</a> '); $msg .= sprintf($lang['CLICK_RETURN_SENTBOX'], '<a href="' . PM_URL . "?folder=sentbox" . '">', '</a> ');
$msg .= sprintf($lang['CLICK_RETURN_OUTBOX'], '<a href="' . PM_URL . "?folder=outbox" . '">', '</a> '); $msg .= sprintf($lang['CLICK_RETURN_OUTBOX'], '<a href="' . PM_URL . "?folder=outbox" . '">', '</a> ');
$msg .= sprintf($lang['CLICK_RETURN_SAVEBOX'], '<a href="' . PM_URL . "?folder=savebox" . '">', '</a> '); $msg .= sprintf($lang['CLICK_RETURN_SAVEBOX'], '<a href="' . PM_URL . "?folder=savebox" . '">', '</a> ');
$msg .= '<br /><br />'; $msg .= '<br/><br/>';
$msg .= sprintf($lang['CLICK_RETURN_INDEX'], '<a href="' . "index.php" . '">', '</a>'); $msg .= sprintf($lang['CLICK_RETURN_INDEX'], '<a href="' . "index.php" . '">', '</a>');
bb_die($msg); bb_die($msg);

View file

@ -27,7 +27,7 @@ set_die_append_msg();
if (isset($_POST['del_my_post'])) { if (isset($_POST['del_my_post'])) {
$template->assign_var('BB_DIE_APPEND_MSG', ' $template->assign_var('BB_DIE_APPEND_MSG', '
<a href="#" onclick="window.close(); window.opener.focus();">' . $lang['GOTO_MY_MESSAGE'] . '</a> <a href="#" onclick="window.close(); window.opener.focus();">' . $lang['GOTO_MY_MESSAGE'] . '</a>
<br /><br /> <br/><br/>
<a href="index.php">' . $lang['INDEX_RETURN'] . '</a> <a href="index.php">' . $lang['INDEX_RETURN'] . '</a>
'); ');
@ -46,7 +46,7 @@ if (isset($_POST['del_my_post'])) {
} elseif (isset($_POST['add_my_post'])) { } elseif (isset($_POST['add_my_post'])) {
$template->assign_var('BB_DIE_APPEND_MSG', ' $template->assign_var('BB_DIE_APPEND_MSG', '
<a href="#" onclick="window.close(); window.opener.focus();">' . $lang['GOTO_MY_MESSAGE'] . '</a> <a href="#" onclick="window.close(); window.opener.focus();">' . $lang['GOTO_MY_MESSAGE'] . '</a>
<br /><br /> <br/><br/>
<a href="index.php">' . $lang['INDEX_RETURN'] . '</a> <a href="index.php">' . $lang['INDEX_RETURN'] . '</a>
'); ');
@ -683,7 +683,7 @@ else {
<form id="mod-action" method="POST" action="search.php"> <form id="mod-action" method="POST" action="search.php">
<input type="submit" name="add_my_post" value="' . $lang['RESTORE_ALL_POSTS'] . '" class="bold" onclick="if (!window.confirm( this.value +\'?\' )){ return false };" /> <input type="submit" name="add_my_post" value="' . $lang['RESTORE_ALL_POSTS'] . '" class="bold" onclick="if (!window.confirm( this.value +\'?\' )){ return false };" />
</form> </form>
<br /><br /> <br/><br/>
<a href="index.php">' . $lang['INDEX_RETURN'] . '</a> <a href="index.php">' . $lang['INDEX_RETURN'] . '</a>
'); ');
} }

View file

@ -664,7 +664,7 @@ class Common
// Log action // Log action
if ($del_user_posts) { if ($del_user_posts) {
$log_action->admin('mod_post_delete', ['log_msg' => 'user: ' . self::get_usernames_for_log($user_id) . "<br />posts: $deleted_posts_count"]); $log_action->admin('mod_post_delete', ['log_msg' => 'user: ' . self::get_usernames_for_log($user_id) . "<br/>posts: $deleted_posts_count"]);
} elseif (!\defined('IN_CRON')) { } elseif (!\defined('IN_CRON')) {
foreach ($log_topics as $row) { 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']]); $log_action->mod('mod_post_delete', ['forum_id' => $row['forum_id'], 'topic_id' => $row['topic_id'], 'topic_title' => $row['topic_title']]);

View file

@ -129,7 +129,7 @@ class Cron
$langmode = $lang['TITLE_DUPLICATE']; $langmode = $lang['TITLE_DUPLICATE'];
} }
$message = $langmode . "<br /><br />" . sprintf($lang['CLICK_RETURN_JOBS_ADDED'], "<a href=\"javascript:history.back(-1)\">", "</a>") . "<br /><br />" . sprintf($lang['CLICK_RETURN_JOBS'], "<a href=\"admin_cron.php?mode=list\">", "</a>") . "<br /><br />" . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], "<a href=\"index.php?pane=right\">", "</a>"); $message = $langmode . "<br/><br/>" . sprintf($lang['CLICK_RETURN_JOBS_ADDED'], "<a href=\"javascript:history.back(-1)\">", "</a>") . "<br/><br/>" . sprintf($lang['CLICK_RETURN_JOBS'], "<a href=\"admin_cron.php?mode=list\">", "</a>") . "<br/><br/>" . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], "<a href=\"index.php?pane=right\">", "</a>");
bb_die($message); bb_die($message);
} }

View file

@ -291,7 +291,7 @@ class Attach
} else { } else {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['TOO_MANY_ATTACHMENTS'], (int)$max_attachments); $error_msg .= sprintf($lang['TOO_MANY_ATTACHMENTS'], (int)$max_attachments);
} }
@ -411,7 +411,7 @@ class Attach
if (empty($this->filename)) { if (empty($this->filename)) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= $lang['ERROR_EMPTY_ADD_ATTACHBOX']; $error_msg .= $lang['ERROR_EMPTY_ADD_ATTACHBOX'];
} }
@ -443,7 +443,7 @@ class Attach
if (DB()->num_rows($result) != 1) { if (DB()->num_rows($result) != 1) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= $lang['ERROR_MISSING_OLD_ENTRY']; $error_msg .= $lang['ERROR_MISSING_OLD_ENTRY'];
} }
@ -519,7 +519,7 @@ class Attach
} else { } else {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['TOO_MANY_ATTACHMENTS'], (int)$max_attachments); $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); $sql = 'INSERT INTO ' . BB_ATTACHMENTS_DESC . ' ' . DB()->build_array('INSERT', $sql_ary);
if (!(DB()->sql_query($sql))) { if (!(DB()->sql_query($sql))) {
bb_die('Could not store Attachment.<br />Your ' . $message_type . ' has been stored'); bb_die('Could not store Attachment.<br/>Your ' . $message_type . ' has been stored');
} }
$attach_id = DB()->sql_nextid(); $attach_id = DB()->sql_nextid();
@ -607,7 +607,7 @@ class Attach
$sql = 'INSERT INTO ' . BB_ATTACHMENTS . ' ' . DB()->build_array('INSERT', $sql_ary); $sql = 'INSERT INTO ' . BB_ATTACHMENTS . ' ' . DB()->build_array('INSERT', $sql_ary);
if (!(DB()->sql_query($sql))) { if (!(DB()->sql_query($sql))) {
bb_die('Could not store Attachment.<br />Your ' . $message_type . ' has been stored'); bb_die('Could not store Attachment.<br/>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 // Inform the user that his post has been created, but nothing is attached
if (!(DB()->sql_query($sql))) { if (!(DB()->sql_query($sql))) {
bb_die('Could not store Attachment.<br />Your ' . $message_type . ' has been stored'); bb_die('Could not store Attachment.<br/>Your ' . $message_type . ' has been stored');
} }
$attach_id = DB()->sql_nextid(); $attach_id = DB()->sql_nextid();
@ -647,7 +647,7 @@ class Attach
$sql = 'INSERT INTO ' . BB_ATTACHMENTS . ' ' . DB()->build_array('INSERT', $sql_ary); $sql = 'INSERT INTO ' . BB_ATTACHMENTS . ' ' . DB()->build_array('INSERT', $sql_ary);
if (!(DB()->sql_query($sql))) { if (!(DB()->sql_query($sql))) {
bb_die('Could not store Attachment.<br />Your ' . $message_type . ' has been stored'); bb_die('Could not store Attachment.<br/>Your ' . $message_type . ' has been stored');
} }
} }
} }
@ -794,7 +794,7 @@ class Attach
if (preg_match("#[\\/:*?\"<>|]#i", $this->filename)) { if (preg_match("#[\\/:*?\"<>|]#i", $this->filename)) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['INVALID_FILENAME'], htmlspecialchars($this->filename)); $error_msg .= sprintf($lang['INVALID_FILENAME'], htmlspecialchars($this->filename));
} }
@ -803,7 +803,7 @@ class Attach
if (!$error && $file === 'none') { if (!$error && $file === 'none') {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$ini_val = 'ini_get'; $ini_val = 'ini_get';
@ -820,7 +820,7 @@ class Attach
if (!$error && (int)$row['allow_group'] == 0) { if (!$error && (int)$row['allow_group'] == 0) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['DISALLOWED_EXTENSION'], htmlspecialchars($this->extension)); $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)) { if (!$error && !IS_ADMIN && !is_forum_authed($auth_cache, $forum_id) && trim($auth_cache)) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['DISALLOWED_EXTENSION_WITHIN_FORUM'], htmlspecialchars($this->extension)); $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) { if (!$error && $this->extension === TORRENT_EXT && in_array(TORRENT_EXT, $this->attachment_extension_list) && !$update_attachment) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= $lang['ONLY_1_TOR_PER_TOPIC']; $error_msg .= $lang['ONLY_1_TOR_PER_TOPIC'];
} }
@ -849,7 +849,7 @@ class Attach
if (!$error && $this->extension === TORRENT_EXT && !$post_data['first_post']) { if (!$error && $this->extension === TORRENT_EXT && !$post_data['first_post']) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= $lang['ALLOWED_ONLY_1ST_POST_ATTACH']; $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']) { if ($width > (int)$attach_config['img_max_width'] || $height > (int)$attach_config['img_max_height']) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['ERROR_IMAGESIZE'], (int)$attach_config['img_max_width'], (int)$attach_config['img_max_height']); $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; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['ATTACHMENT_TOO_BIG'], $allowed_filesize); $error_msg .= sprintf($lang['ATTACHMENT_TOO_BIG'], $allowed_filesize);
} }
@ -937,7 +937,7 @@ class Attach
if (($total_filesize + $this->filesize) > $attach_config['attachment_quota']) { if (($total_filesize + $this->filesize) > $attach_config['attachment_quota']) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= $lang['ATTACH_QUOTA_REACHED']; $error_msg .= $lang['ATTACH_QUOTA_REACHED'];
} }
@ -995,7 +995,7 @@ class Attach
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['USER_UPLOAD_QUOTA_REACHED'], $upload_filesize_limit, $size_lang); $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))) { if (!@move_uploaded_file($file, $upload_dir . '/' . basename($this->attach_filename))) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['GENERAL_UPLOAD_ERROR'], './' . $upload_dir . '/' . $this->attach_filename); $error_msg .= sprintf($lang['GENERAL_UPLOAD_ERROR'], './' . $upload_dir . '/' . $this->attach_filename);
return; return;
@ -1041,7 +1041,7 @@ class Attach
if (!@copy($file, $upload_dir . '/' . basename($this->attach_filename))) { if (!@copy($file, $upload_dir . '/' . basename($this->attach_filename))) {
$error = true; $error = true;
if (!empty($error_msg)) { if (!empty($error_msg)) {
$error_msg .= '<br />'; $error_msg .= '<br/>';
} }
$error_msg .= sprintf($lang['GENERAL_UPLOAD_ERROR'], './' . $upload_dir . '/' . $this->attach_filename); $error_msg .= sprintf($lang['GENERAL_UPLOAD_ERROR'], './' . $upload_dir . '/' . $this->attach_filename);
return; return;

View file

@ -361,8 +361,8 @@ class BBCode
*/ */
private function new_line2html(string $text): string private function new_line2html(string $text): string
{ {
$text = preg_replace('#\n{2,}#', '<span class="post-br"><br /></span>', $text); $text = preg_replace('#\n{2,}#', '<span class="post-br"><br/></span>', $text);
return str_replace("\n", '<br />', $text); return str_replace("\n", '<br/>', $text);
} }
/** /**

View file

@ -50,13 +50,13 @@ class Post
if (!empty($subject)) { if (!empty($subject)) {
$subject = str_replace('&amp;', '&', $subject); $subject = str_replace('&amp;', '&', $subject);
} elseif ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) { } elseif ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) {
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['EMPTY_SUBJECT'] : $lang['EMPTY_SUBJECT']; $error_msg .= (!empty($error_msg)) ? '<br/>' . $lang['EMPTY_SUBJECT'] : $lang['EMPTY_SUBJECT'];
} }
// Check message // Check message
if (!empty($message)) { if (!empty($message)) {
} elseif ($mode != 'delete') { } elseif ($mode != 'delete') {
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['EMPTY_MESSAGE'] : $lang['EMPTY_MESSAGE']; $error_msg .= (!empty($error_msg)) ? '<br/>' . $lang['EMPTY_MESSAGE'] : $lang['EMPTY_MESSAGE'];
} }
// Check smilies limit // Check smilies limit
@ -64,12 +64,12 @@ class Post
$count_smilies = substr_count(bbcode2html($message), '<img class="smile" src="' . $bb_cfg['smilies_path']); $count_smilies = substr_count(bbcode2html($message), '<img class="smile" src="' . $bb_cfg['smilies_path']);
if ($count_smilies > $bb_cfg['max_smilies']) { if ($count_smilies > $bb_cfg['max_smilies']) {
$to_many_smilies = sprintf($lang['MAX_SMILIES_PER_POST'], $bb_cfg['max_smilies']); $to_many_smilies = sprintf($lang['MAX_SMILIES_PER_POST'], $bb_cfg['max_smilies']);
$error_msg .= (!empty($error_msg)) ? '<br />' . $to_many_smilies : $to_many_smilies; $error_msg .= (!empty($error_msg)) ? '<br/>' . $to_many_smilies : $to_many_smilies;
} }
} }
if (IS_GUEST && !$bb_cfg['captcha']['disabled'] && !bb_captcha('check')) { if (IS_GUEST && !$bb_cfg['captcha']['disabled'] && !bb_captcha('check')) {
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['CAPTCHA_WRONG'] : $lang['CAPTCHA_WRONG']; $error_msg .= (!empty($error_msg)) ? '<br/>' . $lang['CAPTCHA_WRONG'] : $lang['CAPTCHA_WRONG'];
} }
} }

View file

@ -949,7 +949,7 @@ class SqlDb
<tr><td colspan="2">' . $this->explain_hold . '</td></tr> <tr><td colspan="2">' . $this->explain_hold . '</td></tr>
</table> </table>
<div class="sqlLog"><div id="' . $htid . '" class="sqlLogRow sqlExplain" style="padding: 0;">' . Dev::shortQuery($dbg['sql'], true) . '&nbsp;&nbsp;</div></div> <div class="sqlLog"><div id="' . $htid . '" class="sqlLogRow sqlExplain" style="padding: 0;">' . Dev::shortQuery($dbg['sql'], true) . '&nbsp;&nbsp;</div></div>
<br />'; <br/>';
break; break;
case 'add_explain_row': case 'add_explain_row':
@ -964,7 +964,7 @@ class SqlDb
$this->explain_hold .= '<tr>'; $this->explain_hold .= '<tr>';
foreach (array_values($row) as $i => $val) { foreach (array_values($row) as $i => $val) {
$class = !($i % 2) ? 'row1' : 'row2'; $class = !($i % 2) ? 'row1' : 'row2';
$this->explain_hold .= '<td class="' . $class . ' gen">' . str_replace(["{$this->selected_db}.", ',', ';'], ['', ', ', ';<br />'], $val ?? '') . '</td>'; $this->explain_hold .= '<td class="' . $class . ' gen">' . str_replace(["{$this->selected_db}.", ',', ';'], ['', ', ', ';<br/>'], $val ?? '') . '</td>';
} }
$this->explain_hold .= '</tr>'; $this->explain_hold .= '</tr>';

View file

@ -204,7 +204,7 @@ class Template
if ($quiet) { if ($quiet) {
return false; return false;
} }
die('Template->make_filename(): Error - template file not found: <br /><br />' . hide_bb_path($this->files[$handle])); die('Template->make_filename(): Error - template file not found: <br/><br/>' . hide_bb_path($this->files[$handle]));
} }
// checking if we should recompile cache // checking if we should recompile cache
if (!empty($this->files_cache[$handle])) { if (!empty($this->files_cache[$handle])) {

View file

@ -333,7 +333,7 @@ class Torrent
$filename = get_attachments_dir() . '/' . $torrent['physical_filename']; $filename = get_attachments_dir() . '/' . $torrent['physical_filename'];
if (!is_file($filename)) { if (!is_file($filename)) {
self::torrent_error_exit($lang['ERROR_NO_ATTACHMENT'] . '<br /><br />' . htmlCHR($filename)); self::torrent_error_exit($lang['ERROR_NO_ATTACHMENT'] . '<br/><br/>' . htmlCHR($filename));
} }
$file_contents = file_get_contents($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; $dl_fname = html_entity_decode($topic_title, ENT_QUOTES, 'UTF-8') . ' [' . $bb_cfg['server_name'] . '-' . $topic_id . ']' . '.' . TORRENT_EXT;
if (!empty($_COOKIE['explain'])) { if (!empty($_COOKIE['explain'])) {
$out = "attach path: $filename<br /><br />"; $out = "attach path: $filename<br/><br/>";
$tor['info']['pieces'] = '[...] ' . strlen($tor['info']['pieces']) . ' bytes'; $tor['info']['pieces'] = '[...] ' . strlen($tor['info']['pieces']) . ' bytes';
$out .= print_r($tor, true); $out .= print_r($tor, true);
bb_die("<pre>$out</pre>"); bb_die("<pre>$out</pre>");
@ -789,9 +789,9 @@ class Torrent
if (isset($reg_mode) && ($reg_mode == 'request' || $reg_mode == 'newtopic')) { if (isset($reg_mode) && ($reg_mode == 'request' || $reg_mode == 'newtopic')) {
if (isset($return_message)) { if (isset($return_message)) {
$msg .= $return_message . '<br /><br /><hr /><br />'; $msg .= $return_message . '<br/><br/><hr /><br/>';
} }
$msg .= '<b>' . $lang['BT_REG_FAIL'] . '</b><br /><br />'; $msg .= '<b>' . $lang['BT_REG_FAIL'] . '</b><br/><br/>';
} }
bb_die($msg . $message); bb_die($msg . $message);

View file

@ -441,7 +441,7 @@ $(document).ready(function () {
status = ''; status = '';
text = 'invalid data format'; text = 'invalid data format';
} }
$(this).html("Error in: <i>" + ajax.url + "</i><br /><b>" + status + " " + text + "</b>").show(); $(this).html("Error in: <i>" + ajax.url + "</i><br/><b>" + status + " " + text + "</b>").show();
ajax.setStatusBoxPosition($(this)); ajax.setStatusBoxPosition($(this));
}); });

View file

@ -1,7 +1,7 @@
<h1>{L_CONTROL_PANEL_TITLE}</h1> <h1>{L_CONTROL_PANEL_TITLE}</h1>
<p>{L_CONTROL_PANEL_EXPLAIN}</p> <p>{L_CONTROL_PANEL_EXPLAIN}</p>
<br /> <br/>
<!-- IF TPL_ATTACH_STATISTICS --> <!-- IF TPL_ATTACH_STATISTICS -->
<!--========================================================================--> <!--========================================================================-->
@ -237,4 +237,4 @@
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_ATTACH_ATTACHMENTS --> <!-- ENDIF / TPL_ATTACH_ATTACHMENTS -->
<br /> <br/>

View file

@ -4,33 +4,33 @@
<h1>{L_MANAGE_CATEGORIES}</h1> <h1>{L_MANAGE_CATEGORIES}</h1>
<p>{L_MANAGE_CATEGORIES_EXPLAIN}</p> <p>{L_MANAGE_CATEGORIES_EXPLAIN}</p>
<br /> <br/>
<form action="{S_ATTACH_ACTION}" method="post"> <form action="{S_ATTACH_ACTION}" method="post">
<table class="forumline"> <table class="forumline">
<tr> <tr>
<th colspan="2">{L_SETTINGS_CAT_IMAGES}<br />{L_ASSIGNED_GROUP}: {S_ASSIGNED_GROUP_IMAGES}</th> <th colspan="2">{L_SETTINGS_CAT_IMAGES}<br/>{L_ASSIGNED_GROUP}: {S_ASSIGNED_GROUP_IMAGES}</th>
</tr> </tr>
<tr> <tr>
<td class="row1" width="80%">{L_DISPLAY_INLINED}<br /><span class="small">{L_DISPLAY_INLINED_EXPLAIN}</span></td> <td class="row1" width="80%">{L_DISPLAY_INLINED}<br/><span class="small">{L_DISPLAY_INLINED_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="img_display_inlined" value="1" {DISPLAY_INLINED_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="img_display_inlined" value="0" {DISPLAY_INLINED_NO} /> {L_NO}</td> <td class="row2"><input type="radio" name="img_display_inlined" value="1" {DISPLAY_INLINED_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="img_display_inlined" value="0" {DISPLAY_INLINED_NO} /> {L_NO}</td>
</tr> </tr>
<!-- BEGIN switch_thumbnail_support --> <!-- BEGIN switch_thumbnail_support -->
<tr> <tr>
<td class="row1" width="80%">{L_IMAGE_CREATE_THUMBNAIL}<br /></td> <td class="row1" width="80%">{L_IMAGE_CREATE_THUMBNAIL}<br/></td>
<td class="row2"><input type="radio" name="img_create_thumbnail" value="1" {CREATE_THUMBNAIL_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="img_create_thumbnail" value="0" {CREATE_THUMBNAIL_NO} /> {L_NO}</td> <td class="row2"><input type="radio" name="img_create_thumbnail" value="1" {CREATE_THUMBNAIL_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="img_create_thumbnail" value="0" {CREATE_THUMBNAIL_NO} /> {L_NO}</td>
</tr> </tr>
<tr> <tr>
<td class="row1" width="80%">{L_IMAGE_MIN_THUMB_FILESIZE}<br /><span class="small">{L_IMAGE_MIN_THUMB_FILESIZE_EXPLAIN}</span></td> <td class="row1" width="80%">{L_IMAGE_MIN_THUMB_FILESIZE}<br/><span class="small">{L_IMAGE_MIN_THUMB_FILESIZE_EXPLAIN}</span></td>
<td class="row2"><input type="text" size="7" maxlength="15" name="img_min_thumb_filesize" value="{IMAGE_MIN_THUMB_FILESIZE}" class="post" /> {L_BYTES}</td> <td class="row2"><input type="text" size="7" maxlength="15" name="img_min_thumb_filesize" value="{IMAGE_MIN_THUMB_FILESIZE}" class="post" /> {L_BYTES}</td>
</tr> </tr>
<!-- END switch_thumbnail_support --> <!-- END switch_thumbnail_support -->
<tr> <tr>
<td class="row1" width="80%">{L_MAX_IMAGE_SIZE} <br /><span class="small">{L_MAX_IMAGE_SIZE_EXPLAIN}</span></td> <td class="row1" width="80%">{L_MAX_IMAGE_SIZE} <br/><span class="small">{L_MAX_IMAGE_SIZE_EXPLAIN}</span></td>
<td class="row2"><input type="text" size="3" maxlength="4" name="img_max_width" value="{IMAGE_MAX_WIDTH}" class="post" /> x <input type="text" size="3" maxlength="4" name="img_max_height" value="{IMAGE_MAX_HEIGHT}" class="post" /></td> <td class="row2"><input type="text" size="3" maxlength="4" name="img_max_width" value="{IMAGE_MAX_WIDTH}" class="post" /> x <input type="text" size="3" maxlength="4" name="img_max_height" value="{IMAGE_MAX_HEIGHT}" class="post" /></td>
</tr> </tr>
<tr> <tr>
<td class="row1" width="80%">{L_IMAGE_LINK_SIZE} <br /><span class="small">{L_IMAGE_LINK_SIZE_EXPLAIN}</span></td> <td class="row1" width="80%">{L_IMAGE_LINK_SIZE} <br/><span class="small">{L_IMAGE_LINK_SIZE_EXPLAIN}</span></td>
<td class="row2"><input type="text" size="3" maxlength="4" name="img_link_width" value="{IMAGE_LINK_WIDTH}" class="post" /> x <input type="text" size="3" maxlength="4" name="img_link_height" value="{IMAGE_LINK_HEIGHT}" class="post" /></td> <td class="row2"><input type="text" size="3" maxlength="4" name="img_link_width" value="{IMAGE_LINK_WIDTH}" class="post" /> x <input type="text" size="3" maxlength="4" name="img_link_height" value="{IMAGE_LINK_HEIGHT}" class="post" /></td>
</tr> </tr>
<tr> <tr>
@ -48,7 +48,7 @@
<h1>{L_ATTACH_SETTINGS}</h1> <h1>{L_ATTACH_SETTINGS}</h1>
<p>{L_MANAGE_ATTACHMENTS_EXPLAIN}</p> <p>{L_MANAGE_ATTACHMENTS_EXPLAIN}</p>
<br /> <br/>
<form action="{S_ATTACH_ACTION}" method="post"> <form action="{S_ATTACH_ACTION}" method="post">
<table class="forumline"> <table class="forumline">
@ -147,7 +147,7 @@
<h1>{L_MANAGE_QUOTAS}</h1> <h1>{L_MANAGE_QUOTAS}</h1>
<p>{L_MANAGE_QUOTAS_EXPLAIN}</p> <p>{L_MANAGE_QUOTAS_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_ATTACH_ACTION}"> <form method="post" action="{S_ATTACH_ACTION}">
<table class="forumline"> <table class="forumline">

View file

@ -2,11 +2,11 @@
<h1>{L_GENERAL_CONFIG}</h1> <h1>{L_GENERAL_CONFIG}</h1>
<p>{L_CONFIG_EXPLAIN}</p> <p>{L_CONFIG_EXPLAIN}</p>
<br /> <br/>
<a href="admin_board.php?mode=config" class="bold">{L_GENERAL_CONFIG}</a> &#0183; <a href="admin_board.php?mode=config" class="bold">{L_GENERAL_CONFIG}</a> &#0183;
<a href="admin_board.php?mode=config_mods">{L_CONFIG_MODS}</a> <a href="admin_board.php?mode=config_mods">{L_CONFIG_MODS}</a>
<br /><br /> <br/><br/>
<form action="{S_CONFIG_ACTION}" method="post"> <form action="{S_CONFIG_ACTION}" method="post">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -149,11 +149,11 @@
<h1>{L_CONFIG_MODS}</h1> <h1>{L_CONFIG_MODS}</h1>
<p>{L_MODS_EXPLAIN}</p> <p>{L_MODS_EXPLAIN}</p>
<br /> <br/>
<a href="admin_board.php?mode=config">{L_GENERAL_CONFIG}</a> &#0183; <a href="admin_board.php?mode=config">{L_GENERAL_CONFIG}</a> &#0183;
<a href="admin_board.php?mode=config_mods" class="bold">{L_CONFIG_MODS}</a> <a href="admin_board.php?mode=config_mods" class="bold">{L_CONFIG_MODS}</a>
<br /><br /> <br/><br/>
<form action="{S_CONFIG_ACTION}" method="post"> <form action="{S_CONFIG_ACTION}" method="post">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -318,7 +318,7 @@
<tr id="seed_bonus_{seed_bonus.RELEASE}"> <tr id="seed_bonus_{seed_bonus.RELEASE}">
<td>{L_SEED_BONUS_ADD}</td> <td>{L_SEED_BONUS_ADD}</td>
<td> <td>
<input class="post" type="text" size="5" name="seed_bonus_release[]" value="{seed_bonus.RELEASE}" />&nbsp;{L_SEED_BONUS_RELEASE} <br /> <input class="post" type="text" size="5" name="seed_bonus_release[]" value="{seed_bonus.RELEASE}" />&nbsp;{L_SEED_BONUS_RELEASE} <br/>
<input class="post" type="text" size="5" name="seed_bonus_points[]" value="{seed_bonus.POINTS}" />&nbsp;{L_SEED_BONUS_POINTS} &nbsp; <input class="post" type="text" size="5" name="seed_bonus_points[]" value="{seed_bonus.POINTS}" />&nbsp;{L_SEED_BONUS_POINTS} &nbsp;
<input onclick="$('#seed_bonus_{seed_bonus.RELEASE}').remove();" class="post" type="button" size="2" value="{L_DELETE}" /> <input onclick="$('#seed_bonus_{seed_bonus.RELEASE}').remove();" class="post" type="button" size="2" value="{L_DELETE}" />
</td> </td>
@ -328,7 +328,7 @@
<tr id="seed_bonus"> <tr id="seed_bonus">
<td>{L_SEED_BONUS_ADD}</td> <td>{L_SEED_BONUS_ADD}</td>
<td> <td>
<input class="post" type="text" size="5" name="seed_bonus_release[]" value="" />&nbsp;{L_SEED_BONUS_RELEASE} <br /> <input class="post" type="text" size="5" name="seed_bonus_release[]" value="" />&nbsp;{L_SEED_BONUS_RELEASE} <br/>
<input class="post" type="text" size="5" name="seed_bonus_points[]" value="" />&nbsp;{L_SEED_BONUS_POINTS} <input class="post" type="text" size="5" name="seed_bonus_points[]" value="" />&nbsp;{L_SEED_BONUS_POINTS}
<input onclick="$('#seed_bonus').clone().appendTo('.seed_bonus');" class="post" type="button" size="2" value="+" /> <input onclick="$('#seed_bonus').clone().appendTo('.seed_bonus');" class="post" type="button" size="2" value="+" />
<input onclick="$('#seed_bonus').remove();" class="post" type="button" size="2" value="-" /> <input onclick="$('#seed_bonus').remove();" class="post" type="button" size="2" value="-" />
@ -351,7 +351,7 @@
<tr id="bonus_upload_{bonus_upload.UP}"> <tr id="bonus_upload_{bonus_upload.UP}">
<td><h4>{L_SEED_BONUS_ROPORTION}</h4><h6></h6></td> <td><h4>{L_SEED_BONUS_ROPORTION}</h4><h6></h6></td>
<td> <td>
<input class="post" type="text" size="5" name="bonus_upload[]" value="{bonus_upload.UP}" />&nbsp;{L_GB} <br /> <input class="post" type="text" size="5" name="bonus_upload[]" value="{bonus_upload.UP}" />&nbsp;{L_GB} <br/>
<input class="post" type="text" size="5" name="bonus_upload_price[]" value="{bonus_upload.PRICE}" />&nbsp;{L_PRICE} <input class="post" type="text" size="5" name="bonus_upload_price[]" value="{bonus_upload.PRICE}" />&nbsp;{L_PRICE}
<input onclick="$('#bonus_upload_{bonus_upload.UP}').remove();" class="post" type="button" size="2" value="{L_DELETE}" /> <input onclick="$('#bonus_upload_{bonus_upload.UP}').remove();" class="post" type="button" size="2" value="{L_DELETE}" />
</td> </td>
@ -361,7 +361,7 @@
<tr id="bonus_upload"> <tr id="bonus_upload">
<td><h4>{L_SEED_BONUS_ROPORTION}</h4><h6></h6></td> <td><h4>{L_SEED_BONUS_ROPORTION}</h4><h6></h6></td>
<td> <td>
<input class="post" type="text" size="5" name="bonus_upload[]" value="" />&nbsp;{L_GB} <br /> <input class="post" type="text" size="5" name="bonus_upload[]" value="" />&nbsp;{L_GB} <br/>
<input class="post" type="text" size="5" name="bonus_upload_price[]" value="" />&nbsp;{L_PRICE} <input class="post" type="text" size="5" name="bonus_upload_price[]" value="" />&nbsp;{L_PRICE}
<input onclick="$('#bonus_upload').clone().appendTo('.bonus_upload');" class="post" type="button" size="2" value="+" /> <input onclick="$('#bonus_upload').clone().appendTo('.bonus_upload');" class="post" type="button" size="2" value="+" />
<input onclick="$('#bonus_upload').remove();" class="post" type="button" size="2" value="-" /> <input onclick="$('#bonus_upload').remove();" class="post" type="button" size="2" value="-" />

View file

@ -55,7 +55,7 @@ tr.hl-tr:hover td { background-color: #CFC !important; }
</td> </td>
</tr> </tr>
</table> </table>
<br /> <br/>
<table class="forumline"> <table class="forumline">
<!-- IF not CRON_ENABLED --> <!-- IF not CRON_ENABLED -->
@ -117,7 +117,7 @@ tr.hl-tr:hover td { background-color: #CFC !important; }
</tr> </tr>
</table> </table>
</form> </form>
<br /> <br/>
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_CRON_LIST --> <!-- ENDIF / TPL_CRON_LIST -->
@ -125,7 +125,7 @@ tr.hl-tr:hover td { background-color: #CFC !important; }
<h1>{L_CRON_EDIT_HEAD_EDIT}</h1> <h1>{L_CRON_EDIT_HEAD_EDIT}</h1>
<a href="admin_cron.php?mode=list">{L_CRON_LIST}</a> <a href="admin_cron.php?mode=list">{L_CRON_LIST}</a>
<br /><br /> <br/><br/>
<form action="{S_CRON_ACTION}" method="post"> <form action="{S_CRON_ACTION}" method="post">
<input class="text" type="hidden" name="mode" value="{S_MODE}" /> <input class="text" type="hidden" name="mode" value="{S_MODE}" />

View file

@ -4,7 +4,7 @@
<h1>{L_MANAGE_EXTENSIONS}</h1> <h1>{L_MANAGE_EXTENSIONS}</h1>
<p>{L_MANAGE_EXTENSIONS_EXPLAIN}</p> <p>{L_MANAGE_EXTENSIONS_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_ATTACH_ACTION}"> <form method="post" action="{S_ATTACH_ACTION}">
<table class="forumline"> <table class="forumline">
@ -62,7 +62,7 @@
<h1>{L_MANAGE_EXTENSION_GROUPS}</h1> <h1>{L_MANAGE_EXTENSION_GROUPS}</h1>
<p>{L_MANAGE_EXTENSION_GROUPS_EXPLAIN}</p> <p>{L_MANAGE_EXTENSION_GROUPS_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_ATTACH_ACTION}"> <form method="post" action="{S_ATTACH_ACTION}">
<table class="forumline"> <table class="forumline">
@ -160,7 +160,7 @@
<h1>{L_GROUP_PERMISSIONS_TITLE}</h1> <h1>{L_GROUP_PERMISSIONS_TITLE}</h1>
<p>{L_GROUP_PERMISSIONS_EXPLAIN}</p> <p>{L_GROUP_PERMISSIONS_EXPLAIN}</p>
<br /> <br/>
<table width="100%"> <table width="100%">
<tr> <tr>

View file

@ -6,7 +6,7 @@
<h2>{L_FORUM}: {FORUM_NAME}</h2> <h2>{L_FORUM}: {FORUM_NAME}</h2>
<!-- ENDIF --> <!-- ENDIF -->
<br /> <br/>
<form action="{S_PRUNE_ACTION}" method="post"> <form action="{S_PRUNE_ACTION}" method="post">

View file

@ -1,12 +1,12 @@
<h1>{L_AUTH_CONTROL_FORUM}</h1> <h1>{L_AUTH_CONTROL_FORUM}</h1>
<p>{L_FORUM_AUTH_EXPLAIN}</p> <p>{L_FORUM_AUTH_EXPLAIN}</p>
<br /> <br/>
<!-- IF TPL_AUTH_SELECT_FORUM --> <!-- IF TPL_AUTH_SELECT_FORUM -->
<!--========================================================================--> <!--========================================================================-->
<br /> <br/>
<form method="post" action="{S_AUTH_ACTION}"> <form method="post" action="{S_AUTH_ACTION}">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -25,7 +25,7 @@
</form> </form>
<br /><br /><br /><br /> <br/><br/><br/><br/>
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_AUTH_SELECT_FORUM --> <!-- ENDIF / TPL_AUTH_SELECT_FORUM -->

View file

@ -4,7 +4,7 @@
<h1>{L_AUTH_CONTROL_CATEGORY}</h1> <h1>{L_AUTH_CONTROL_CATEGORY}</h1>
<p>{L_FORUM_AUTH_LIST_EXPLAIN}</p> <p>{L_FORUM_AUTH_LIST_EXPLAIN}</p>
<br /> <br/>
<table class="forumline med"> <table class="forumline med">
<tr> <tr>
@ -27,7 +27,7 @@
<!-- END forum_row --> <!-- END forum_row -->
<!-- END cat_row --> <!-- END cat_row -->
</table> </table>
<br /> <br/>
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_AUTH_FORUM_LIST --> <!-- ENDIF / TPL_AUTH_FORUM_LIST -->
@ -62,7 +62,7 @@
<!-- END forum_row --> <!-- END forum_row -->
<!-- END cat_row --> <!-- END cat_row -->
</table> </table>
<br /> <br/>
<form method="post" action="{S_FORUMAUTH_ACTION}"> <form method="post" action="{S_FORUMAUTH_ACTION}">
<table class="forumline med"> <table class="forumline med">

View file

@ -19,7 +19,7 @@ function toggle_cat_list (val)
<h1>{L_FORUM_TITLE}</h1> <h1>{L_FORUM_TITLE}</h1>
<p>{L_FORUM_EDIT_DELETE_EXPLAIN}</p> <p>{L_FORUM_EDIT_DELETE_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_FORUM_ACTION}" name="frm"> <form method="post" action="{S_FORUM_ACTION}" name="frm">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -93,7 +93,7 @@ function toggle_cat_list (val)
<h1>{L_EDIT_CATEGORY}</h1> <h1>{L_EDIT_CATEGORY}</h1>
<p>{L_EDIT_CATEGORY_EXPLAIN}</p> <p>{L_EDIT_CATEGORY_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_FORUM_ACTION}"> <form method="post" action="{S_FORUM_ACTION}">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -123,7 +123,7 @@ function toggle_cat_list (val)
<h1>{DELETE_TITLE}</h1> <h1>{DELETE_TITLE}</h1>
<p>{L_FORUM_DELETE_EXPLAIN}</p> <p>{L_FORUM_DELETE_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_FORUM_ACTION}"> <form method="post" action="{S_FORUM_ACTION}">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -179,7 +179,7 @@ function hl (id, on)
<h1>{L_FORUM_TITLE} <!-- IF FORUMS_COUNT --><b class="gen">[{L_FORUMS_IN_CAT}: {FORUMS_COUNT}]</b><!-- ENDIF --></h1> <h1>{L_FORUM_TITLE} <!-- IF FORUMS_COUNT --><b class="gen">[{L_FORUMS_IN_CAT}: {FORUMS_COUNT}]</b><!-- ENDIF --></h1>
<p>{L_FORUM_EDIT_DELETE_EXPLAIN}</p> <p>{L_FORUM_EDIT_DELETE_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_FORUM_ACTION}"> <form method="post" action="{S_FORUM_ACTION}">
@ -234,9 +234,9 @@ function hl (id, on)
</form> </form>
<br /> <br/>
<p><a href="{U_ALL_FORUMS}"><b>{L_SHOW_ALL_FORUMS_ON_ONE_PAGE}</b></a></p> <p><a href="{U_ALL_FORUMS}"><b>{L_SHOW_ALL_FORUMS_ON_ONE_PAGE}</b></a></p>
<br /> <br/>
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_FORUMS_LIST --> <!-- ENDIF / TPL_FORUMS_LIST -->

View file

@ -80,7 +80,7 @@
<p>{L_GROUP_ADMIN_EXPLAIN}</p> <p>{L_GROUP_ADMIN_EXPLAIN}</p>
<br /><br /> <br/><br/>
<form method="post" action="{S_GROUP_ACTION}"> <form method="post" action="{S_GROUP_ACTION}">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -102,7 +102,7 @@
</table> </table>
</form> </form>
<br /><br /><br /><br /> <br/><br/><br/><br/>
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_GROUP_SELECT --> <!-- ENDIF / TPL_GROUP_SELECT -->

View file

@ -4,7 +4,7 @@
<h1>{L_RANKS_TITLE}</h1> <h1>{L_RANKS_TITLE}</h1>
<p>{L_RANKS_EXPLAIN}</p> <p>{L_RANKS_EXPLAIN}</p>
<br /> <br/>
<form action="{S_RANK_ACTION}" method="post"> <form action="{S_RANK_ACTION}" method="post">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -22,7 +22,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="40%"><h4>{L_STYLE_COLOR}</h4><br /> <td width="40%"><h4>{L_STYLE_COLOR}</h4><br/>
<h6>{L_STYLE_COLOR_FAQ}</h6> <h6>{L_STYLE_COLOR_FAQ}</h6>
</td> </td>
<td> <td>
@ -30,11 +30,11 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td valign="top"><h4>{L_RANK_IMAGE}:</h4><br /> <td valign="top"><h4>{L_RANK_IMAGE}:</h4><br/>
<h6>{L_RANK_IMAGE_EXPLAIN}</h6></td> <h6>{L_RANK_IMAGE_EXPLAIN}</h6></td>
<td> <td>
<input class="post" type="text" name="rank_image" size="60" maxlength="255" value="{IMAGE}" /> <input class="post" type="text" name="rank_image" size="60" maxlength="255" value="{IMAGE}" />
<br /><br /> <br/><br/>
{IMAGE_DISPLAY} {IMAGE_DISPLAY}
</td> </td>
</tr> </tr>
@ -57,7 +57,7 @@
<h1>{L_RANKS_TITLE}</h1> <h1>{L_RANKS_TITLE}</h1>
<p>{L_RANKS_EXPLAIN}</p> <p>{L_RANKS_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_RANKS_ACTION}"> <form method="post" action="{S_RANKS_ACTION}">

View file

@ -43,7 +43,7 @@ function swap_values()
<p>{L_REBUILD_SEARCH_DESC}</p> <p>{L_REBUILD_SEARCH_DESC}</p>
<br /> <br/>
<form name="rebuild" method="post" action="{S_REBUILD_SEARCH_ACTION}" onsubmit="update_button(rebuild.submit);"> <form name="rebuild" method="post" action="{S_REBUILD_SEARCH_ACTION}" onsubmit="update_button(rebuild.submit);">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}

View file

@ -85,7 +85,7 @@ ajax.callback.sitemap = function(data) {
<td width="25%"><span class="gen"><b>{L_SITEMAP_OPTIONS}:</b></span></td> <td width="25%"><span class="gen"><b>{L_SITEMAP_OPTIONS}:</b></span></td>
<td class="td_pads"> <td class="td_pads">
<a href="#" class="btn btn-success" onclick="ajax.sitemap('create'); return false;">{L_SITEMAP_CREATE}</a>&nbsp;&nbsp; <a href="#" class="btn btn-success" onclick="ajax.sitemap('create'); return false;">{L_SITEMAP_CREATE}</a>&nbsp;&nbsp;
<a href="#" class="btn btn-warning" onclick="ajax.sitemap('search_update'); return false;">{L_SITEMAP_NOTIFY}</a><br /> <a href="#" class="btn btn-warning" onclick="ajax.sitemap('search_update'); return false;">{L_SITEMAP_NOTIFY}</a><br/>
<div id="sitemap"></div> <div id="sitemap"></div>
</td> </td>
</tr> </tr>
@ -110,7 +110,7 @@ ajax.callback.sitemap = function(data) {
<span class="gen"><b>{L_SITEMAP_ADD_PAGE}:</b></span> <span class="gen"><b>{L_SITEMAP_ADD_PAGE}:</b></span>
</td> </td>
<td> <td>
<textarea name="static_sitemap" rows="5" cols="70">{STATIC_SITEMAP}</textarea><br /> <textarea name="static_sitemap" rows="5" cols="70">{STATIC_SITEMAP}</textarea><br/>
<br/><p>{L_SITEMAP_ADD_EXP_1} <br/><br/><b style="color: #993300;">{L_SITEMAP_ADD_EXP_2}</b></p> <br/><p>{L_SITEMAP_ADD_EXP_1} <br/><br/><b style="color: #993300;">{L_SITEMAP_ADD_EXP_2}</b></p>
</td> </td>
</tr> </tr>

View file

@ -4,7 +4,7 @@
<h1>{L_SMILEY_TITLE}</h1> <h1>{L_SMILEY_TITLE}</h1>
<p>{L_SMILE_DESC}</p> <p>{L_SMILE_DESC}</p>
<br /> <br/>
<form method="post" action="{S_SMILEY_ACTION}"> <form method="post" action="{S_SMILEY_ACTION}">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -41,7 +41,7 @@
<h1>{L_SMILEY_TITLE}</h1> <h1>{L_SMILEY_TITLE}</h1>
<p>{L_SMILEY_IMPORT_INST}</p> <p>{L_SMILEY_IMPORT_INST}</p>
<br /> <br/>
<script type="text/javascript"> <script type="text/javascript">
function update_smiley(newimage) function update_smiley(newimage)
@ -85,7 +85,7 @@ function update_smiley(newimage)
<h1>{L_SMILEY_TITLE}</h1> <h1>{L_SMILEY_TITLE}</h1>
<p>{L_SMILEY_IMPORT_INST}</p> <p>{L_SMILEY_IMPORT_INST}</p>
<br /> <br/>
<form method="post" action="{S_SMILEY_ACTION}"> <form method="post" action="{S_SMILEY_ACTION}">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -103,7 +103,7 @@ function update_smiley(newimage)
<td class="row1"><input type="checkbox" name="clear_current" value="1" /></td> <td class="row1"><input type="checkbox" name="clear_current" value="1" /></td>
</tr> </tr>
<tr> <tr>
<td class="row2 tCenter" colspan="2">{L_SMILE_CONFLICTS}<br /><input type="radio" name="replace" value="1" checked/> {L_REPLACE_EXISTING} &nbsp; <input type="radio" name="replace" value="0" /> {L_KEEP_EXISTING}</td> <td class="row2 tCenter" colspan="2">{L_SMILE_CONFLICTS}<br/><input type="radio" name="replace" value="1" checked/> {L_REPLACE_EXISTING} &nbsp; <input type="radio" name="replace" value="0" /> {L_KEEP_EXISTING}</td>
</tr> </tr>
<tr> <tr>
<td class="catBottom" colspan="2"><input class="mainoption" name="import_pack" type="submit" value="{L_IMPORT}" /></td> <td class="catBottom" colspan="2"><input class="mainoption" name="import_pack" type="submit" value="{L_IMPORT}" /></td>

View file

@ -1,7 +1,7 @@
<h1>{L_TERMS}</h1> <h1>{L_TERMS}</h1>
<p>{L_TERMS_EXPLAIN}</p> <p>{L_TERMS_EXPLAIN}</p>
<br /> <br/>
<form action="{S_ACTION}" method="post"> <form action="{S_ACTION}" method="post">
<table class="forumline"> <table class="forumline">

View file

@ -88,7 +88,7 @@ thead tr {
<h1>{L_PERMISSIONS} ({T_AUTH_TITLE})</h1> <h1>{L_PERMISSIONS} ({T_AUTH_TITLE})</h1>
<p>{T_AUTH_EXPLAIN}</p> <p>{T_AUTH_EXPLAIN}</p>
<br /> <br/>
<form method="post" action="{S_AUTH_ACTION}"> <form method="post" action="{S_AUTH_ACTION}">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -157,9 +157,9 @@ thead tr {
</div><!--/tScrollCont--> </div><!--/tScrollCont-->
<br /> <br/>
<p><a href="{U_ALL_FORUMS}"><b>{L_SHOW_ALL_FORUMS_ON_ONE_PAGE}</b></a></p> <p><a href="{U_ALL_FORUMS}"><b>{L_SHOW_ALL_FORUMS_ON_ONE_PAGE}</b></a></p>
<br /> <br/>
<!-- BEGIN c --> <!-- BEGIN c -->
<!-- BEGIN f --> <!-- BEGIN f -->
@ -258,7 +258,7 @@ function mark_changed (f_id, acl_id)
<h1>{L_USER_ADMIN}</h1> <h1>{L_USER_ADMIN}</h1>
<p>{L_USER_AUTH_EXPLAIN}</p> <p>{L_USER_AUTH_EXPLAIN}</p>
<br /><br /> <br/><br/>
<form method="post" name="post" action="{S_AUTH_ACTION}"> <form method="post" name="post" action="{S_AUTH_ACTION}">
<input type="hidden" name="mode" value="edit" /> <input type="hidden" name="mode" value="edit" />
@ -283,7 +283,7 @@ function mark_changed (f_id, acl_id)
</form> </form>
<br /><br /><br /><br /> <br/><br/><br/><br/>
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_SELECT_USER --> <!-- ENDIF / TPL_SELECT_USER -->
@ -294,7 +294,7 @@ function mark_changed (f_id, acl_id)
<h1>{L_GROUP_ADMINISTRATION}</h1> <h1>{L_GROUP_ADMINISTRATION}</h1>
<p>{L_GROUP_AUTH_EXPLAIN}</p> <p>{L_GROUP_AUTH_EXPLAIN}</p>
<br /><br /> <br/><br/>
<form method="post" action="{S_AUTH_ACTION}"> <form method="post" action="{S_AUTH_ACTION}">
{S_HIDDEN_FIELDS} {S_HIDDEN_FIELDS}
@ -313,7 +313,7 @@ function mark_changed (f_id, acl_id)
</form> </form>
<br /><br /><br /><br /> <br/><br/><br/><br/>
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_SELECT_GROUP --> <!-- ENDIF / TPL_SELECT_GROUP -->

View file

@ -1,7 +1,7 @@
<h1>{L_BAN_CONTROL}</h1> <h1>{L_BAN_CONTROL}</h1>
<p>{L_BAN_EXPLAIN}</p> <p>{L_BAN_EXPLAIN}</p>
<br /> <br/>
<form method="post" name="post" action="{S_BANLIST_ACTION}"> <form method="post" name="post" action="{S_BANLIST_ACTION}">
@ -17,7 +17,7 @@
<th colspan="2">{L_UNBAN_USERNAME}</th> <th colspan="2">{L_UNBAN_USERNAME}</th>
</tr> </tr>
<tr> <tr>
<td class="row1">{L_USERNAME}: <br /><span class="small">{L_UNBAN_USERNAME_EXPLAIN}</span></td> <td class="row1">{L_USERNAME}: <br/><span class="small">{L_UNBAN_USERNAME_EXPLAIN}</span></td>
<td class="row2">{S_UNBAN_USERLIST_SELECT}</td> <td class="row2">{S_UNBAN_USERLIST_SELECT}</td>
</tr> </tr>
<tr> <tr>

View file

@ -4,7 +4,7 @@
<h1>{L_SEARCH_USERS_ADVANCED}</h1> <h1>{L_SEARCH_USERS_ADVANCED}</h1>
<p>{L_SEARCH_USERS_EXPLAIN}</p> <p>{L_SEARCH_USERS_EXPLAIN}</p>
<br /> <br/>
<form method="post" name="post" action="{S_SEARCH_ACTION}"><input type="hidden" name="dosearch" value="true" /> <form method="post" name="post" action="{S_SEARCH_ACTION}"><input type="hidden" name="dosearch" value="true" />
@ -13,32 +13,32 @@
<th>{L_SEARCH_USERS_ADVANCED}</th> <th>{L_SEARCH_USERS_ADVANCED}</th>
</tr> </tr>
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_USERNAME}:</b>&nbsp;<input class="post" type="text" name="username" maxlength="255" size="25" />&nbsp;<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" onclick="window.open('{U_SEARCH_USER}', '_bbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />&nbsp;<input type="submit" class="post2" name="search_username" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERNAME_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_USERNAME}:</b>&nbsp;<input class="post" type="text" name="username" maxlength="255" size="25" />&nbsp;<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" onclick="window.open('{U_SEARCH_USER}', '_bbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />&nbsp;<input type="submit" class="post2" name="search_username" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERNAME_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_EMAIL_ADDRESS}:</b>&nbsp;<input class="post" type="text" name="email" maxlength="255" size="25" />&nbsp;<input type="submit" class="post2" name="search_email" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_EMAIL_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_EMAIL_ADDRESS}:</b>&nbsp;<input class="post" type="text" name="email" maxlength="255" size="25" />&nbsp;<input type="submit" class="post2" name="search_email" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_EMAIL_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_IP_ADDRESS}:</b>&nbsp;<input class="post" type="text" name="ip_address" maxlength="255" size="25" />&nbsp;<input type="submit" class="post2" name="search_ip" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_IP_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_IP_ADDRESS}:</b>&nbsp;<input class="post" type="text" name="ip_address" maxlength="255" size="25" />&nbsp;<input type="submit" class="post2" name="search_ip" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_IP_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_SEARCH_USERS_JOINED}:</b>&nbsp;<select name="date_type" class="post"><option value="before" selected>{L_BEFORE}</option><option value="after">{L_AFTER}</option></select>&nbsp;<input class="post" type="text" name="date_year" value="{YEAR}" size="4" maxlength="4" />/<input class="post" type="text" name="date_month" value="{MONTH}" size="2" maxlength="2" />/<input class="post" type="text" name="date_day" value="{DAY}" maxlength="2" size="2" />&nbsp;<input type="submit" class="post2" name="search_joindate" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_JOINED_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_SEARCH_USERS_JOINED}:</b>&nbsp;<select name="date_type" class="post"><option value="before" selected>{L_BEFORE}</option><option value="after">{L_AFTER}</option></select>&nbsp;<input class="post" type="text" name="date_year" value="{YEAR}" size="4" maxlength="4" />/<input class="post" type="text" name="date_month" value="{MONTH}" size="2" maxlength="2" />/<input class="post" type="text" name="date_day" value="{DAY}" maxlength="2" size="2" />&nbsp;<input type="submit" class="post2" name="search_joindate" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_JOINED_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<!-- BEGIN groups_exist --> <!-- BEGIN groups_exist -->
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_GROUP_MEMBERS}:</b>&nbsp;<select name="group_id" class="post">{GROUP_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_group" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_GROUPS_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_GROUP_MEMBERS}:</b>&nbsp;<select name="group_id" class="post">{GROUP_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_group" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_GROUPS_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
@ -46,52 +46,52 @@
<!-- END groups_exist --> <!-- END groups_exist -->
<!-- BEGIN ranks_exist --> <!-- BEGIN ranks_exist -->
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_POSTER_RANK}:</b>&nbsp;<select name="rank_id" class="post">{RANK_SELECT_BOX}</select>&nbsp;<input type="submit" class="post2" name="search_rank" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_RANKS_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_POSTER_RANK}:</b>&nbsp;<select name="rank_id" class="post">{RANK_SELECT_BOX}</select>&nbsp;<input type="submit" class="post2" name="search_rank" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_RANKS_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<!-- END ranks_exist --> <!-- END ranks_exist -->
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_POSTCOUNT}:</b>&nbsp;<select name="postcount_type"><option value="equals" selected>{L_EQUALS}</option><option value="lesser">{L_LESS_THAN}</option><option value="greater">{L_GREATER_THAN}</option></select>&nbsp;<input class="post" type="text" name="postcount_value" maxlength="25" size="5" />&nbsp;<input type="submit" class="post2" name="search_postcount" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_POSTCOUNT_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_POSTCOUNT}:</b>&nbsp;<select name="postcount_type"><option value="equals" selected>{L_EQUALS}</option><option value="lesser">{L_LESS_THAN}</option><option value="greater">{L_GREATER_THAN}</option></select>&nbsp;<input class="post" type="text" name="postcount_value" maxlength="25" size="5" />&nbsp;<input type="submit" class="post2" name="search_postcount" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_POSTCOUNT_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_USERFIELD}:</b>&nbsp;<select name="userfield_type"><option value="icq" selected>{L_ICQ}</option><option value="skype">{L_SKYPE}</option><option value="twitter">{L_TWITTER}</option><option value="website">{L_WEBSITE}</option><option value="location">{L_LOCATION}</option><option value="interests">{L_INTERESTS}</option></select>&nbsp;<input class="post" type="text" name="userfield_value" maxlength="25" size="25" />&nbsp;<input type="submit" class="post2" name="search_userfield" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_USERFIELD_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_USERFIELD}:</b>&nbsp;<select name="userfield_type"><option value="icq" selected>{L_ICQ}</option><option value="skype">{L_SKYPE}</option><option value="twitter">{L_TWITTER}</option><option value="website">{L_WEBSITE}</option><option value="location">{L_LOCATION}</option><option value="interests">{L_INTERESTS}</option></select>&nbsp;<input class="post" type="text" name="userfield_value" maxlength="25" size="25" />&nbsp;<input type="submit" class="post2" name="search_userfield" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_USERFIELD_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_SEARCH_USERS_LASTVISITED}:</b>&nbsp;<select name="lastvisited_type"><option value="in">{L_IN_THE_LAST}</option><option value="after">{L_AFTER_THE_LAST}</option></select>&nbsp;<select name="lastvisited_days">{LASTVISITED_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_lastvisited" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_LASTVISITED_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_SEARCH_USERS_LASTVISITED}:</b>&nbsp;<select name="lastvisited_type"><option value="in">{L_IN_THE_LAST}</option><option value="after">{L_AFTER_THE_LAST}</option></select>&nbsp;<select name="lastvisited_days">{LASTVISITED_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_lastvisited" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_LASTVISITED_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_BOARD_LANG}:</b>&nbsp;{LANGUAGE_LIST}&nbsp;<input type="submit" class="post2" name="search_language" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_LANGUAGE_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_BOARD_LANG}:</b>&nbsp;{LANGUAGE_LIST}&nbsp;<input type="submit" class="post2" name="search_language" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_LANGUAGE_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_TIMEZONE}:</b>&nbsp;{TIMEZONE_LIST}&nbsp;<input type="submit" class="post2" name="search_timezone" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_TIMEZONE_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_TIMEZONE}:</b>&nbsp;{TIMEZONE_LIST}&nbsp;<input type="submit" class="post2" name="search_timezone" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_TIMEZONE_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<!-- BEGIN forums_exist --> <!-- BEGIN forums_exist -->
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_MODERATORS_OF}:</b>&nbsp;<select name="moderators_forum">{FORUMS_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_moderators" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_MODERATORS_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_MODERATORS_OF}:</b>&nbsp;<select name="moderators_forum">{FORUMS_LIST}</select>&nbsp;<input type="submit" class="post2" name="search_moderators" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_MODERATORS_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
</tr> </tr>
<!-- END forums_exist --> <!-- END forums_exist -->
<tr> <tr>
<td class="row1"><span class="gen"><b>{L_ROLE}</b>&nbsp;<select name="misc" class="post"><option value="admins" selected>{L_ADMINISTRATORS}</option><option value="mods">{L_MODERATORS}</option><option value="banned">{L_BANNED_USERS}</option><option value="disabled">{L_DISABLED_USERS}</option></select>&nbsp;<input type="submit" class="post2" name="search_misc" value="{L_SEARCH}" /></span><br /><span class="small">{L_SEARCH_USERS_MISC_EXPLAIN}</span></td> <td class="row1"><span class="gen"><b>{L_ROLE}</b>&nbsp;<select name="misc" class="post"><option value="admins" selected>{L_ADMINISTRATORS}</option><option value="mods">{L_MODERATORS}</option><option value="banned">{L_BANNED_USERS}</option><option value="disabled">{L_DISABLED_USERS}</option></select>&nbsp;<input type="submit" class="post2" name="search_misc" value="{L_SEARCH}" /></span><br/><span class="small">{L_SEARCH_USERS_MISC_EXPLAIN}</span></td>
</tr> </tr>
<tr> <tr>
<td class="row2">&nbsp;</td> <td class="row2">&nbsp;</td>
@ -108,7 +108,7 @@
<h1>{L_SEARCH_USERS_ADVANCED}</h1> <h1>{L_SEARCH_USERS_ADVANCED}</h1>
<p>{NEW_SEARCH}</p> <p>{NEW_SEARCH}</p>
<br /> <br/>
<form action="{S_POST_ACTION}" method="post" name="post"> <form action="{S_POST_ACTION}" method="post" name="post">
<table width="98%" class="bCenter"> <table width="98%" class="bCenter">

View file

@ -1,7 +1,7 @@
<!-- IF TPL_BB_DIE --> <!-- IF TPL_BB_DIE -->
<!--========================================================================--> <!--========================================================================-->
<!-- IF IN_ADMIN --><br /><br /><!-- ELSE --><div class="spacer_10"></div><!-- ENDIF --> <!-- IF IN_ADMIN --><br/><br/><!-- ELSE --><div class="spacer_10"></div><!-- ENDIF -->
<table class="forumline message"> <table class="forumline message">
<tr><th>{L_INFORMATION}</th></tr> <tr><th>{L_INFORMATION}</th></tr>
@ -11,7 +11,7 @@
</td></tr> </td></tr>
</table> </table>
<!-- IF IN_ADMIN --><br /><br /><!-- ELSE --><div class="spacer_10"></div><!-- ENDIF --> <!-- IF IN_ADMIN --><br/><br/><!-- ELSE --><div class="spacer_10"></div><!-- ENDIF -->
<!--========================================================================--> <!--========================================================================-->
<!-- ENDIF / TPL_BB_DIE --> <!-- ENDIF / TPL_BB_DIE -->

View file

@ -99,4 +99,4 @@ $(function(){
</div> </div>
</div> </div>
</div> </div>
<br /> <br/>

View file

@ -24,7 +24,7 @@
<div class="clear"></div> <div class="clear"></div>
<br /><br /> <br/><br/>
<div class="med bold tCenter"> <div class="med bold tCenter">
<!-- IF HTML_AGREEMENT --> <!-- IF HTML_AGREEMENT -->
@ -39,23 +39,23 @@
<a href="{$bb_cfg['advert_url']}" onclick="window.open(this.href, '', IWP); return false;">{L_ADVERT}</a> <a href="{$bb_cfg['advert_url']}" onclick="window.open(this.href, '', IWP); return false;">{L_ADVERT}</a>
<!-- ENDIF --> <!-- ENDIF -->
</div> </div>
<br /> <br/>
<!-- IF SHOW_ADMIN_LINK --> <!-- IF SHOW_ADMIN_LINK -->
<div class="tiny tCenter"><a href="{ADMIN_LINK_HREF}">{L_ADMIN_PANEL}</a></div> <div class="tiny tCenter"><a href="{ADMIN_LINK_HREF}">{L_ADMIN_PANEL}</a></div>
<br /> <br/>
<!-- ENDIF --> <!-- ENDIF -->
<div class="copyright tCenter"> <div class="copyright tCenter">
{POWERED}<br /> {POWERED}<br/>
</div> </div>
</div> </div>
<div class="copyright tCenter"> <div class="copyright tCenter">
<b style="color:rgb(204,0,0);">{L_NOTICE}</b><br /> <b style="color:rgb(204,0,0);">{L_NOTICE}</b><br/>
{L_COPY} {L_COPY}
</div><br /> </div><br/>
<!--/page_footer --> <!--/page_footer -->

View file

@ -38,7 +38,7 @@ function emoticon(text) {
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="row2 tCenter"><br /><span class="med"><a href="javascript:window.close();" class="med">{L_CLOSE_WINDOW}</a></span></td> <td class="row2 tCenter"><br/><span class="med"><a href="javascript:window.close();" class="med">{L_CLOSE_WINDOW}</a></span></td>
</tr> </tr>
</table> </table>
</td> </td>

View file

@ -159,7 +159,7 @@
<input type="submit" class="main" onclick="refresh_username(this.form.username_list.options[this.form.username_list.selectedIndex].value);return false;" name="use" value="{L_SELECT}" /> <input type="submit" class="main" onclick="refresh_username(this.form.username_list.options[this.form.username_list.selectedIndex].value);return false;" name="use" value="{L_SELECT}" />
</p> </p>
<!-- ENDIF --> <!-- ENDIF -->
<br /> <br/>
<a href="javascript:window.close();" class="med">{L_CLOSE_WINDOW}</a> <a href="javascript:window.close();" class="med">{L_CLOSE_WINDOW}</a>
</td> </td>
</tr> </tr>

View file

@ -333,10 +333,10 @@ ajax.callback.group_membership = function(data) {
<div class="menu-sub row1 border bw_TRBL" id="admin"> <div class="menu-sub row1 border bw_TRBL" id="admin">
<fieldset class="mrg_6"> <fieldset class="mrg_6">
<div class="tLeft" style="padding: 5px 6px 6px; display: block; font-size: 13px;"> <div class="tLeft" style="padding: 5px 6px 6px; display: block; font-size: 13px;">
<a href="#" onclick="ajax.exec({action : 'manage_user', mode: '<!-- IF USER_ACTIVE -->user_deactivate<!-- ELSE -->user_activate<!-- ENDIF -->', user_id : {PROFILE_USER_ID}}); return false;" class="<!-- IF USER_ACTIVE -->adm<!-- ELSE -->seed bold<!-- ENDIF -->"><!-- IF USER_ACTIVE -->{L_USER_DEACTIVATE}<!-- ELSE -->{L_USER_ACTIVATE}<!-- ENDIF --></a> <br /> <a href="#" onclick="ajax.exec({action : 'manage_user', mode: '<!-- IF USER_ACTIVE -->user_deactivate<!-- ELSE -->user_activate<!-- ENDIF -->', user_id : {PROFILE_USER_ID}}); return false;" class="<!-- IF USER_ACTIVE -->adm<!-- ELSE -->seed bold<!-- ENDIF -->"><!-- IF USER_ACTIVE -->{L_USER_DEACTIVATE}<!-- ELSE -->{L_USER_ACTIVATE}<!-- ENDIF --></a> <br/>
<a href="#" onclick="ajax.exec({action : 'manage_user', mode: 'delete_profile', user_id : '{PROFILE_USER_ID}'}); return false;" class="adm">{L_USER_DELETE_EXPLAIN}</a> <br /> <a href="#" onclick="ajax.exec({action : 'manage_user', mode: 'delete_profile', user_id : '{PROFILE_USER_ID}'}); return false;" class="adm">{L_USER_DELETE_EXPLAIN}</a> <br/>
<a href="#" onclick="ajax.exec({action : 'manage_user', mode: 'delete_topics', user_id : '{PROFILE_USER_ID}'}); return false;" class="adm">{L_DELETE_USER_ALL_POSTS}</a> <br /> <a href="#" onclick="ajax.exec({action : 'manage_user', mode: 'delete_topics', user_id : '{PROFILE_USER_ID}'}); return false;" class="adm">{L_DELETE_USER_ALL_POSTS}</a> <br/>
<a href="#" onclick="ajax.exec({action : 'manage_user', mode: 'delete_message', user_id : '{PROFILE_USER_ID}'}); return false;" class="adm">{L_DELETE_USER_POSTS}</a> <br /> <a href="#" onclick="ajax.exec({action : 'manage_user', mode: 'delete_message', user_id : '{PROFILE_USER_ID}'}); return false;" class="adm">{L_DELETE_USER_POSTS}</a> <br/>
</div> </div>
</fieldset> </fieldset>
<fieldset class="mrg_6"> <fieldset class="mrg_6">
@ -590,7 +590,7 @@ $(function(){
</tfoot> </tfoot>
</table> </table>
</div> </div>
<br /> <br/>
<!-- ELSE --> <!-- ELSE -->
<h1 class="pagetitle tCenter">{L_CUR_ACTIVE_DLS}: <span class="normal">{L_NO}</span></h1> <h1 class="pagetitle tCenter">{L_CUR_ACTIVE_DLS}: <span class="normal">{L_NO}</span></h1>
<!-- ENDIF --> <!-- ENDIF -->

View file

@ -664,7 +664,7 @@ function build_poll_add_form (src_el)
<table width="100%"> <table width="100%">
<tr> <tr>
<td width="40%" valign="top" nowrap="nowrap"><span class="small">{S_WATCH_TOPIC}</span><br /> <td width="40%" valign="top" nowrap="nowrap"><span class="small">{S_WATCH_TOPIC}</span><br/>
<div class="small"> <div class="small">
<!-- IF S_TOPIC_ADMIN --> <!-- IF S_TOPIC_ADMIN -->
<br clear="all" /> <br clear="all" />

View file

@ -218,7 +218,7 @@ var TPL = {
// вставка нешаблонного элемента // вставка нешаблонного элемента
else { else {
if (el == 'BR') { if (el == 'BR') {
el_html = '<br />'; el_html = '<br/>';
} }
else { else {
el_html = '<span class="rel-el rel-free-el">'+ escHTML(el) +'</span>'; el_html = '<span class="rel-el rel-free-el">'+ escHTML(el) +'</span>';
@ -4672,7 +4672,7 @@ $(function(){
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="text" id="tpl-row-src" value="" style="width: 100%;" /><br /> <input type="text" id="tpl-row-src" value="" style="width: 100%;" /><br/>
<a class="med" href="#" onclick="$('#tpl-row-src').val(''); return false;">очистить</a> &nbsp;&middot;&nbsp; <a class="med" href="#" onclick="$('#tpl-row-src').val(''); return false;">очистить</a> &nbsp;&middot;&nbsp;
<a class="med" href="#" onclick="$('#tpl-src-form').val( $('#tpl-src-form').val() +'\n<-'+ $('#tpl-row-src').val() +' ->' ).focus(); return false;">добавить в форму</a> &nbsp;&middot;&nbsp; <a class="med" href="#" onclick="$('#tpl-src-form').val( $('#tpl-src-form').val() +'\n<-'+ $('#tpl-row-src').val() +' ->' ).focus(); return false;">добавить в форму</a> &nbsp;&middot;&nbsp;
<a class="med" href="#" onclick="$('#tpl-row-src').trigger('keypress', [13]).focus(); return false;" title="Нажать Enter">обновить результат (enter)</a> <a class="med" href="#" onclick="$('#tpl-row-src').trigger('keypress', [13]).focus(); return false;" title="Нажать Enter">обновить результат (enter)</a>
@ -4713,7 +4713,7 @@ $(function(){
<div class="clear"></div> <div class="clear"></div>
<div id="tpl-info-block" style="display: none;" class="tpl-adm-block med row3"> <div id="tpl-info-block" style="display: none;" class="tpl-adm-block med row3">
<br /> <br/>
<fieldset> <fieldset>
<legend>Включить/Загрузить</legend> <legend>Включить/Загрузить</legend>
<div style="padding: 2px 12px 6px;"> <div style="padding: 2px 12px 6px;">
@ -4723,56 +4723,56 @@ $(function(){
<input type="button" value="Загрузить" onclick="ajax.topic_tpl('load')" /> &nbsp; <input type="button" value="Загрузить" onclick="ajax.topic_tpl('load')" /> &nbsp;
<input type="button" value="{L_REMOVE}" onclick="ajax.topic_tpl('remove')" /> &nbsp; <input type="button" value="{L_REMOVE}" onclick="ajax.topic_tpl('remove')" /> &nbsp;
<!-- ELSE -->Нет шаблонов для релизов<!-- ENDIF --> <!-- ELSE -->Нет шаблонов для релизов<!-- ENDIF -->
<br /><br /> <br/><br/>
<span class="gen"> <span class="gen">
<!-- IF NO_TPL_ASSIGNED --> <!-- IF NO_TPL_ASSIGNED -->
В этом форуме шаблоны <b>не включены</b><br /> В этом форуме шаблоны <b>не включены</b><br/>
<!-- ELSE --> <!-- ELSE -->
Сейчас в этом форуме включен шаблон: <b>{TPL_NAME}</b><br /> Сейчас в этом форуме включен шаблон: <b>{TPL_NAME}</b><br/>
<!-- ENDIF --> <!-- ENDIF -->
</span> </span>
</div> </div>
</fieldset> </fieldset>
<br /> <br/>
<div <!-- IF NO_TPL_ASSIGNED -->style="display: none;"<!-- ENDIF --> id="tpl-save-block"> <div <!-- IF NO_TPL_ASSIGNED -->style="display: none;"<!-- ENDIF --> id="tpl-save-block">
<fieldset> <fieldset>
<legend>Сохранить изменения для шаблона <b id="tpl-name-old-save">{TPL_NAME}</b></legend> <legend>Сохранить изменения для шаблона <b id="tpl-name-old-save">{TPL_NAME}</b></legend>
<div style="padding: 2px 12px 6px;"> <div style="padding: 2px 12px 6px;">
<div class="label">Новое название шаблона:</div> <div class="label">Новое название шаблона:</div>
<input type="text" id="tpl-name-save" size="60" value="{TPL_NAME}" maxlength="60" class="bold" style="width: 75%" /><br /> <input type="text" id="tpl-name-save" size="60" value="{TPL_NAME}" maxlength="60" class="bold" style="width: 75%" /><br/>
<div class="label"><a href="{POST_URL}{TPL_RULES_POST_ID}#{TPL_RULES_POST_ID}" id="tpl-rules-link" target="_blank">Правила</a> (ссылка на сообщение с правилами или номер сообщения):</div> <div class="label"><a href="{POST_URL}{TPL_RULES_POST_ID}#{TPL_RULES_POST_ID}" id="tpl-rules-link" target="_blank">Правила</a> (ссылка на сообщение с правилами или номер сообщения):</div>
<input type="text" id="tpl-rules-save" size="60" value="{TPL_RULES_POST_ID}" style="width: 75%" /><br /> <input type="text" id="tpl-rules-save" size="60" value="{TPL_RULES_POST_ID}" style="width: 75%" /><br/>
<div class="label">{L_COMMENT}:</div> <div class="label">{L_COMMENT}:</div>
<textarea id="tpl-comment-save" rows="2" cols="80" class="editor" style="width: 90%">{TPL_COMMENT}</textarea> <textarea id="tpl-comment-save" rows="2" cols="80" class="editor" style="width: 90%">{TPL_COMMENT}</textarea>
<div class="label">Последний раз редактировалось: <i id="tpl-last-edit-time">{TPL_LAST_EDIT_TIME}</i> by <b id="tpl-last-edit-by">{TPL_LAST_EDIT_USER}</b></div> <div class="label">Последний раз редактировалось: <i id="tpl-last-edit-time">{TPL_LAST_EDIT_TIME}</i> by <b id="tpl-last-edit-by">{TPL_LAST_EDIT_USER}</b></div>
<br /> <br/>
<input type="hidden" id="tpl-id-save" value="{TPL_ID}"> <input type="hidden" id="tpl-id-save" value="{TPL_ID}">
<input type="hidden" id="tpl-last-edit-tst" value="{TPL_LAST_EDIT_TIMESTAMP}"> <input type="hidden" id="tpl-last-edit-tst" value="{TPL_LAST_EDIT_TIMESTAMP}">
<input type="button" class="bold" value="Сохранить изменения" onclick="ajax.topic_tpl('save')" /> <input type="button" class="bold" value="Сохранить изменения" onclick="ajax.topic_tpl('save')" />
<br /> <br/>
</div> </div>
</fieldset> </fieldset>
<br /> <br/>
</div> </div>
<div id="tpl-load-resp"></div> <div id="tpl-load-resp"></div>
</div> </div>
<div id="tpl-new-block" style="display: none;" class="tpl-adm-block med row3"> <div id="tpl-new-block" style="display: none;" class="tpl-adm-block med row3">
<div class="label">Название шаблона: *</div> <div class="label">Название шаблона: *</div>
<input type="text" id="tpl-name-new" size="60" value="" maxlength="60" class="bold" style="width: 75%" /><br /> <input type="text" id="tpl-name-new" size="60" value="" maxlength="60" class="bold" style="width: 75%" /><br/>
<div class="label">Правила (ссылка на сообщение с правилами или номер сообщения):</div> <div class="label">Правила (ссылка на сообщение с правилами или номер сообщения):</div>
<input type="text" id="tpl-rules-new" size="60" value="" style="width: 75%" /><br /> <input type="text" id="tpl-rules-new" size="60" value="" style="width: 75%" /><br/>
<div class="label">{L_COMMENT}:</div> <div class="label">{L_COMMENT}:</div>
<textarea id="tpl-comment-new" rows="2" cols="10" class="editor" style="width: 100%"></textarea><br /> <textarea id="tpl-comment-new" rows="2" cols="10" class="editor" style="width: 100%"></textarea><br/>
<input type="button" class="bold" value="Создать новый шаблон" onclick="ajax.topic_tpl('new');" /><br /><br /> <input type="button" class="bold" value="Создать новый шаблон" onclick="ajax.topic_tpl('new');" /><br/><br/>
<div id="tpl-new-resp"></div> <div id="tpl-new-resp"></div>
</div> </div>
</div> </div>
@ -4815,12 +4815,12 @@ $(function(){
<td colspan="2"> <td colspan="2">
<div class="tRight med">[ <u class="clickable" onclick="$('#tpl-howto').toggle();">Инструкция</u> ]</div> <div class="tRight med">[ <u class="clickable" onclick="$('#tpl-howto').toggle();">Инструкция</u> ]</div>
<div id="tpl-howto" class="med pad_12" style="display: none;"> <div id="tpl-howto" class="med pad_12" style="display: none;">
После заполнения поля <b>форма</b> нажмите кнопку <b>Создать форму</b><br /><br /> После заполнения поля <b>форма</b> нажмите кнопку <b>Создать форму</b><br/><br/>
В поле <b>сообщение</b> добавьте элементам необходимые атрибуты (req, spoiler и т.д.)<br /><br /> В поле <b>сообщение</b> добавьте элементам необходимые атрибуты (req, spoiler и т.д.)<br/><br/>
Заполните созданную форму (вручную либо автозаполнителем)<br /><br /> Заполните созданную форму (вручную либо автозаполнителем)<br/><br/>
Кнопки <b>Продолжить</b> и <b>Создать сообщение</b> - создают BBCode сообщения<br /><br /> Кнопки <b>Продолжить</b> и <b>Создать сообщение</b> - создают BBCode сообщения<br/><br/>
Далее заполните поле <b>название</b><br /><br /> Далее заполните поле <b>название</b><br/><br/>
Кнопка <b>{L_AJAX_PREVIEW}</b> - показывает итоговый результат<br /><br /> Кнопка <b>{L_AJAX_PREVIEW}</b> - показывает итоговый результат<br/><br/>
Далее нажмите на кнопку <b>Продолжить (Создать релиз)</b> - откроется страница где вы сможете прикрепить файл и опубликовать релиз Далее нажмите на кнопку <b>Продолжить (Создать релиз)</b> - откроется страница где вы сможете прикрепить файл и опубликовать релиз
</div> </div>
</td> </td>
@ -4871,42 +4871,42 @@ $(function(){
<!-- IF EDIT_TPL --> <!-- IF EDIT_TPL -->
<div id="tpl-help-form" class="menu-sub tpl-help-msg" style="width: 800px;"> <div id="tpl-help-form" class="menu-sub tpl-help-msg" style="width: 800px;">
<h4>Скрипт для построения формы</h4> <h4>Скрипт для построения формы</h4>
<br /> <br/>
Формат: <b class="hlp-1">&lt;-</b><b>название_строки_формы</b> &nbsp; <b>элементы</b><b class="hlp-1">-&gt;</b> Формат: <b class="hlp-1">&lt;-</b><b>название_строки_формы</b> &nbsp; <b>элементы</b><b class="hlp-1">-&gt;</b>
<br /><br /> <br/><br/>
Каждый элемент задается в виде: <b class="hlp-1">ТИП</b>[<b>имя_элемента</b>,<b class="hlp-2">опциональные_атрибуты</b>] Каждый элемент задается в виде: <b class="hlp-1">ТИП</b>[<b>имя_элемента</b>,<b class="hlp-2">опциональные_атрибуты</b>]
<br /><br /> <br/><br/>
<b>INP</b> - однострочное поле для ввода текста, опционально можно указать количество вводимых символов и ширину поля<br /> <b>INP</b> - однострочное поле для ввода текста, опционально можно указать количество вводимых символов и ширину поля<br/>
<b>INP[genre,200,70]</b> - можно ввести максимум 200 символов, ширина поля 70 символов (ширину больше 80-ти делать не нужно) <b>INP[genre,200,70]</b> - можно ввести максимум 200 символов, ширина поля 70 символов (ширину больше 80-ти делать не нужно)
<br /><br /> <br/><br/>
<b>TXT</b> - многострочное поле для ввода текста, опционально можно указать высоту<br /> <b>TXT</b> - многострочное поле для ввода текста, опционально можно указать высоту<br/>
<b>TXT[casting,10]</b> - высота поля будет 10 строк <b>TXT[casting,10]</b> - высота поля будет 10 строк
<br /><br /> <br/><br/>
<b>SEL</b> - раскрывающийся список с выбором<br /> <b>SEL</b> - раскрывающийся список с выбором<br/>
<b>SEL[video_quality]</b> <b>SEL[video_quality]</b>
<br /><br /> <br/><br/>
<b>E</b> - статичный либо скрытый элемент (обычно не имеющий названия и не являющийся полем ввода текста)<br /> <b>E</b> - статичный либо скрытый элемент (обычно не имеющий названия и не являющийся полем ввода текста)<br/>
<b>E[load_pic_btn]</b> - кнопка загрузки картинки <b>E[load_pic_btn]</b> - кнопка загрузки картинки
<br /><br /> <br/><br/>
<b>T</b> - вставляет только название элемента<br /> <b>T</b> - вставляет только название элемента<br/>
<b>T[rus_sub]</b> - добавляет в форму название элемента <b>Русские субтитры</b> <b>T[rus_sub]</b> - добавляет в форму название элемента <b>Русские субтитры</b>
<br /><br /> <br/><br/>
<b class="hlp-2">`</b><b class="hlp-1">текст...</b><b class="hlp-2">`</b> - любой текст и спец. элементы типа `BR` (добавить перевод строки)<br /> <b class="hlp-2">`</b><b class="hlp-1">текст...</b><b class="hlp-2">`</b> - любой текст и спец. элементы типа `BR` (добавить перевод строки)<br/>
<b class="hlp-2">`</b>на русском<b class="hlp-2">`</b> - добавляет в форму текст <i>на русском</i> <b class="hlp-2">`</b>на русском<b class="hlp-2">`</b> - добавляет в форму текст <i>на русском</i>
</div> </div>
<div id="tpl-help-title" class="menu-sub tpl-help-msg" style="width: 800px;"> <div id="tpl-help-title" class="menu-sub tpl-help-msg" style="width: 800px;">
<h4>Скрипт для построения названия топика</h4> <h4>Скрипт для построения названия топика</h4>
<br /> <br/>
Формат: <b class="hlp-1">&lt;-</b><b>группа элементов</b><b class="hlp-1">-&gt;</b><b class="hlp-2">объединитель для этой группы</b> Формат: <b class="hlp-1">&lt;-</b><b>группа элементов</b><b class="hlp-1">-&gt;</b><b class="hlp-2">объединитель для этой группы</b>
<br /><br /> <br/><br/>
пример:<br /> пример:<br/>
<p class="gen bold pad_8"> <p class="gen bold pad_8">
<b class="hlp-1">&lt;-</b>title_rus title_eng<b class="hlp-1">-&gt;</b><b class="hlp-2">/</b> <b class="hlp-1">&lt;-</b>title_rus title_eng<b class="hlp-1">-&gt;</b><b class="hlp-2">/</b>
<b class="hlp-1">&lt;-</b>director year<b class="hlp-1">-&gt;</b><b class="hlp-2">(,)</b> <b class="hlp-1">&lt;-</b>director year<b class="hlp-1">-&gt;</b><b class="hlp-2">(,)</b>
<b class="hlp-1">&lt;-</b>genre video_quality<b class="hlp-1">-&gt;</b><b class="hlp-2">[,]</b> <b class="hlp-1">&lt;-</b>genre video_quality<b class="hlp-1">-&gt;</b><b class="hlp-2">[,]</b>
</p> </p>
создаст:<br /> создаст:<br/>
<p class="gen bold pad_8"> <p class="gen bold pad_8">
Название <b class="hlp-2">/</b> Оригинальное название Название <b class="hlp-2">/</b> Оригинальное название
<b class="hlp-2">(</b>Режиссер<b class="hlp-2">,</b> 2000 г.<b class="hlp-2">)</b> <b class="hlp-2">(</b>Режиссер<b class="hlp-2">,</b> 2000 г.<b class="hlp-2">)</b>
@ -4916,26 +4916,26 @@ $(function(){
<div id="tpl-help-msg" class="menu-sub tpl-help-msg" style="width: 600px;"> <div id="tpl-help-msg" class="menu-sub tpl-help-msg" style="width: 600px;">
<h4>Скрипт для построения сообщения</h4> <h4>Скрипт для построения сообщения</h4>
<br /> <br/>
Формат: <b>имя_элемента</b>[<i>атрибут1,атрибут2</i>] Формат: <b>имя_элемента</b>[<i>атрибут1,атрибут2</i>]
<br /><br /> <br/><br/>
При создании формы (кнопка <i>Создать форму</i> и при построении того что видит юзер) При создании формы (кнопка <i>Создать форму</i> и при построении того что видит юзер)
этот скрипт каждый раз проверяется на соответстие элементам формы. При этом отсутствующие в форме элементы из него удаляются, этот скрипт каждый раз проверяется на соответстие элементам формы. При этом отсутствующие в форме элементы из него удаляются,
а прописанные в форме, но в нем не найденные, добавляются. а прописанные в форме, но в нем не найденные, добавляются.
<br /><br /> <br/><br/>
Порядок элементов зависит от того как они прописаны в форме Порядок элементов зависит от того как они прописаны в форме
<br /><br /> <br/><br/>
Описание атрибутов - во всплывающей подсказке (наведите мышку на любой атрибут в списке снизу) Описание атрибутов - во всплывающей подсказке (наведите мышку на любой атрибут в списке снизу)
</div> </div>
<div id="tpl-help-preview" class="menu-sub tpl-help-msg" style="width: 400px;"> <div id="tpl-help-preview" class="menu-sub tpl-help-msg" style="width: 400px;">
<h4>Конструктор и предпросмотр элементов</h4> <h4>Конструктор и предпросмотр элементов</h4>
<br /> <br/>
В IE часть функций не работает! В IE часть функций не работает!
<br /><br /> <br/><br/>
Подставляет в строку конструктора текущую строку из формы<br /> Подставляет в строку конструктора текущую строку из формы<br/>
В конструкторе для обновления предпросмотра нужно нажать enter<br /> В конструкторе для обновления предпросмотра нужно нажать enter<br/>
Скрытые элементы выделены красным цветом<br /> Скрытые элементы выделены красным цветом<br/>
</div> </div>
<div id="tpl-help-ctl" class="menu-sub tpl-help-msg" style="width: 400px;"> <div id="tpl-help-ctl" class="menu-sub tpl-help-msg" style="width: 400px;">

View file

@ -175,7 +175,7 @@ if (!$forum_data['forum_parent'] && isset($forums['f'][$forum_id]['subforums'])
if ($sf_data['forum_last_post_id']) { if ($sf_data['forum_last_post_id']) {
$last_post = bb_date($sf_data['topic_last_post_time'], $bb_cfg['last_post_date_format']); $last_post = bb_date($sf_data['topic_last_post_time'], $bb_cfg['last_post_date_format']);
$last_post .= "<br />$last_post_user"; $last_post .= "<br/>$last_post_user";
$last_post .= '<a href="' . POST_URL . $sf_data['forum_last_post_id'] . '#' . $sf_data['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" class="icon2" alt="latest" title="' . $lang['VIEW_LATEST_POST'] . '" /></a>'; $last_post .= '<a href="' . POST_URL . $sf_data['forum_last_post_id'] . '#' . $sf_data['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" class="icon2" alt="latest" title="' . $lang['VIEW_LATEST_POST'] . '" /></a>';
} }
@ -382,7 +382,7 @@ $u_auth[] = ($is_auth['auth_vote']) ? $lang['RULES_VOTE_CAN'] : $lang['RULES_VOT
$u_auth[] = ($is_auth['auth_attachments']) ? $lang['RULES_ATTACH_CAN'] : $lang['RULES_ATTACH_CANNOT']; $u_auth[] = ($is_auth['auth_attachments']) ? $lang['RULES_ATTACH_CAN'] : $lang['RULES_ATTACH_CANNOT'];
$u_auth[] = ($is_auth['auth_download']) ? $lang['RULES_DOWNLOAD_CAN'] : $lang['RULES_DOWNLOAD_CANNOT']; $u_auth[] = ($is_auth['auth_download']) ? $lang['RULES_DOWNLOAD_CAN'] : $lang['RULES_DOWNLOAD_CANNOT'];
$u_auth[] = ($is_auth['auth_mod']) ? $lang['RULES_MODERATE'] : ''; $u_auth[] = ($is_auth['auth_mod']) ? $lang['RULES_MODERATE'] : '';
$u_auth = implode("<br />\n", $u_auth); $u_auth = implode("<br/>\n", $u_auth);
$template->assign_vars([ $template->assign_vars([
'PAGE_TITLE' => htmlCHR($forum_data['forum_name']), 'PAGE_TITLE' => htmlCHR($forum_data['forum_name']),

View file

@ -382,13 +382,13 @@ $template->set_filenames(['body' => 'viewtopic.tpl']);
// //
// User authorisation levels output // User authorisation levels output
// //
$s_auth_can = (($is_auth['auth_post']) ? $lang['RULES_POST_CAN'] : $lang['RULES_POST_CANNOT']) . '<br />'; $s_auth_can = (($is_auth['auth_post']) ? $lang['RULES_POST_CAN'] : $lang['RULES_POST_CANNOT']) . '<br/>';
$s_auth_can .= (($is_auth['auth_reply']) ? $lang['RULES_REPLY_CAN'] : $lang['RULES_REPLY_CANNOT']) . '<br />'; $s_auth_can .= (($is_auth['auth_reply']) ? $lang['RULES_REPLY_CAN'] : $lang['RULES_REPLY_CANNOT']) . '<br/>';
$s_auth_can .= (($is_auth['auth_edit']) ? $lang['RULES_EDIT_CAN'] : $lang['RULES_EDIT_CANNOT']) . '<br />'; $s_auth_can .= (($is_auth['auth_edit']) ? $lang['RULES_EDIT_CAN'] : $lang['RULES_EDIT_CANNOT']) . '<br/>';
$s_auth_can .= (($is_auth['auth_delete']) ? $lang['RULES_DELETE_CAN'] : $lang['RULES_DELETE_CANNOT']) . '<br />'; $s_auth_can .= (($is_auth['auth_delete']) ? $lang['RULES_DELETE_CAN'] : $lang['RULES_DELETE_CANNOT']) . '<br/>';
$s_auth_can .= (($is_auth['auth_vote']) ? $lang['RULES_VOTE_CAN'] : $lang['RULES_VOTE_CANNOT']) . '<br />'; $s_auth_can .= (($is_auth['auth_vote']) ? $lang['RULES_VOTE_CAN'] : $lang['RULES_VOTE_CANNOT']) . '<br/>';
$s_auth_can .= (($is_auth['auth_attachments']) ? $lang['RULES_ATTACH_CAN'] : $lang['RULES_ATTACH_CANNOT']) . '<br />'; $s_auth_can .= (($is_auth['auth_attachments']) ? $lang['RULES_ATTACH_CAN'] : $lang['RULES_ATTACH_CANNOT']) . '<br/>';
$s_auth_can .= (($is_auth['auth_download']) ? $lang['RULES_DOWNLOAD_CAN'] : $lang['RULES_DOWNLOAD_CANNOT']) . '<br />'; $s_auth_can .= (($is_auth['auth_download']) ? $lang['RULES_DOWNLOAD_CAN'] : $lang['RULES_DOWNLOAD_CANNOT']) . '<br/>';
// Moderator output // Moderator output
$topic_mod = ''; $topic_mod = '';
@ -648,7 +648,7 @@ for ($i = 0; $i < $total_posts; $i++) {
// Editing information // Editing information
if ($postrow[$i]['post_edit_count']) { if ($postrow[$i]['post_edit_count']) {
$l_edit_time_total = ($postrow[$i]['post_edit_count'] == 1) ? $lang['EDITED_TIME_TOTAL'] : $lang['EDITED_TIMES_TOTAL']; $l_edit_time_total = ($postrow[$i]['post_edit_count'] == 1) ? $lang['EDITED_TIME_TOTAL'] : $lang['EDITED_TIMES_TOTAL'];
$l_edited_by = '<br /><br />' . sprintf($l_edit_time_total, profile_url(['username' => $poster, 'user_id' => $poster_id, 'user_rank' => $user_rank]), bb_date($postrow[$i]['post_edit_time']), $postrow[$i]['post_edit_count']); $l_edited_by = '<br/><br/>' . sprintf($l_edit_time_total, profile_url(['username' => $poster, 'user_id' => $poster_id, 'user_rank' => $user_rank]), bb_date($postrow[$i]['post_edit_time']), $postrow[$i]['post_edit_count']);
} else { } else {
$l_edited_by = ''; $l_edited_by = '';
} }