mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
shortening the code
git-svn-id: http://piwigo.org/svn/trunk@44 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -28,9 +28,6 @@ $isadmin = false;
|
||||
include_once( './language/'.$user['language'].'.php' );
|
||||
// displaying the username in the language of the connected user, instead of
|
||||
// "guest" as you can find in the database
|
||||
if ( $user['is_the_guest'] )
|
||||
{
|
||||
$user['username'] = $lang['guest'];
|
||||
}
|
||||
if ( $user['is_the_guest'] ) $user['username'] = $lang['guest'];
|
||||
include_once( './template/'.$user['template'].'/htmlfunctions.inc.php' );
|
||||
?>
|
||||
Reference in New Issue
Block a user