Changeset 6455


Ignore:
Timestamp:
06/03/10 14:49:31 (10 years ago)
Author:
plg
Message:

merge r6454 from branch 2.1 to trunk

feature 1712: ability to add a CSS class on body

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r6363 r6455  
    600600{ 
    601601  $template->set_filenames( array('slideshow' => 'slideshow.tpl')); 
     602  $template->assign('BODY_CLASS', 'slideshow'); 
    602603} 
    603604else 
  • trunk/themes/default/template/header.tpl

    r6004 r6455  
    5454</head> 
    5555 
    56 <body id="{$BODY_ID}"> 
     56<body id="{$BODY_ID}" {if isset($BODY_CLASS)}class="{$BODY_CLASS}"{/if}> 
    5757<div id="the_page"> 
    5858 
Note: See TracChangeset for help on using the changeset viewer.