mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
It's like a production line this ain't it ... any colour so long as it's subSilver ...
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3130 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
@@ -162,8 +161,19 @@ if( $mode != "" )
|
||||
}
|
||||
}
|
||||
|
||||
if( $rank_id )
|
||||
if ($rank_id)
|
||||
{
|
||||
if (!$special_rank)
|
||||
{
|
||||
$sql = "UPDATE " . USERS_TABLE . "
|
||||
SET user_rank = 0
|
||||
WHERE user_rank = $rank_id";
|
||||
|
||||
if( !$result = $db->sql_query($sql) )
|
||||
{
|
||||
message_die(GENERAL_ERROR, $lang['No_update_ranks'], "", __LINE__, __FILE__, $sql);
|
||||
}
|
||||
}
|
||||
$sql = "UPDATE " . RANKS_TABLE . "
|
||||
SET rank_title = '" . str_replace("\'", "''", $rank_title) . "', rank_special = $special_rank, rank_min = $min_posts, rank_image = '" . str_replace("\'", "''", $rank_image) . "'
|
||||
WHERE rank_id = $rank_id";
|
||||
|
@@ -111,7 +111,8 @@ h3 {font-size:12pt;color:blue}
|
||||
<li>Fixed non-appending of sid to Mozilla nav bar menu items</li>
|
||||
<li>Fixed incorrect profile linking from MSNM url in private messaging</li>
|
||||
<li>Grammatical errors in English lang_main fixed - <b>Cluster</b></li>
|
||||
<li></li>
|
||||
<li>Allow deletion of avatar and simultaneous upload/linking/gallery selection</li>
|
||||
<li>Fixed non-updating of user rank when changing from special to normal rank in rank admin</li>
|
||||
<li></li>
|
||||
<li></li>
|
||||
</ul>
|
||||
|
@@ -97,6 +97,15 @@ if (
|
||||
|
||||
$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests');
|
||||
|
||||
// BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4
|
||||
//
|
||||
// NOTE ... nore sure about this htmlspecialchars here ... should users make 'extensive' use of special chars they will lose characters without realising it (as data is trimmed to fit the given fields)
|
||||
//
|
||||
// Only way around this at present will be to specialchar data in the relevant source as reqd. inc.
|
||||
// reverting this to how it was done a few days back.
|
||||
//
|
||||
// BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4 BEFORE 2.0.4
|
||||
|
||||
while( list($var, $param) = @each($strip_var_list) )
|
||||
{
|
||||
if ( !empty($HTTP_POST_VARS[$param]) )
|
||||
@@ -378,7 +387,8 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||
{
|
||||
$avatar_sql = user_avatar_delete($userdata['user_avatar_type'], $userdata['user_avatar']);
|
||||
}
|
||||
else if ( ( !empty($user_avatar_upload) || !empty($user_avatar_name) ) && $board_config['allow_avatar_upload'] )
|
||||
|
||||
if ( ( !empty($user_avatar_upload) || !empty($user_avatar_name) ) && $board_config['allow_avatar_upload'] )
|
||||
{
|
||||
if ( !empty($user_avatar_upload) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user