mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
r389
bugs fix git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@389 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
826d066467
commit
e1d119607b
6 changed files with 8 additions and 8 deletions
|
@ -52,8 +52,8 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.4 (beta)';
|
||||
$bb_cfg['tp_release_state'] = 'R388';
|
||||
$bb_cfg['tp_release_date'] = '19-03-2012';
|
||||
$bb_cfg['tp_release_state'] = 'R389';
|
||||
$bb_cfg['tp_release_date'] = '2-04-2012';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
|
|
@ -164,7 +164,7 @@ class report_post extends report_module
|
|||
function subject_url($report_subject, $non_html_amp = false)
|
||||
{
|
||||
$report_subject = (int) $report_subject;
|
||||
return 'viewtopic.php?'. POST_POST_URL .'='. $report_subject .'#'. $report_subject . $non_html_amp;
|
||||
return 'viewtopic.php?'. POST_POST_URL .'='. $report_subject .'#'. $report_subject;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -163,7 +163,7 @@ class report_privmsg extends report_module
|
|||
function subject_url($report_subject, $non_html_amp = false)
|
||||
{
|
||||
$sep = ($non_html_amp) ? '&' : '&';
|
||||
return 'privmsg.php?mode=read'.$sep . POST_POST_URL . '=' . (int) $report_subject . $non_html_amp;
|
||||
return 'privmsg.php?mode=read'.$sep . POST_POST_URL . '=' . (int) $report_subject;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -163,7 +163,7 @@ class report_topic extends report_module
|
|||
//
|
||||
function subject_url($report_subject, $non_html_amp = false)
|
||||
{
|
||||
return 'viewtopic.php?'. POST_TOPIC_URL .'='. (int) $report_subject . $non_html_amp;
|
||||
return 'viewtopic.php?'. POST_TOPIC_URL .'='. (int) $report_subject;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -21,7 +21,7 @@ class report_user extends report_module
|
|||
function subject_url($id, $non_html_amp = false)
|
||||
{
|
||||
$sep = ($non_html_amp) ? '&' : '&';
|
||||
return 'profile.php?mode=viewprofile'. $sep. POST_USERS_URL .'=' . (int) $id . $non_html_amp;
|
||||
return 'profile.php?mode=viewprofile'. $sep. POST_USERS_URL .'=' . (int) $id;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -548,7 +548,7 @@ foreach ($profile_fields as $field => $can_edit)
|
|||
case 'user_avatar_type':
|
||||
if(isset($_POST['avatargallery']) && !$errors)
|
||||
{
|
||||
$avatar_category = (!empty($_POST['avatarcategory'])) ? htmlspecialchars($_POST['avatarcategory']) : '';
|
||||
$category = (!empty($_POST['avatarcategory'])) ? htmlspecialchars($_POST['avatarcategory']) : '';
|
||||
|
||||
$dir = @opendir($bb_cfg['avatar_gallery_path']);
|
||||
|
||||
|
@ -630,7 +630,7 @@ foreach ($profile_fields as $field => $can_edit)
|
|||
'S_HIDDEN_FIELDS' => $s_hidden_vars)
|
||||
);
|
||||
|
||||
$template->set_filenames(array('body' => 'usercp_avatar_gallery.tpl'));
|
||||
print_page('usercp_avatar_gallery.tpl');
|
||||
}
|
||||
|
||||
$user_avatar_local = (isset($_POST['avatarselect']) && !empty($_POST['submitavatar']) && $bb_cfg['allow_avatar_local']) ? htmlspecialchars($_POST['avatarselect']) : ((isset($_POST['avatarlocal'])) ? htmlspecialchars($_POST['avatarlocal']) : '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue