aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_ranks.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-08-01 17:00:07 +0000
committerrvelices <rv-github@modusoptimus.com>2012-08-01 17:00:07 +0000
commit4b181b746fa3660f63de96373caf66686cc470b4 (patch)
treea2b71753b2d1421b5e54d425f54561db3fb8c1e6 /admin/element_set_ranks.php
parenta7895bf67b2596ddef101bf7b11ab9b53ab32b9e (diff)
merge -r17289 from trunk to 2.4: 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/branches/2.4@17290 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 cba101022..38b168bec 100644
--- a/admin/element_set_ranks.php
+++ b/admin/element_set_ranks.php
@@ -239,21 +239,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);