From 87ed74afd97c8c8d3bb1f6023de40fc590bcad3d Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 24 Mar 2013 06:49:06 +0000 Subject: - remove code for backward compatibility (jquery ui effect + template variable) git-svn-id: http://piwigo.org/svn/trunk@21818 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'picture.php') diff --git a/picture.php b/picture.php index 092b2aed2..ea22c8751 100644 --- a/picture.php +++ b/picture.php @@ -150,7 +150,7 @@ trigger_action('loc_begin_picture'); function default_picture_content($content, $element_info) { global $conf; - + if ( !empty($content) ) {// someone hooked us - so we skip; return $content; @@ -377,7 +377,7 @@ UPDATE '.USER_CACHE_CATEGORIES_TABLE.' } unset($_POST['content']); } - + $edit_comment = $_GET['comment_to_edit']; } break; @@ -773,7 +773,6 @@ if (is_admin()) array('action'=>'add_to_caddie') ), 'U_PHOTO_ADMIN' => $url_admin, - 'U_ADMIN' => $url_admin, // TEMP 2.5 for backward compatibility ) ); @@ -986,7 +985,6 @@ if ($conf['picture_menu'] AND (!isset($themeconf['hide_menu_on']) OR !in_array(' { if (!isset($page['start'])) $page['start'] = 0; include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); - if (is_admin()) $template->assign('U_ADMIN', $url_admin); // overwrited by the menu TEMP 2.5 for backward compatibility } include(PHPWG_ROOT_PATH.'include/page_header.php'); -- cgit v1.2.3