aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-03-24 06:49:06 +0000
committerrvelices <rv-github@modusoptimus.com>2013-03-24 06:49:06 +0000
commit87ed74afd97c8c8d3bb1f6023de40fc590bcad3d (patch)
tree87b6fba15a453a65611903bced5677dec0b187f0 /picture.php
parentea10c19ac5a1f6e89627497e5a6bfdefa37b5053 (diff)
- remove code for backward compatibility (jquery ui effect + template variable)
git-svn-id: http://piwigo.org/svn/trunk@21818 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php6
1 files changed, 2 insertions, 4 deletions
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');