2008-02-26 18:40:05 +01:00
|
|
|
{include file='top.tpl'}
|
2008-02-08 18:39:24 +01:00
|
|
|
{if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
|
2008-02-12 18:59:44 +01:00
|
|
|
{if $LSview_actions != ''}
|
2008-07-05 22:28:49 +02:00
|
|
|
<ul class='LSview-actions'>
|
2008-02-12 18:59:44 +01:00
|
|
|
{foreach from=$LSview_actions item=item}
|
2008-07-05 22:28:49 +02:00
|
|
|
<li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a></li>
|
2008-02-12 18:59:44 +01:00
|
|
|
{/foreach}
|
2008-07-05 22:28:49 +02:00
|
|
|
</ul>
|
2008-02-12 18:59:44 +01:00
|
|
|
{/if}
|
2008-02-08 18:39:24 +01:00
|
|
|
|
2008-07-05 22:28:49 +02:00
|
|
|
{if $LSformElement_image!=''}
|
|
|
|
<div class='LSformElement_image{if $LSformElement_image_errors} LSformElement_image_errors{/if}'>
|
|
|
|
{if $LSformElement_image_actions!='' && !$LSformElement_image_errors}
|
|
|
|
<ul class='LSformElement_image_actions'>
|
|
|
|
<li><img src='templates/images/zoom.png' class='LSformElement_image_actions LSformElement_image_action_zoom' id='LSformElement_image_action_zoom_{$LSformElement_image.id}' /></li>
|
|
|
|
{foreach from=$LSformElement_image_actions item=item}
|
|
|
|
<li><img src='templates/images/{$item}.png' class='LSformElement_image_actions LSformElement_image_action_{$item}' id='LSformElement_image_action_{$item}_{$LSformElement_image.id}' /></li>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
{/if}
|
2008-07-05 22:28:49 +02:00
|
|
|
<img src='{$LSformElement_image.img}' class='LSformElement_image LSsmoothbox' id='LSformElement_image_{$LSformElement_image.id}' />
|
2008-02-26 18:40:05 +01:00
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<form action='{$LSform_action}' method='post' enctype="multipart/form-data" class='LSform'>
|
2008-02-08 18:39:24 +01:00
|
|
|
{$LSform_header}
|
|
|
|
<dl class='LSform'>
|
|
|
|
{foreach from=$LSform_fields item=field}
|
2008-09-26 20:03:56 +02:00
|
|
|
<dt class='LSform'>{$field.label}{if $field.help_info!=""} <img class='LStips' src="templates/images/help.png" alt='?' title="{$field.help_info}"/>{/if}</dt>
|
2008-02-08 18:39:24 +01:00
|
|
|
<dd class='LSform'>{$field.html}{if $field.add != ''} <span class='LSform-addfield'>+ Ajouter un champ</span>{/if}</dd>
|
|
|
|
{if $field.errors != ''}
|
|
|
|
{foreach from=$field.errors item=error}
|
|
|
|
<dd class='LSform LSform-errors'>{$error}</dd>
|
|
|
|
{/foreach}
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
<dd class='LSform'><input type='submit' value='{$LSform_submittxt}' class='LSform' /></dd>
|
|
|
|
</dl>
|
|
|
|
</form>
|
2008-02-26 18:40:05 +01:00
|
|
|
{include file='bottom.tpl'}
|