ZenphotoCMS Forum
zenpage zenpage-template-functions.php omission ? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: zenpage zenpage-template-functions.php omission ? (/thread-3953.html)



zenpage zenpage-template-functions.php omission ? - fretzl - 2008-10-24

Hi @crylian,

I may have found a minor omission in "zenpage-template-functions.php.
I was getting a html validation error.

The generated active link in the function below is not between
`[*] tags`

function printNewsPageListWithNav....

this part

`
for ($i=$j; $i <= min($total, $j+6); $i++) {
if($i == $current) {
[b]echo $i."\n"[/b]
`
I think `echo $i."\n"` should be `echo "<li>".$i." \n"`

Hope I helped.

Cheers Smile


zenpage zenpage-template-functions.php omission ? - acrylian - 2008-10-24

Might be true! I will take a look. Thanks.