From bea45c89b62c779dd56383e82b0fbb9bd76696df Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 10 Feb 2012 10:52:07 +0000 Subject: feature 2564: redesign on photo administration screen. * one screen with several tabs (for now: properties + coi) * double select boxes for album associations and representation have been converted to simple multiple select boxes with jQuery Chosen * more details about the photo in an introduction text git-svn-id: http://piwigo.org/svn/trunk@13077 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/photo.php | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 admin/photo.php (limited to 'admin/photo.php') diff --git a/admin/photo.php b/admin/photo.php new file mode 100644 index 000000000..30d86624c --- /dev/null +++ b/admin/photo.php @@ -0,0 +1,86 @@ +add('properties', l10n('Properties'), $admin_photo_base_url.'-properties'); +$tabsheet->add('coi', l10n('Center of interest'), $admin_photo_base_url.'-coi'); + +$tabsheet->select($page['tab']); +$tabsheet->assign(); + +// +-----------------------------------------------------------------------+ +// | Load the tab | +// +-----------------------------------------------------------------------+ + +if ('properties' == $page['tab']) +{ + include(PHPWG_ROOT_PATH.'admin/picture_modify.php'); +} +elseif ('coi' == $page['tab']) +{ + include(PHPWG_ROOT_PATH.'admin/picture_coi.php'); +} +else +{ + include(PHPWG_ROOT_PATH.'admin/photo_'.$page['tab'].'.php'); +} +?> \ No newline at end of file -- cgit v1.2.3