aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-07-17 14:58:42 +0000
committerplegall <plg@piwigo.org>2005-07-17 14:58:42 +0000
commiteb189de80066ce353e472cd9067defd67102177f (patch)
tree0ad4620d140eacc7c5367de812f9315bbb3ca539 /picture.php
parent3f4f655e1e16b7adfc6c5b57742e6a8f90b1db20 (diff)
- new configuration parameter : hide thumbnail captions on main page with
$conf['show_thumbnail_caption'] - new configuration parameter : hide picture name in title on picture presentation page with $conf['show_picture_name_on_title'] - template : new CSS classes to manage picture.php title git-svn-id: http://piwigo.org/svn/trunk@803 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/picture.php b/picture.php
index e1d60d4a4..479fcf63d 100644
--- a/picture.php
+++ b/picture.php
@@ -586,6 +586,12 @@ $template->assign_vars(array(
'U_ADD_COMMENT' => add_session_id(str_replace( '&', '&amp;', $_SERVER['REQUEST_URI'] ))
)
);
+
+if ($conf['show_picture_name_on_title'])
+{
+ $template->assign_block_vars('title', array());
+}
+
//------------------------------------------------------- upper menu management
// download link if file is not a picture
if (!$picture['current']['is_picture'])