URL rewriting: fix some old links, calendar simplification and prepare code

for urls without ? (added functions get_root_url and add_url_param)

git-svn-id: http://piwigo.org/svn/trunk@1090 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-03-21 01:27:21 +00:00
parent 0c08b2561a
commit e584310d3a
15 changed files with 387 additions and 375 deletions
+2 -2
View File
@@ -27,7 +27,7 @@
/**
* This file is included by the picture page to manage rates
*
*
*/
if ($conf['rate'])
@@ -113,7 +113,7 @@ SELECT COUNT(rate) AS count
'rate.rate_option',
array(
'OPTION' => $mark,
'URL' => $url_self.'&action=rate&rate='.$mark,
'URL' => add_url_param($url_self,'action=rate&rate='.$mark),
'SEPARATOR' => ($num > 0 ? '|' : ''),
)
);