From eb189de80066ce353e472cd9067defd67102177f Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 17 Jul 2005 14:58:42 +0000 Subject: - 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 --- picture.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'picture.php') 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( '&', '&', $_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']) -- cgit v1.2.3