update
This commit is contained in:
32
Admin/template/partial/Setup/Index.tpl
Normal file
32
Admin/template/partial/Setup/Index.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
{dropDownContainer title="Zmienne systemowe"}
|
||||
<table align="center" class="datagrid" cellpadding="4" cellspacing="1" style="width: 500px;">
|
||||
<th>Lp.</th>
|
||||
<th>zmienna</th>
|
||||
<th>wartość</th>
|
||||
<th>opis</th>
|
||||
<th class="light">
|
||||
<a class="addItemTable" href="{url setup=new}" title="Dodaj" >Dodaj</a>
|
||||
</th>
|
||||
|
||||
|
||||
{assign var=x value=1}
|
||||
{foreach from=$arrayVariables key=k item=ArrayItem name=array}
|
||||
{assign var=tVariable value=$ArrayItem.variable}
|
||||
<tr {if $x==1}{assign var=x value=0}{else}{assign var=x value=1}class="even"{/if}>
|
||||
<td>{$smarty.foreach.array.index+1}</td>
|
||||
<td>{$ArrayItem.variable}</td>
|
||||
<td>{$ArrayItem.value}</td>
|
||||
<td>{$ArrayItem.description}</td>
|
||||
<td><a class="editItemTable" href="{url setup=edit variable=$tVariable}" title="Edytuj" >Edytuj</a>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
</div><!-- /paddedContent -->
|
||||
</div><!-- /panelRightBody -->
|
||||
<div class="panelRightBottom"></div>
|
||||
Reference in New Issue
Block a user