comments.php: cleanup url (t=1 in the url for an unknown reason) and image

urls work now with all url styles

git-svn-id: http://piwigo.org/svn/trunk@1563 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2006-10-17 02:03:14 +00:00
parent 6a3aed2057
commit 939cfe5e4b
2 changed files with 6 additions and 4 deletions

View file

@ -82,7 +82,8 @@ function create_navigation_bar(
global $lang, $conf;
$pages_around = $conf['paginate_pages_around'];
$start_str = $clean_url ? '/start-' : '&start=';
$start_str = $clean_url ? '/start-' :
( ( strstr($url, '?')===false ? '?':'&') . 'start=' );
$navbar = '';