mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Fixed formatting
This commit is contained in:
parent
5bd41e3f8f
commit
55f5bf77bc
@ -267,7 +267,7 @@ if ($mode == 'submit' || $mode == 'refresh')
|
||||
|
||||
$processing_messages .= sprintf($lang['PROCESSING_NEXT_POSTS'], $post_limit);
|
||||
|
||||
meta_refresh($form_action, $refresh_rate);
|
||||
meta_refresh($form_action, $refresh_rate);
|
||||
|
||||
// create the meta tag for refresh
|
||||
$template->assign_vars(array(
|
||||
|
@ -91,7 +91,7 @@ switch ($mode)
|
||||
{
|
||||
$link_reg_ip .= profile_url($row) .', ';
|
||||
}
|
||||
$link_reg_ip = rtrim($link_reg_ip, ', ');
|
||||
$link_reg_ip = rtrim($link_reg_ip, ', ');
|
||||
}
|
||||
|
||||
if (!empty($last_ip))
|
||||
@ -101,7 +101,7 @@ switch ($mode)
|
||||
{
|
||||
$link_last_ip .= profile_url($row) .', ';
|
||||
}
|
||||
$link_last_ip = rtrim($link_last_ip, ', ');
|
||||
$link_last_ip = rtrim($link_last_ip, ', ');
|
||||
}
|
||||
|
||||
if ($profiledata['user_level'] == ADMIN && !IS_ADMIN) $reg_ip = $last_ip = $lang['HIDDEN'];
|
||||
|
@ -511,7 +511,7 @@ $bb_cfg['advert_url'] = 'info.php?show=advert';
|
||||
|
||||
$bb_cfg['sitemap_sending'] = array(
|
||||
# 'Source name' => 'http://ping_url'
|
||||
'Google' => 'http://google.com/webmasters/sitemaps/ping?sitemap=',
|
||||
'Google' => 'http://google.com/webmasters/sitemaps/ping?sitemap=',
|
||||
);
|
||||
|
||||
// Extensions
|
||||
|
@ -106,14 +106,14 @@ function delete_user_group ($group_id, $user_id)
|
||||
|
||||
function create_user_group ($user_id)
|
||||
{
|
||||
DB()->query("INSERT INTO ". BB_GROUPS ." (group_single_user) VALUES (1)");
|
||||
DB()->query("INSERT INTO ". BB_GROUPS ." (group_single_user) VALUES (1)");
|
||||
|
||||
$group_id = (int) DB()->sql_nextid();
|
||||
$user_id = (int) $user_id;
|
||||
$group_id = (int) DB()->sql_nextid();
|
||||
$user_id = (int) $user_id;
|
||||
|
||||
DB()->query("INSERT INTO ". BB_USER_GROUP ." (user_id, group_id, user_time) VALUES ($user_id, $group_id, ". TIMENOW .")");
|
||||
DB()->query("INSERT INTO ". BB_USER_GROUP ." (user_id, group_id, user_time) VALUES ($user_id, $group_id, ". TIMENOW .")");
|
||||
|
||||
return $group_id;
|
||||
return $group_id;
|
||||
}
|
||||
|
||||
function get_group_data ($group_id)
|
||||
|
@ -192,7 +192,7 @@ function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_
|
||||
'post_text' => $post_message,
|
||||
));
|
||||
|
||||
//Обновление кеша новостей на главной
|
||||
//Обновление кеша новостей на главной
|
||||
if($bb_cfg['show_latest_news'])
|
||||
{
|
||||
$news_forums = array_flip(explode(',', $bb_cfg['latest_news_forum_id']));
|
||||
|
@ -1230,7 +1230,7 @@ else if ( $submit || $refresh || $mode != '' )
|
||||
$replacement_word = array();
|
||||
obtain_word_list($orig_word, $replacement_word);
|
||||
|
||||
$preview_message = htmlCHR($privmsg_message, false, ENT_NOQUOTES);
|
||||
$preview_message = htmlCHR($privmsg_message, false, ENT_NOQUOTES);
|
||||
$preview_message = bbcode2html($privmsg_message);
|
||||
|
||||
if ( count($orig_word) )
|
||||
|
10
tracker.php
10
tracker.php
@ -403,7 +403,7 @@ if (!$set_default)
|
||||
$forum_val = join(',', $valid_forums);
|
||||
}
|
||||
|
||||
if ($forum_val && $forum_val != $search_all)
|
||||
if ($forum_val && $forum_val != $search_all)
|
||||
{
|
||||
$search_in_forums_ary = array_slice(explode(',', $forum_val), 0, $max_forums_selected);
|
||||
$search_in_forums_fary = array_flip($search_in_forums_ary);
|
||||
@ -668,10 +668,10 @@ if ($allowed_forums)
|
||||
{
|
||||
$SQL['WHERE'][] = "sn.seeders >= 1";
|
||||
}
|
||||
if ($tor_type)
|
||||
{
|
||||
$SQL['WHERE'][] = "tor.tor_type IN(1,2)";
|
||||
}
|
||||
if ($tor_type)
|
||||
{
|
||||
$SQL['WHERE'][] = "tor.tor_type IN(1,2)";
|
||||
}
|
||||
|
||||
// ORDER
|
||||
$SQL['ORDER BY'][] = "{$order_opt[$order_val]['sql']} {$sort_opt[$sort_val]['sql']}";
|
||||
|
@ -99,7 +99,7 @@ if ($is_auth['auth_mod'])
|
||||
unset($_REQUEST['sort'], $_REQUEST['order'], $_REQUEST[$title_match_key]);
|
||||
$show_type_separator = false;
|
||||
}
|
||||
$select_tst = array_merge(array($lang['TOR_STATUS_SELECT_ALL'] => -1), array_flip($lang['TOR_STATUS_NAME']));
|
||||
$select_tst = array_merge(array($lang['TOR_STATUS_SELECT_ALL'] => -1), array_flip($lang['TOR_STATUS_NAME']));
|
||||
$template->assign_vars(array(
|
||||
'SELECT_TST' => build_select('tst', $select_tst, $tor_status),
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user