aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-04-19 03:00:11 +0000
committerrvelices <rv-github@modusoptimus.com>2008-04-19 03:00:11 +0000
commit55095f9ce9d32fc12a6be8070adf74c9423d1d95 (patch)
tree81a7b1370b327d8aa1ef34497e393d84c391cbc0 /admin/picture_modify.php
parente57f06df4a089d4fb7ed45fa6f3cc61357ebf3d1 (diff)
merge -r 2303 from branch-1_7 to trunk
- removed some unused code - mass_updates function does not need SELECT VERSION() - rewrote update_uppercats to avoid db update if no change git-svn-id: http://piwigo.org/svn/trunk@2304 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/picture_modify.php')
-rw-r--r--admin/picture_modify.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index e27b1eae0..2fbaf901b 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -188,11 +188,6 @@ SELECT tag_id
;';
$selected_tags = array_from_query($query, 'tag_id');
-// Navigation path
-
-$date = isset($_POST['date_creation']) && empty($page['errors'])
-?$_POST['date_creation']:date_convert_back(@$row['date_creation']);
-
// +-----------------------------------------------------------------------+
// | template init |
// +-----------------------------------------------------------------------+
@@ -224,7 +219,7 @@ else
$template->assign(
array(
'U_SYNC' =>
- PHPWG_ROOT_PATH.'admin.php?page=picture_modify'.
+ get_root_url().'admin.php?page=picture_modify'.
'&amp;image_id='.$_GET['image_id'].
(isset($_GET['cat_id']) ? '&amp;cat_id='.$_GET['cat_id'] : '').
'&amp;sync_metadata=1',
@@ -246,8 +241,6 @@ $template->assign(
'AUTHOR' => isset($_POST['author']) ? $_POST['author'] : @$row['author'],
- 'CREATION_DATE' => $date,
-
'TAG_SELECTION' => $tag_selection,
'DESCRIPTION' =>
@@ -255,7 +248,7 @@ $template->assign(
stripslashes($_POST['description']) : @$row['comment'] ),
'F_ACTION' =>
- PHPWG_ROOT_PATH.'admin.php'
+ get_root_url().'admin.php'
.get_query_string_diff(array('sync_metadata'))
)
);