49 lines
2.4 KiB
Smarty
49 lines
2.4 KiB
Smarty
<h1>Parametry produktu</h1>
|
|
|
|
{dropDownContainer title='Parametry'}
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
<tr class="selAllRow">
|
|
{*<td class="cornerTop"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a> <a href="#">usuń</a>
|
|
</td>*}
|
|
</tr>
|
|
<tr>
|
|
{*<td class="selAll"> </td> *}
|
|
<th><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></div></th>
|
|
<th>Nazwa<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
{*<th>Wartość<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>*}
|
|
<th class="noSort">Publikuj<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th class="noSort"><a href="{url ProductAttribute=Add}" class="add">Dodaj</a> <div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
</tr>
|
|
{assign var=x value=0}
|
|
{foreach from=$arrayObjProductAttribute item=objAttribute}
|
|
{assign var=x value=$x+1}
|
|
{assign var=idAttribute value=$objAttribute->GetId()}
|
|
<tr>
|
|
{*<td class="selAll"><input name="Checkbox1" type="checkbox" /></td> *}
|
|
<td>{$x}</td>
|
|
<td><a href="{url ProductAttribute=Index idAttribute=$objAttribute->GetId()}">{$objAttribute->GetDescription()}</a></td>
|
|
<td>{$objAttribute->GetPublication()}</td>
|
|
<td style="width:15px">
|
|
<a href="{url ProductAttribute=Edit id=$idAttribute}" class="edit">edytuj</a><a href="{url ProductAttribute=Delete id=$idAttribute}" class="delete">usuń</a>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
<tr class="selAllRow">
|
|
{*<td class="cornerBottom"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a><a href="#">usuń</a>
|
|
|
|
<div class="pager"><div class="perpage">wyświetl:<br/><select id="perpage" class="tiny " name="#"><option>10</option><option>25</option><option>50</option><option>100</option></select></div><a href="#" class="prvnext">« poprzednia</a><a href="#">1</a><a class="active" href="#">2</a><a href="#">3</a>...<a href="#">50</a><a href="#">51</a><a href="#">52</a>...<a href="#">100</a><a class="prvnext" href="#">następna »</a></div></td> *}
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
{/dropDownContainer}
|
|
|
|
{if isset($linkedAttribute)}
|
|
{$linkedAttribute}
|
|
{/if}
|
|
|
|
{if isset($unlinkedAttribute)}
|
|
{$unlinkedAttribute}
|
|
{/if}
|