{* $Id: logos.tpl 7998 2009-09-15 10:01:28Z zeke $ *}

{** include fileuploader **}
{include file="common_templates/file_browser.tpl"}
{** /include fileuploader **}

{capture name="mainbox"}
<form action="{$index_script}" method="post" name="logotypes_form" enctype="multipart/form-data">

{foreach from=$manifest_definition key="a" item="m" name="fel"}
{assign var="sa" value="skin_name_`$m.skin`"}
<p>{$lang[$m.text]}</p>
<div class="clear">
	{include file="common_templates/fileuploader.tpl" var_name="logotypes[`$a`]"}
	<div class="float-left"><img class="solid-border" src="{$config.current_path}/skins/{$settings.$sa}/{$m.path}/images/{$manifests[$m.skin][$m.name].filename}" width="{$manifests[$m.skin][$m.name].width}" height="{$manifests[$m.skin][$m.name].height}" /></div>
</div>
{if !$smarty.foreach.fel.last}
<hr />
{/if}
{/foreach}

<div class="buttons-container buttons-bg">
	{include file="buttons/save_cancel.tpl" but_name="dispatch[site_layout.update_logos]"}
</div>

</form>
{/capture}
{include file="common_templates/mainbox.tpl" title=$lang.logos content=$smarty.capture.mainbox}
