X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   role of $extra in dialog.tpl (https://forum.x-cart.com/showthread.php?t=32898)

luxor 07-30-2007 10:53 AM

role of $extra in dialog.tpl
 
What is the meaning of $extra in :

Code:

{* $Id: dialog.tpl,v 1.25 2005/12/20 08:50:49 max Exp $ *}
{if $printable ne ''}
{include file="dialog_printable.tpl"}
{else}
<table cellspacing="0" {$extra}>
<tr>
<td align="center" class="DialogTitle">{$title}</td>
</tr>
<tr><td class="DialogBorder"><table cellspacing="1" class="DialogBox">
<tr><td class="DialogBox" valign="{$valign|default:"top"}" align="center">{$content}
&nbsp;
</td></tr>
</table></td></tr>
</table>
{/if}


What does it mean and how to manipulate it?

cherie 09-03-2007 12:46 AM

Re: role of $extra in dialog.tpl
 
Quote:

Originally Posted by luxor
What is the meaning of $extra in :

What does it mean and how to manipulate it?


Whenever you use {include file="dialog.tpl"} you can add extra instructions for the table like this:
PHP Code:

{ include file="dialog.tpl" extra="cellpadding=10" 



All times are GMT -8. The time now is 03:20 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.