Zen Cart Logo
Forums / Addon Templates / purpleshades not switching off ip address

purpleshades not switching off ip address

Locked

Views: 2,293

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
2 Jul 2006, 2:24 PM
#1
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

purpleshades not switching off ip address

The purpleshades for zencart 1.3 version did not seem to switch off the IP address when admin setup instructs it

There seems to be a code error in /common/footer.php I have in the purpleshades fileset?
its file version
$Id: tpl_footer.php 3371 2006-04-04 04:59:46Z ajeh $

The IP address line code should be

<?php
if (SHOW_FOOTER_IP == '1') {
?>
<td width="510" height="36"><div align="right"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . $_SERVER['REMOTE_ADDR']; ?></div></td>
<?php
}
?>

The 'if' switch is there, but its placed higher up in the footer code
and has nothing inside it to switch.