<div id="selEditLinks">
	<h2 class="clsAvatarHeading">{$LANG.logo_title}</h2>
	{include file='../general/information.tpl'}
	{if $myobj->isShowPageBlock('form_add_logo')}
		<div id="selEditLinks">
			<form name="formAddLogo" id="formAddLogo" enctype="multipart/form-data" method="post" action="{$myobj->getCurrentUrl()}" autocomplete="off">
			
			<table class="clsCommonTable">
			   <tr>
				  <td >
					<label for="default_screen">{$LANG.template_default}</label> </td>
				  <td >
				  	<select name="default_screen" id="default_screen" onchange="this.form.submit()" tabindex="{smartyTabIndex}">
					{foreach key=template item=css_arr from=$template_arr}
						<optgroup label="{$template}">
						{foreach key=css_key item=css from=$css_arr}
							<option value="{$css}" {if $css eq $myobj->getFormField('default_screen')} selected="selected"{/if}>{$css}</option>
						{/foreach}
						</optgroup>
					{/foreach}
					</select>
				 </td>
			   </tr>	
			   <tr>
					<td class="{$myobj->getCSSFormLabelCellClass('logo')}"><label for="avatar">{$LANG.logo_name}</label></td>
					<td class="{$myobj->getCSSFormFieldCellClass('logo')}">
					
						<div class="ClsLogo">
							<img src="{$CFG.site.url}design/templates/{$myobj->getFormField('template')}/root/images/{$myobj->getFormField('default_screen')}/logo.png" alt="Logo"  />	
							
						</div><br />
						<input type="file" name="logo" id="logo" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('logo')}" />{$myobj->getFormFieldElementErrorTip('logo')}
						 <p>({$CFG.admin.site_logo.width}&nbsp;&nbsp * &nbsp;&nbsp;{$CFG.admin.site_logo.height}&nbsp;&nbsp;&nbsp;{$LANG.logo_size})</p>
						<p>{$allowed_type}</p>
					</td>
			   </tr>
			   <tr>
					<td class="{$myobj->getCSSFormLabelCellClass('favicon')}"><label for="avatar">{$LANG.favicon_name}</label></td>
					<td class="{$myobj->getCSSFormFieldCellClass('favicon')}">
					
						<div class="ClsFavicon"><img src="{$CFG.site.url}design/templates/{$myobj->getFormField('template')}/favicon.ico" alt="favicon"  /></div><br />
						<input type="file" name="favicon" id="favicon" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('favicon')}" />{$myobj->getFormFieldElementErrorTip('favicon')}
						 <p>({$CFG.admin.site_favicon.width}&nbsp;&nbsp; * &nbsp;&nbsp;{$CFG.admin.site_favicon.height}&nbsp;&nbsp;&nbsp;{$LANG.logo_size})</p>
						<p>{$allowed_fav_type}</p>
					</td>
			   </tr>
			   <tr>
					<td class="{$myobj->getCSSFormFieldCellClass('temp')}">&nbsp;</td>
					<td class="{$myobj->getCSSFormFieldCellClass('submit')}">
						<input type="submit" class="clsSubmitButton clsMediumSubmitButton" name="add_logo" id="add_logo" tabindex="{smartyTabIndex}" value="{$LANG.common_add}" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>{$LANG.logo_note}</b>&nbsp;&nbsp;&nbsp;{$LANG.admin_message}
					</td>
			   </tr>
			</table>
			</form>
		</div>
	{/if}
</div>

