Radu <[EMAIL PROTECTED]> writes:

> Author: rvelices
> Date: Tue Mar 21 02:27:21 2006
> New Revision: 1090
>
> URL rewriting: fix some old links, calendar simplification and prepare code 
> for urls without ? (added functions get_root_url and add_url_param)

About add_url_param, I would have made something like that:

add_url_param(
  $url,
  array(
    'slideshow'       => 3,
    'toggle_metadata' => 1,
    )
  );

An array with param=>value instead of a string. I think it's cleaner and
let us modify url format in the future if we need it. What is your
opinion about that ?

Bye

-- 
Pierrick LE GALL

_______________________________________________
Phpwebgallery-cvs mailing list
Phpwebgallery-cvs@gna.org
https://mail.gna.org/listinfo/phpwebgallery-cvs

Reply via email to