Changeset 2413 for trunk/picture.php
- Timestamp:
- Jul 2, 2008, 3:11:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r2407 r2413 26 26 include(PHPWG_ROOT_PATH.'include/section_init.inc.php'); 27 27 include_once(PHPWG_ROOT_PATH.'include/functions_picture.inc.php'); 28 include_once(PHPWG_ROOT_PATH.'include/functions_session.inc.php');29 28 30 29 // Check Access and exit when user status is not ok … … 531 530 $template->assign( 532 531 $which_image, 533 array( 534 'TITLE' => $picture[$which_image]['name'], 535 'THUMB_SRC' => $picture[$which_image]['thumbnail'], 536 // Params slideshow was transmit to navigation buttons 537 'U_IMG' => 538 add_url_params( 539 $picture[$which_image]['url'], $slideshow_url_params), 540 'U_DOWNLOAD' => @$picture['current']['download_url'], 532 array_merge( 533 $picture[$which_image], 534 array( 535 'TITLE' => $picture[$which_image]['name'], 536 'THUMB_SRC' => $picture[$which_image]['thumbnail'], 537 // Params slideshow was transmit to navigation buttons 538 'U_IMG' => 539 add_url_params( 540 $picture[$which_image]['url'], $slideshow_url_params), 541 'U_DOWNLOAD' => @$picture['current']['download_url'], 542 ) 541 543 ) 542 544 ); … … 807 809 $template->append( 808 810 'related_tags', 809 array( 810 'ID' => $tag['id'], 811 'NAME' => $tag['name'], 812 'U_TAG' => make_index_url( 811 array_merge( $tag, 812 array( 813 'URL' => make_index_url( 813 814 array( 814 815 'tags' => array($tag) 815 816 ) 816 817 ), 817 'U_TAG_IMAGE' => duplicate_picture_url(818 'U_TAG_IMAGE' => duplicate_picture_url( 818 819 array( 819 820 'section' => 'tags', … … 822 823 ) 823 824 ) 825 ) 824 826 ); 825 827 } … … 869 871 $template->assign( 'ELEMENT_CONTENT', $element_content ); 870 872 873 if (is_admin()) 874 { 875 $template->assign('available_permission_levels', $conf['available_permission_levels']); 876 } 871 877 // +-----------------------------------------------------------------------+ 872 878 // | sub pages |
Note: See TracChangeset
for help on using the changeset viewer.