Changeset 2169 for trunk/picture.php


Ignore:
Timestamp:
Nov 23, 2007, 12:49:36 AM (16 years ago)
Author:
vdigital
Message:

New feature: 745: Separate CSS for slideshow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r2155 r2169  
    437437  $page['slideshow'] = true;
    438438  if ( $conf['light_slideshow'] )
    439   {
     439  { // Change template file
     440    // Add local-slideshow.css file if exists
    440441    $template->set_filename('picture', 'slideshow.tpl');
     442    $css = get_root_url() . get_themeconf('template_dir') . '/theme/'
     443         . get_themeconf('theme') . '/local-slideshow.css';
     444    if (file_exists($css))
     445    {
     446      $template->assign_block_vars('slideshow', array());
     447    }
    441448  }
    442449  if ( isset($page['next_item']) )
Note: See TracChangeset for help on using the changeset viewer.