aboutsummaryrefslogtreecommitdiffstats
path: root/admin/permalinks.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-02-20 19:28:43 +0000
committerplegall <plg@piwigo.org>2012-02-20 19:28:43 +0000
commit12bf0f72bb1e0c5d897bd7b11bea363cfb0b9e06 (patch)
tree2960b53953ba2ab478fce57bf23df2208256af5f /admin/permalinks.php
parent4c19a2443c0e4eab92563533eb6a62516d03cb4f (diff)
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
Diffstat (limited to 'admin/permalinks.php')
-rw-r--r--admin/permalinks.php10
1 files changed, 9 insertions, 1 deletions
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 = '&dArr;'; // 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,