feature 1712: ability to add a CSS class on body
git-svn-id: http://piwigo.org/svn/branches/2.1@6454 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
663c13f39a
commit
cf5075e774
2 changed files with 2 additions and 1 deletions
|
@ -599,6 +599,7 @@ else
|
||||||
if ($page['slideshow'] and $conf['light_slideshow'])
|
if ($page['slideshow'] and $conf['light_slideshow'])
|
||||||
{
|
{
|
||||||
$template->set_filenames( array('slideshow' => 'slideshow.tpl'));
|
$template->set_filenames( array('slideshow' => 'slideshow.tpl'));
|
||||||
|
$template->assign('BODY_CLASS', 'slideshow');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="{$BODY_ID}">
|
<body id="{$BODY_ID}" {if isset($BODY_CLASS)}class="{$BODY_CLASS}"{/if}>
|
||||||
<div id="the_page">
|
<div id="the_page">
|
||||||
|
|
||||||
{if not empty($header_msgs)}
|
{if not empty($header_msgs)}
|
||||||
|
|
Loading…
Add table
Reference in a new issue