Changeset 3146 for trunk/index.php


Ignore:
Timestamp:
Feb 14, 2009, 3:26:23 AM (16 years ago)
Author:
rvelices
Message:
  • missing index.php from prev commit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r3117 r3146  
    229229  $order_idx = pwg_get_session_var( 'image_order', 0 );
    230230
    231   $orders = get_category_preferred_image_orders();
    232   foreach ($orders as $order_id => $order)
     231  $url = add_url_params(
     232          duplicate_index_url(),
     233          array('image_order' => '')
     234        );
     235  foreach (get_category_preferred_image_orders() as $order_id => $order)
    233236  {
    234237    if ($order[2])
     
    238241        array(
    239242          'DISPLAY' => $order[0],
    240           'URL' => add_url_params(
    241             duplicate_index_url(),
    242             array('image_order' => $order_id)
    243             ),
     243          'URL' => $url.$order_id,
    244244          'SELECTED' => ($order_idx == $order_id ? true:false),
    245245          )
Note: See TracChangeset for help on using the changeset viewer.