From 12bf0f72bb1e0c5d897bd7b11bea363cfb0b9e06 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 20 Feb 2012 19:28:43 +0000 Subject: feature 2581: new design on albums list management. icons removed, replaced by text links visible on :hover better ergonomy for automatic order: the "save manual order" submit button only appears when a change is detected in the album ordering. The "automatic sort order" becomes a dedicated fieldset, hidden by default, displayed "on user demand". new virtual album form displayed only "on user demand" cat_list, cat_move and permalinks are 3 tabs for the "Albums > Manage" link in the menubar. permalinks admin page slightly redesign: fieldsets instead of centered h3, "on user demand" form to add/modify permalinks. git-svn-id: http://piwigo.org/svn/trunk@13282 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/permalinks.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'admin/permalinks.php') diff --git a/admin/permalinks.php b/admin/permalinks.php index 9e5e8fec9..4beb0dbc6 100644 --- a/admin/permalinks.php +++ b/admin/permalinks.php @@ -49,7 +49,7 @@ function parse_sort_variables( foreach( $sortable_by as $field) { $url = $base_url; - $disp = '⇓'; // TODO: an small image is better + $disp = '↓'; // TODO: an small image is better if ( $field !== @$_GET[$get_param] ) { @@ -106,6 +106,14 @@ DELETE FROM '.OLD_PERMALINKS_TABLE.' $template->set_filename('permalinks', 'permalinks.tpl' ); +// +-----------------------------------------------------------------------+ +// | tabs | +// +-----------------------------------------------------------------------+ + +$page['tab'] = 'permalinks'; +include(PHPWG_ROOT_PATH.'admin/include/albums_tab.inc.php'); + + $query = ' SELECT id, permalink, -- cgit v1.2.3