Changeset 1094 for trunk/category.php


Ignore:
Timestamp:
Mar 23, 2006, 2:49:04 AM (19 years ago)
Author:
rvelices
Message:

URL rewrite: 3 options in the config file define behaviour (question mark
removal, file name for picture and .php extension removal)

fix: added unsigned for column in install sql - for the sake of uniformization

change: add_url_param is now add_url_params and takes an array as parameter
instead of a string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/category.php

    r1092 r1094  
    191191    'U_REGISTER' => get_root_url().'register.php',
    192192    'U_LOST_PASSWORD' => get_root_url().'password.php',
    193     'U_LOGOUT' => add_url_param(make_index_URL(), 'act=logout'),
     193    'U_LOGOUT' => add_url_params(make_index_URL(), array('act'=>'logout') ),
    194194    'U_ADMIN'=> get_root_url().'admin.php',
    195195    'U_PROFILE'=> get_root_url().'profile.php',
     
    397397      array(
    398398        'URL' =>
    399           add_url_param(duplicate_index_url(),'caddie=1')
     399          add_url_params(duplicate_index_url(), array('caddie'=>1) )
    400400        )
    401401      );
     
    447447        array(
    448448          'DISPLAY' => $orders[$i][0],
    449           'URL' => add_url_param( duplicate_index_URL(), 'image_order='.$i ),
     449          'URL' => add_url_params( duplicate_index_URL(), array('image_order'=>$i) ),
    450450          'SELECTED_OPTION' => ($order_idx==$i ? 'SELECTED' : ''),
    451451          )
Note: See TracChangeset for help on using the changeset viewer.