Changeset 2169
- Timestamp:
- Nov 23, 2007, 12:49:36 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r2155 r2169 437 437 $page['slideshow'] = true; 438 438 if ( $conf['light_slideshow'] ) 439 { 439 { // Change template file 440 // Add local-slideshow.css file if exists 440 441 $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 } 441 448 } 442 449 if ( isset($page['next_item']) ) -
trunk/template/yoga/header.tpl
r1900 r2169 44 44 <link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/default-colors.css"> 45 45 <link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/theme.css"> 46 <!-- BEGIN slideshow --> 47 <link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/local-slideshow.css"> 48 <!-- END slideshow --> 46 49 {themeconf:local_head} 47 50 <!-- BEGIN prefetch -->
Note: See TracChangeset
for help on using the changeset viewer.