Changeset 2549
- Timestamp:
- Sep 18, 2008, 11:26:33 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/extend_for_templates.php
r2530 r2549 113 113 'thumbnails.tpl' => 'index_thumbnails', 114 114 'redirect.tpl' => 'redirect', 115 'menubar.tpl' => 'menubar',115 // 'menubar.tpl' => 'menubar', // TODO by blocks 116 116 'header.tpl' => 'header', 117 117 'footer.tpl' => 'tail', … … 120 120 'notification.tpl' => 'notification', 121 121 'picture_content.tpl' => 'default_content', 122 'slideshow.tpl' => 'picture', /* => slideshow is missing */123 122 'picture.tpl' => 'picture', 124 123 'popuphelp.tpl' => 'popuphelp', … … 128 127 'search.tpl' => 'search', 129 128 'search_rules.tpl' => 'search_rules', 129 'slideshow.tpl' => 'slideshow', 130 130 'tags.tpl' => 'tags', 131 131 'upload.tpl' => 'upload',); -
trunk/picture.php
r2521 r2549 551 551 $page['slideshow'] = false; 552 552 } 553 554 $template->set_filenames( 555 array( 556 'picture' => 557 (($page['slideshow'] and $conf['light_slideshow']) ? 'slideshow.tpl' : 'picture.tpl'), 558 )); 559 553 if ($page['slideshow'] and $conf['light_slideshow']) 554 { 555 $template->set_filenames( array('slideshow' => 'slideshow.tpl')); 556 } 557 else 558 { 559 $template->set_filenames( array('picture' => 'picture.tpl')); 560 } 560 561 561 562 $title = $picture['current']['name']; … … 949 950 include(PHPWG_ROOT_PATH.'include/page_header.php'); 950 951 trigger_action('loc_end_picture'); 951 $template->pparse('picture'); 952 if ($page['slideshow'] and $conf['light_slideshow']) 953 { 954 $template->pparse('slideshow'); 955 } 956 else 957 { 958 $template->pparse('picture'); 959 } 952 960 //------------------------------------------------------------ log informations 953 961 pwg_log($picture['current']['id'], 'picture'); -
trunk/template-extension/distributed/samples/titling_categories.tpl
r2547 r2549 17 17 <div class="unbordered"> {* W3C HTML non conform *} 18 18 <h3> {* 2nd difference: h3 is outside of description *} 19 <a href="{$cat.URL}">{$cat.NAME}</a>{$cat.ICON }19 <a href="{$cat.URL}">{$cat.NAME}</a>{$cat.ICON_TS} 20 20 </h3> 21 21 <li>
Note: See TracChangeset
for help on using the changeset viewer.