CMS MADE SIMPLE FORGE

Guestbook

 

[#8923] Pagination links aren't valid

avatar
Created By: Cebalraj (Cebalraj)
Date Submitted: Sat Feb 09 10:34:34 -0500 2013

Assigned To: Krisztian Kishazi (kishman155)
Version: None
CMSMS Version: 1.11.3
Severity: Minor
Resolution: None
State: Open
Summary:
Pagination links aren't valid
Detailed Description:
Hello,

Running a validation test on W3C it tells me that pagination links aren't valid
because of the '&' sign in front of the word 'page' like so:
index.php?anzeigen=gaestebuch&page_mafab2_1391=2">[11-20]</a><a href=…
                                                           ^

& should be changed into &amp; of course. I've done this in my installation in
these files
function.paginate_first.php
function.paginate_last.php
function.paginate_middle.php
function.paginate_next.php
function.paginate_prev.php
 in the Guestbook/plugins folder

for example in the first file line 42
changed
$_url .= (strpos($_url, '?') === false) ? '?' : '&';
to
$_url .= (strpos($_url, '?') === false) ? '?' : '&amp;';


Would be great if you could add this to future versions.
Thank you
and .. keep up your good work. Thanks for that.


History