theme.php: class not defined theme.php: class not defined
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

theme.php: class not defined

Started by eke, November 29, 2003, 02:20:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eke

just fyi:
on line 177 and 287 in theme.php

<a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>

class "albums" is not defined.
this has no consequence per se but since I always try and keep my code "clean" I suggest either add .albums to style.css or remove the class definition in theme.php.

I see no real reason why to have a class there since the style inside the link is "image" and should suffice for layout purposes.

cheers
eke.

Joachim Müller

I guess it's there so someone can do a hover efect (on Mouse over). I'd leave it in, it won't hurt.

GauGau