mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
- missing index.php from prev commit
git-svn-id: http://piwigo.org/svn/trunk@3146 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -228,8 +228,11 @@ if ( count($page['items']) > 0
|
||||
// image order
|
||||
$order_idx = pwg_get_session_var( 'image_order', 0 );
|
||||
|
||||
$orders = get_category_preferred_image_orders();
|
||||
foreach ($orders as $order_id => $order)
|
||||
$url = add_url_params(
|
||||
duplicate_index_url(),
|
||||
array('image_order' => '')
|
||||
);
|
||||
foreach (get_category_preferred_image_orders() as $order_id => $order)
|
||||
{
|
||||
if ($order[2])
|
||||
{
|
||||
@@ -237,10 +240,7 @@ if ( count($page['items']) > 0
|
||||
'image_orders',
|
||||
array(
|
||||
'DISPLAY' => $order[0],
|
||||
'URL' => add_url_params(
|
||||
duplicate_index_url(),
|
||||
array('image_order' => $order_id)
|
||||
),
|
||||
'URL' => $url.$order_id,
|
||||
'SELECTED' => ($order_idx == $order_id ? true:false),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user