Thanks for your help.
Here my whole tpl_blank_sidebox.php @ my_template/sideboxes/
And here's my jscript_sslseal.js @ my_template/jscript/Code:<?php /** * blank sidebox - allows a blank sidebox to be added to your site * * @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 $ */ $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; // Replace the text and HTML tags between the apostophes on lines 19 and 20. // Use as many or as few lines using this model as you need for your custom content. // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19. // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!) $content .= '<div id="footer-payments"> <center> <img src="' . $template->get_template_dir(\'\',DIR_WS_TEMPLATE, $current_page_base,'images') . '/' . FOOTER_PAYMENT_ICON" alt="payments we accept" class="payments-image" /> </center> </div>'; $content .= ' <!-- Do not alter for the seal to work properly --> <div id="sslsSiteSeal"> seal by <a href="http://ssls.com/">SSLs.com</a> </div>'; ?>
Code:(function() { var ss = document.createElement('script'); ss.type = 'text/javascript'; ss.async = true; ss.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'seal.ssls.com/script.js?cn=' + window.location.host; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ss, s); })();


Reply With Quote
