aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_ranks.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-08-01 16:59:06 +0000
committerrvelices <rv-github@modusoptimus.com>2012-08-01 16:59:06 +0000
commit4eb43c14060d0c70b7b199cc81193537309611b5 (patch)
treefb61740b4eb7a2a25b86427bcaf21d001a4abdda /admin/element_set_ranks.php
parenteae8b9c05184582c1f651cfd14f2161e11b6514e (diff)
batch manager improvements/fixes:
- when refreshing photo set, start is set to 0 (otherwise if the new set is smaller that start, it looks like it is empty) - correct positioning of thumbnails (width/height) is done in template instead of javascript (immediate instead on ready + no reflows) - less space lost on batch manager page - fix wrong page title in batch manager because of global variable $title overriden - fix language keys in element_set_ranks (capital/lowercase issue) git-svn-id: http://piwigo.org/svn/trunk@17289 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/element_set_ranks.php')
-rw-r--r--admin/element_set_ranks.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/admin/element_set_ranks.php b/admin/element_set_ranks.php
index 8f078efec..df21de6d6 100644
--- a/admin/element_set_ranks.php
+++ b/admin/element_set_ranks.php
@@ -237,21 +237,21 @@ if (pwg_db_num_rows($result) > 0)
// image order management
$sort_fields = array(
'' => '',
- 'file' => l10n('file name, A &rarr; Z'),
- 'file DESC' => l10n('file name, Z &rarr; A'),
- 'name' => l10n('photo title, A &rarr; Z'),
- 'name DESC' => l10n('photo title, Z &rarr; A'),
- 'date_creation DESC' => l10n('date created, new &rarr; old'),
- 'date_creation' => l10n('date created, old &rarr; new'),
- 'date_available DESC' => l10n('date posted, new &rarr; old'),
- 'date_available' => l10n('date posted, old &rarr; new'),
- 'rating_score DESC' => l10n('rating score, high &rarr; low'),
- 'rating_score' => l10n('rating score, low &rarr; high'),
- 'hit DESC' => l10n('visits, high &rarr; low'),
- 'hit' => l10n('visits, low &rarr; high'),
- 'id' => l10n('numeric identifier, 1 &rarr; 9'),
- 'id DESC' => l10n('numeric identifier, 9 &rarr; 1'),
- 'rank' => l10n('manual sort order'),
+ 'file' => l10n('File name, A &rarr; Z'),
+ 'file DESC' => l10n('File name, Z &rarr; A'),
+ 'name' => l10n('Photo title, A &rarr; Z'),
+ 'name DESC' => l10n('Photo title, Z &rarr; A'),
+ 'date_creation DESC' => l10n('Date created, new &rarr; old'),
+ 'date_creation' => l10n('Date created, old &rarr; new'),
+ 'date_available DESC' => l10n('Date posted, new &rarr; old'),
+ 'date_available' => l10n('Date posted, old &rarr; new'),
+ 'rating_score DESC' => l10n('Rating score, high &rarr; low'),
+ 'rating_score' => l10n('Rating score, low &rarr; high'),
+ 'hit DESC' => l10n('Visits, high &rarr; low'),
+ 'hit' => l10n('Visits, low &rarr; high'),
+ 'id' => l10n('Numeric identifier, 1 &rarr; 9'),
+ 'id DESC' => l10n('Numeric identifier, 9 &rarr; 1'),
+ 'rank' => l10n('Manual sort order'),
);
$template->assign('image_order_options', $sort_fields);