mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
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:
@@ -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 ? '|' : ''),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user