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
This commit is contained in:
parent
5c545444cb
commit
a8954c34a1
2 changed files with 2 additions and 1 deletions
|
@ -136,6 +136,7 @@ if (isset($_POST['submit']))
|
||||||
$order_by_inside_category = array();
|
$order_by_inside_category = array();
|
||||||
for ($i=0; $i<count($_POST['order_by_field']); $i++)
|
for ($i=0; $i<count($_POST['order_by_field']); $i++)
|
||||||
{
|
{
|
||||||
|
if ($i>5) continue;
|
||||||
if ($_POST['order_by_field'][$i] == '')
|
if ($_POST['order_by_field'][$i] == '')
|
||||||
{
|
{
|
||||||
array_push($page['errors'], l10n('No field selected'));
|
array_push($page['errors'], l10n('No field selected'));
|
||||||
|
|
|
@ -96,7 +96,7 @@
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li style="margin-top:20px;">
|
<li>
|
||||||
|
|
||||||
<span class="property">
|
<span class="property">
|
||||||
{'Default photos order'|@translate}
|
{'Default photos order'|@translate}
|
||||||
|
|
Loading…
Add table
Reference in a new issue