Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

role of $extra in dialog.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-30-2007, 10:53 AM
 
luxor luxor is offline
 

Senior Member
  
Join Date: Apr 2007
Posts: 120
 

Default 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?
__________________
v4.1.8 GOLD
Reply With Quote
  #2  
Old 09-03-2007, 12:46 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default 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" 
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:50 PM.

   

 
X-Cart forums © 2001-2020