aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/yoga/admin/menubar.tpl
blob: 06ff9ee9a7ed4f3c628be28ab6bac8b1ecefc58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{* $Id: tracer_admin.tpl 2342 2008-05-15 18:43:33Z rub $ *}

<div class="titrePage">
	<h2>Menubar</h2>
</div>

<form method="post" class="properties">
<table class="table2">
	<tr class="throw">
		<td>Id</td>
		<td>{'Author'|@translate}</td>
		<td>{'Name'|@translate}</td>
		<td>{'Position'|@translate}</td>
		<td>Hide</td>
	</tr>
	{foreach from=$blocks item=block name="block_loop"}
	<tr class="{if $smarty.foreach.block_loop.index is odd}row1{else}row2{/if}">
		<td>{$block.reg->get_id()}</td>
		<td>{$block.reg->get_owner()}</td>
		<td>{$block.reg->get_name()|@translate}</td>
		<td><input type="input" name="pos_{$block.reg->get_id()}" value={math equation="abs(pos)" pos=$block.pos} size="2"></td>
		<td><input type="checkbox" name="hide_{$block.reg->get_id()}" {if $block.pos<0}checked="checked"{/if} ></td>
	</tr>
	{/foreach}
</table>
<p>
	<input type="submit" name="submit" value="{'Submit'|@translate}" >
	<input type="submit" name="reset" value="{'Reset'|@translate}" >
</p>
</form>