diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-11-15 04:25:12 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-11-15 04:25:12 +0000 |
commit | 221d839769ae15035397ab691a1bea8567b60ee0 (patch) | |
tree | 2a6d84cb52de93ccd95a421a30fcc4fd3885383b /admin/picture_modify.php | |
parent | c8a07e4c0b9d0f36f7fb73ac8af0cff64ff3fdee (diff) |
completely replaced get_thumbnail_src it get_thumbnail_url
or get_thumbnail_path
git-svn-id: http://piwigo.org/svn/trunk@1609 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/picture_modify.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 291d41bd0..664503281 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -141,7 +141,7 @@ DELETE FROM '.IMAGE_CATEGORY_TABLE.' AND category_id IN ('.implode(',', $_POST['cat_associated']).') '; pwg_query($query); - + update_category($_POST['cat_associated']); } // elect the element to represent the given categories @@ -223,7 +223,7 @@ else l10n('No tag defined. Use Administration>Pictures>Tags'). '</p>'; } - + $template->assign_vars( array( 'U_SYNC' => @@ -234,7 +234,7 @@ $template->assign_vars( 'PATH'=>$row['path'], - 'TN_SRC' => get_thumbnail_src($row['path'], @$row['tn_ext']), + 'TN_SRC' => get_thumbnail_url($row), 'NAME' => isset($_POST['name']) ? |