Update of /cvsroot/phpwebsite-comm/modules/vshop/templates
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18882/templates
Modified Files:
edit_item.tpl view_item.tpl
Added Files:
edit_attribute.tpl
Log Message:
working on attributes
Index: view_item.tpl
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/vshop/templates/view_item.tpl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** view_item.tpl 25 Nov 2008 15:19:31 -0000 1.1.1.1
--- view_item.tpl 4 Mar 2009 14:42:25 -0000 1.2
***************
*** 3,7 ****
<strong>{TITLE}</strong>
<!-- BEGIN file --><div style="float: right; margin: 0 0 .2em .5em;">{FILE}</div><!-- END file -->
! <!-- BEGIN price -->{PRICE}<br /><!-- END price -->
<!-- BEGIN stock -->{STOCK}<br /><!-- END stock -->
<!-- BEGIN weight -->{WEIGHT}<br /><!-- END weight -->
--- 3,7 ----
<strong>{TITLE}</strong>
<!-- BEGIN file --><div style="float: right; margin: 0 0 .2em .5em;">{FILE}</div><!-- END file -->
! <!-- BEGIN price -->{PRICE_NOTE} {PRICE}<br /><!-- END price -->
<!-- BEGIN stock -->{STOCK}<br /><!-- END stock -->
<!-- BEGIN weight -->{WEIGHT}<br /><!-- END weight -->
***************
*** 9,11 ****
--- 9,12 ----
<!-- BEGIN description --><p>{DESCRIPTION}</p><!-- END description -->
<br style="clear: right;" />
+ <!-- BEGIN options -->{START_FORM}{OPTIONS}{SUBMIT}{END_FORM}<!-- END options -->
</div>
Index: edit_item.tpl
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/vshop/templates/edit_item.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** edit_item.tpl 2 Dec 2008 19:43:16 -0000 1.2
--- edit_item.tpl 4 Mar 2009 14:42:25 -0000 1.3
***************
*** 14,17 ****
--- 14,42 ----
</p>
</fieldset>
+ <fieldset>
+ <legend><strong>{ATTRIBUTES_LABEL}</strong></legend>
+ <div align="right">{ADD_ATTRIBUTE_LINK}</div>
+ <table width="99%" cellpadding="4">
+ <tr>
+ <th>{ATTRIBUTE_SET_LABEL}</th>
+ <th>{ATTRIBUTE_VALUE_LABEL}</th>
+ <th colspan="2">{ATTRIBUTE_PRICE_LABEL}</th>
+ <th colspan="2">{ATTRIBUTE_WEIGHT_LABEL}</th>
+ <th> </th>
+ </tr>
+ <!-- BEGIN attributes -->
+ <tr {TOGGLE}>
+ <td>{ATTRIBUTE_SET}</td>
+ <td>{ATTRIBUTE_VALUE}</td>
+ <td>{ATTRIBUTE_PRICE_PREFIX}</td>
+ <td>{ATTRIBUTE_PRICE_MOD}</td>
+ <td>{ATTRIBUTE_WEIGHT_PREFIX}</td>
+ <td>{ATTRIBUTE_WEIGHT_MOD}</td>
+ <td>{ATTRIBUTE_LINKS}</td>
+ </tr>
+ <!-- END attributes -->
+ </table>
+ <!-- BEGIN none --><p>{NONE}</p><!-- END none -->
+ </fieldset>
{SUBMIT}
{END_FORM}
--- NEW FILE: edit_attribute.tpl ---
{START_FORM}
<fieldset>
<legend><strong>{INFO_LABEL}</strong></legend>
<p>{VALUE_ID} <strong>{VALUE_ID_LABEL}</strong></p>
<p>{PRICE_PREFIX} {PRICE_MOD} {PRICE_MOD_LABEL}</p>
<p>{WEIGHT_PREFIX} {WEIGHT_MOD} {WEIGHT_MOD_LABEL}</p>
</fieldset>
{SUBMIT}
{END_FORM}
|