Files
2026-04-24 15:32:21 +02:00

41 lines
2.1 KiB
Smarty

<h1>Konfigurator</h1>
{dropDownContainer title='Grupy'}
<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">&nbsp;</td> *}
<th><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></div></th>
<th>Nazwa<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
{*<th>Wartość<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>*}
<th class="noSort">Publikuj<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
<th class="noSort"><a href="{url Config=Add}" class="add">Dodaj</a> <div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
</tr>
{assign var=x value=0}
{foreach from=$arrayObj item=obj}
{assign var=x value=$x+1}
{assign var=id value=$obj->GetId()}
<tr>
{*<td class="selAll"><input name="Checkbox1" type="checkbox" /></td> *}
<td>{$x}</td>
<td><a href="{url Config=Edit id=$id}" title="edytuj">{$obj->GetName()}</a></td>
<td>{$obj->GetPublication()}</td>
<td style="width:15px">
<a href="{url Config=Edit id=$id}" class="edit">edytuj</a><a href="{url Config=Delete id=$id}" 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">&laquo; 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 &raquo;</a></div></td> *}
</tr>
</table>
{/dropDownContainer}