- bug 83 fixed : "remove version from footer". Trivial correction.

git-svn-id: http://piwigo.org/svn/branches/branch-1_4@781 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-05-01 07:47:49 +00:00
parent 65c52a2a20
commit 22b608fd64
2 changed files with 5 additions and 1 deletions

View File

@@ -191,4 +191,8 @@ $conf['tn_width'] = 128;
// tn_height : default height for thumbnails creation
$conf['tn_height'] = 96;
// show_version : shall the version of PhpWebGallery be displayed at the
// bottom of each page ?
$conf['show_version'] = false;
?>

View File

@@ -28,7 +28,7 @@ $template->set_filenames(array('tail'=>'footer.tpl'));
$template->assign_vars(
array(
'VERSION' => PHPWG_VERSION,
'VERSION' => $conf['show_version'] ? PHPWG_VERSION : '',
'MAIL'=>$conf['mail_webmaster'],
'L_GEN_TIME' => $lang['generation_time'],