mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 09:48:53 +00: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:
parent
ce185663d4
commit
d049d770c5
1 changed files with 19 additions and 18 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue