From ae6a63bee0d834888c3b30b5bcc4df2216173c75 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 1 Feb 2012 23:03:35 +0000 Subject: feature 2561: redesign on album administration screen. * only one form on the screen and several tabs * simpler URL pattern : page=album-123-properties / page=album-123-sort_order / page=album-123-permissions * action to associate all photos of an album to another (new) virtual album was removed. This can be easily done with the new Batch Manager * notification by email on an album still has to be moved on a new dedicated tab * action icons (jump to album, manage photos, manage sub-albums, delete album...) replaced by plain text links git-svn-id: http://piwigo.org/svn/trunk@13013 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/album.php | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 admin/album.php (limited to 'admin/album.php') diff --git a/admin/album.php b/admin/album.php new file mode 100644 index 000000000..1097f04f5 --- /dev/null +++ b/admin/album.php @@ -0,0 +1,92 @@ +add('properties', l10n('Properties'), $admin_album_base_url.'-properties'); +$tabsheet->add('sort_order', l10n('Manage photo ranks'), $admin_album_base_url.'-sort_order'); + +if ('private' == $category['status']) +{ + $tabsheet->add('permissions', l10n('Permissions'), $admin_album_base_url.'-permissions'); +} + +$tabsheet->select($page['tab']); +$tabsheet->assign(); + +// +-----------------------------------------------------------------------+ +// | Load the tab | +// +-----------------------------------------------------------------------+ + +if ('properties' == $page['tab']) +{ + include(PHPWG_ROOT_PATH.'admin/cat_modify.php'); +} +elseif ('sort_order' == $page['tab']) +{ + include(PHPWG_ROOT_PATH.'admin/element_set_ranks.php'); +} +elseif ('permissions' == $page['tab']) +{ + $_GET['cat'] = $_GET['cat_id']; + include(PHPWG_ROOT_PATH.'admin/cat_perm.php'); +} +else +{ + include(PHPWG_ROOT_PATH.'admin/album_'.$page['tab'].'.php'); +} +?> \ No newline at end of file -- cgit v1.2.3