%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/ua.nails.tv/smarty/templates_old/admin/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/ua.nails.tv/smarty/templates_old/admin/menupontok.tpl.html

{* Smarty *}

<h1>Szöveges menüpontok</h1>

{if isset($smarty.get.add)}

{if !empty($error)}
<p class="error">{$error}</p>
{/if}

<form method="post" action="{$smarty.server.PHP_SELF}">

	<fieldset>
		<input type="hidden" name="id" value="{$edit.id}" />

		<p>
			<label for="cim">Cím</label>
			<input id="cim" name="cim" type="text" class="text" value="{$edit.cim|stripslashes}" maxlength="250" />
		</p>

		<p>
			<label>Szöveg</label>
		<div class="fck">
			<textarea id="szoveg" name="szoveg" cols="60" rows="12">{$edit.szoveg|stripslashes}</textarea>
			<script type="text/javascript">
				//<![CDATA[
				var editor = CKEDITOR.replace('szoveg',
						{ldelim}
				toolbar : 'Custom',
						filebrowserBrowseUrl : '../include/filemanager/index.html',
						filebrowserWindowWidth  : 800,
						filebrowserWindowHeight : 500,
						height: '300px'
				{rdelim});
				//]]>
			</script>
		</div>
		</p>

		<p>
			<label for="title">Title</label>
			<input id="title" name="title" type="text" class="text" value="{$edit.title|stripslashes}" maxlength="250" />
		</p>

		<p>
			<label for="description">Description</label>
			<input id="description" name="description" type="text" class="text" value="{$edit.description|stripslashes}" maxlength="250" />
		</p>

		<p>
			<label for="keywords">Keywords</label>
			<input id="keywords" name="keywords" type="text" class="text" value="{$edit.keywords|stripslashes}" maxlength="250" />
		</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($menupontok)}
<form id="{$table}" method="post" action="{$smarty.server.PHP_SELF}">
	<table cellspacing="0" cellpadding="5" width="100%" summary="Menüpontok listája">
		<col />
		<col width="70" />
		<col width="50" />
		<col width="30" />
		<tr>
			<th><strong>Cím</strong></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=$menupontok item=item name=menupontok}
		<tr{if $smarty.foreach.menupontok.iteration % 2 == 1} class="paratlan"{/if} id="{$table}_{$item.id}">
		<td>{$item.cim}</td>
		<td><a href="{$smarty.server.PHP_SELF}?add&amp;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}

Zerion Mini Shell 1.0