piwigo/admin/template/goto/menubar.tpl
rvelices c15f6faced - some checks for admins that are advisers (no write access)
- send the charset in http header for web services
- tag name becomes an xml attribute instead of content for tags.getList and related tags in images.getInfo (more logical and coherent with tags.getAdminList)

git-svn-id: http://piwigo.org/svn/trunk@2585 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-25 00:30:42 +00:00

30 lines
No EOL
984 B
Smarty

{* $Id$ *}
<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}" {$TAG_INPUT_ENABLED}/>
<input type="submit" name="reset" value="{'Reset'|@translate}" {$TAG_INPUT_ENABLED}/>
</p>
</form>