View Single Post
  #16  
Old 06-04-2007, 08:30 PM
 
funkymonkey funkymonkey is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: California, USA
Posts: 72
 

Red face Re: border around page

Hi Padraic,
This is exactly the mod I've been looking for. I have a heavily modded site though and both rectangle tpls have been hacked. Is there any chance you'd point me to the most likely spots to add the modded code so I may give it a try?


{* $Id: rectangle_top.tpl,v 1.13.2.4 2005/02/21 08:58:49 max Exp $ *}
{ include file="common_js.tpl"}
{*if $config.Adaptives.isJS eq '' && $adaptives_action ne ''}
<FORM action="{$adaptives_action}" method="post" name="adaptiveform">
<INPUT type="hidden" name="{$XCARTSESSNAME}" value="{$XCARTSESSID}">
<INPUT type="hidden" name="send_isJS" value="Y">
<INPUT type="hidden" name="send_browser" id="send_browser" value="">
</FORM>
<SCRIPT type="text/javascript" language="JavaScript 1.2">
{include file="browser_identificator_js.tpl"}
document.getElementById('send_browser').value = browser_identificator();
document.adaptiveform.submit();
</SCRIPT>
{/if*}
{if $usertype eq "C"}
<TABLE align="center" border="0" cellpadding="0" cellspacing="0" width="{$width|default:"830"}" height="100%">
{else}
<TABLE align="center" border="0" cellpadding="0" cellspacing="0" width="{$width|default:"100%"}" height="100%">
{/if}
<TR>
<TD valign="top">




{* $Id: rectangle_bottom.tpl,v 1.8 2004/06/07 11:19:29 max Exp $ *}
</TD>
</TR>
{if $config.Adaptives.browser eq 'MSIE' || $config.Adaptives.browser eq ''}
<TR><TD height="100%"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1"></TD></TR>
{else}
<TR><TD><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1"></TD></TR>
{/if}
<TR>
<TD>
{if $printable ne ''}
<HR size="1">
{/if}
{ include file="bottom.tpl" }
</TD></TR>
</TABLE>


Thanks in advance.
Attached Files
File Type: tpl rectangle_top.tpl (963 Bytes, 84 views)
File Type: tpl rectangle_bottom.tpl (449 Bytes, 78 views)
__________________
X-Cart Version: 4.4.1
Web Server: Unix
Operating System: Linux
Location: California, U.S.A.
Reply With Quote