Ignore:
Timestamp:
Mar 23, 2006, 2:49:04 AM (18 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/include/picture_rate.inc.php

    r1092 r1094  
    114114        array(
    115115          'OPTION'    => $mark,
    116           'URL'       => add_url_param($url_self,'action=rate&rate='.$mark),
     116          'URL'       => add_url_params(
     117                          $url_self,
     118                          array(
     119                            'action'=>'rate',
     120                            'rate'=>$mark
     121                          )
     122                        ),
    117123          'SEPARATOR' => ($num > 0 ? '|' : ''),
    118124          )
Note: See TracChangeset for help on using the changeset viewer.