%PDF- %PDF-
Direktori : /home/nailstv/public_html/ua.nails.tv/smarty/templates_old/admin/ |
Current File : /home/nailstv/public_html/ua.nails.tv/smarty/templates_old/admin/funkciok.tpl.html |
{* Smarty *} <h1>Funkciók</h1> {if isset($smarty.get.add)} {if !empty($error)} <p class="error">{$error}</p> {/if} <form id="funkciok" method="post" action="{$smarty.server.PHP_SELF}"> <fieldset class="noborder"> <input type="hidden" name="id" value="{$edit.id}" /> <p> <label for="nev">Név</label> <input id="nev" name="nev" type="text" class="text" value="{$edit.nev}" maxlength="250" /> </p> <p> <label for="nev">Fájl</label> <input id="file" name="file" type="text" class="text" value="{$edit.file}" maxlength="250" /> </p> <p> <label for="nev">URL paraméter</label> <input id="urlparam" name="urlparam" type="text" class="text" value="{$edit.urlparam}" maxlength="250" /> </p> <p> <label for="hidden">Menüben nem látszik</label> <input type="checkbox" id="hidden" name="hidden" class="checkbox"{if $edit.hidden == 't'} checked="checked"{/if} /> </p> </fieldset> <fieldset class="submit"> <input id="submit" type="submit" value="ok" /> <input id="cancel" type="button" value="mégse" onclick="window.location = '{$smarty.server.PHP_SELF}';" /> </fieldset> </form> {else} <p> <a href="{$smarty.server.PHP_SELF}?add">új felvitele</a> </p> {if count($funkciok)} <form id="{$table}" method="post" action="{$smarty.server.PHP_SELF}"> <table cellspacing="0" cellpadding="5" width="100%" id="sortable" summary="Funkciók listája"> <col /> <col width="70" /> <col width="50" /> <col width="30" /> <tr class="nodrop nodrag"> <th>Név</th> <th></th> <th></th> <th><input type="checkbox" id="{$table}_checkall" onclick="javascript:changeAll('{$table}');" title="Mind kijelölés / Kijelölés törlése" /></th> </tr> {foreach from=$funkciok item=item name=funkciok} <tr{if $smarty.foreach.funkciok.iteration % 2 == 1} class="paratlan"{/if} id="{$table}_{$item.id}"> <td{if $item.hidden == 'f'} class="bold"{/if}>{$item.nev}</td> <td><a href="{$smarty.server.PHP_SELF}?add&edit={$item.id}" title="módosítás">módosítás</a></td> <td><a href="{$smarty.server.PHP_SELF}?delete={$item.id}" title="törlés" onclick="return window.confirm('Biztos törli?');">törlés</a></td> <td><input type="checkbox" name="torol[{$item.id}]" /></td> </tr> {/foreach} <tr class="nodrop nodrag"> <td colspan="4" class="right"><input type="submit" value="kijelöltek törlése" onclick="return window.confirm('Biztos törli az összes kijelölt elemet?');" /></td> </tr> </table> </form> {else} <p>Nincs adat.</p> {/if} {/if}