aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_list.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-10-18 19:34:23 +0000
committerplegall <plg@piwigo.org>2013-10-18 19:34:23 +0000
commitcd53c8fcd7b6f3d8af741134909b08f747dc191f (patch)
treefe3b66c8c9f5bd0b821a70bfdcb3b43e7bbbf249 /admin/cat_list.php
parent4fb203b10ab141a38c8a18bf558b1faedd0e0af2 (diff)
feature 2968 added: Add link to "edit this album" when managung sub-albums. Patch by msakik.
git-svn-id: http://piwigo.org/svn/trunk@24985 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/cat_list.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php
index 383e4d7f4..baba5e2c9 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -273,6 +273,15 @@ SELECT DISTINCT category_id
$template->assign('categories', array());
$base_url = get_root_url().'admin.php?page=';
+
+if (isset($_GET['parent_id']))
+{
+ $template->assign(
+ 'PARENT_EDIT',
+ $base_url.'album-'.$_GET['parent_id']
+ );
+}
+
foreach ($categories as $category)
{
$cat_list_url = $base_url.'cat_list';