I am working with the current version of the blank_sidebox mod, and I have in the *defines.php the following:
<?php
/**
* blank sidebox definitions - text for inclusion in a new blank sidebox
*
* @package templateSystem
* @copyright 2007 Kuroi Web Design
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: blank_sidebox.php 2007-05-26 kuroi $
* // 10/28/08 modified by tom lyczko
*/
define('BOX_HEADING_SSL_BOX', 'SSL / Credit Cards');
define('TEXT_SSL_BOX','<div class="centered"><a href="http://www.instantssl.com" target="_blank" title="Essex Industries' SSL certificate provider."><img src="includes/templates/crhei2/images/secure_site.gif" alt="Essex Industries' SSL certificate provider." border="0" height="85" width="100"></a><br /><br /><img src="includes/templates/crhei2/images/mc_accpt_023_gif.gif" title="We accept MasterCard." alt="We accept MasterCard." border="0" height="23" width="37"> <img src="includes/templates/crhei2/images/visa1_37x23_a.gif" title="We accept Visa." alt="We accept Visa." border="0" height="23" width="37"></div>');
?>
I keep getting a syntax error unexpected T_STRING for the TEXT_SSL_BOX constant.
What is the correct way to include valid html code into a PHP constant??
I tried escaping all the double quotes with \ but that did not fix it.
Could not find anything on Google about the proper way to put html code into a PHP constant.
BTW I am taking blank_sidebox and renaming everything to ssl_box.
Thank you, Tom






