Changeset 2549 for trunk/picture.php
- Timestamp:
- Sep 18, 2008, 11:26:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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');
Note: See TracChangeset
for help on using the changeset viewer.