mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-17 07:01:22 +02:00
Moved avatar dir size lang generation into avatar dir size conditional
git-svn-id: file:///svn/phpbb/trunk@1409 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -149,12 +149,6 @@ elseif( $HTTP_GET_VARS['pane'] == 'right' )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
@closedir($avatar_dir);
|
@closedir($avatar_dir);
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// Couldn't open Avatar dir.
|
|
||||||
$avatar_dir_size = $lang['Not_available'];
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// This bit of code translates the avatar directory size into human readable format
|
// This bit of code translates the avatar directory size into human readable format
|
||||||
@@ -174,6 +168,13 @@ elseif( $HTTP_GET_VARS['pane'] == 'right' )
|
|||||||
$avatar_dir_size = $avatar_dir_size . " Bytes";
|
$avatar_dir_size = $avatar_dir_size . " Bytes";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Couldn't open Avatar dir.
|
||||||
|
$avatar_dir_size = $lang['Not_available'];
|
||||||
|
}
|
||||||
|
|
||||||
if($posts_per_day > $total_posts)
|
if($posts_per_day > $total_posts)
|
||||||
{
|
{
|
||||||
$posts_per_day = $total_posts;
|
$posts_per_day = $total_posts;
|
||||||
|
Reference in New Issue
Block a user