From a79d547f05218be7fcb24125b9109582da059f1b Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 3 Jun 2010 12:49:31 +0000 Subject: [PATCH] merge r6454 from branch 2.1 to trunk feature 1712: ability to add a CSS class on body git-svn-id: http://piwigo.org/svn/trunk@6455 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 1 + themes/default/template/header.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/picture.php b/picture.php index 80679b19f..0cf563bd3 100644 --- a/picture.php +++ b/picture.php @@ -599,6 +599,7 @@ else if ($page['slideshow'] and $conf['light_slideshow']) { $template->set_filenames( array('slideshow' => 'slideshow.tpl')); + $template->assign('BODY_CLASS', 'slideshow'); } else { diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl index 807196312..3a700aa59 100644 --- a/themes/default/template/header.tpl +++ b/themes/default/template/header.tpl @@ -53,7 +53,7 @@ - +
{if not empty($header_msgs)}