diff options
author | mistic100 <mistic@piwigo.org> | 2011-07-01 13:54:56 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-07-01 13:54:56 +0000 |
commit | a8954c34a1ea60dc52cb5a995e35c575b03a802e (patch) | |
tree | 082b56c7a84b11ce1ab999d71f42b1499475a38e /admin | |
parent | 5c545444cb52b95a4062e69d012c1f5203672532 (diff) |
feature:2317 move order config to Admin->Config->Options
limit to 6 criterias (very uncommon case so no message displayed)
git-svn-id: http://piwigo.org/svn/trunk@11589 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/configuration.php | 1 | ||||
-rw-r--r-- | admin/themes/default/template/configuration.tpl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php index 98e07c9bf..82c16b8e7 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -136,6 +136,7 @@ if (isset($_POST['submit'])) $order_by_inside_category = array(); for ($i=0; $i<count($_POST['order_by_field']); $i++) { + if ($i>5) continue; if ($_POST['order_by_field'][$i] == '') { array_push($page['errors'], l10n('No field selected')); diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl index fc5f42b26..85574ed4b 100644 --- a/admin/themes/default/template/configuration.tpl +++ b/admin/themes/default/template/configuration.tpl @@ -96,7 +96,7 @@ </span> </li> - <li style="margin-top:20px;"> + <li> <span class="property"> {'Default photos order'|@translate} |