diff options
author | plegall <plg@piwigo.org> | 2005-03-16 20:57:54 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-03-16 20:57:54 +0000 |
commit | 333d44c398e31dd7f24efbcf50d53c1ce2a754ba (patch) | |
tree | 8cebea4d976e57dc9fbc52e0d0fd4cf7fba9fe39 /include | |
parent | 06dbb3790190144202df48f6f6265810b8d0f63d (diff) |
- new configuration parameter show_version : should the version be displayed
or not ?
git-svn-id: http://piwigo.org/svn/trunk@754 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/config.inc.php | 4 | ||||
-rw-r--r-- | include/page_tail.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/config.inc.php b/include/config.inc.php index c9c23b0e5..27001795a 100644 --- a/include/config.inc.php +++ b/include/config.inc.php @@ -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'] = true; ?> diff --git a/include/page_tail.php b/include/page_tail.php index 910516dcc..5e4a977e6 100644 --- a/include/page_tail.php +++ b/include/page_tail.php @@ -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'], |