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
This commit is contained in:
plegall
2010-06-03 12:49:31 +00:00
parent 2a99a22130
commit a79d547f05
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
{
+1 -1
View File
@@ -53,7 +53,7 @@
</head>
<body id="{$BODY_ID}">
<body id="{$BODY_ID}" {if isset($BODY_CLASS)}class="{$BODY_CLASS}"{/if}>
<div id="the_page">
{if not empty($header_msgs)}