Файл: upload/module/theme/template/default/controller/admincp/style/logo.html.php
Строк: 36
<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox
* @version $Id: logo.html.php 3468 2011-11-07 15:59:47Z Miguel_Espinoza $
*/
defined('PHPFOX') or exit('NO DICE!');
?>
<form method="post" action="{url link='admincp.theme.style.logo' id=$aStyle.style_id}" enctype="multipart/form-data">
<div class="table_header">
{phrase var='theme.logo'}
</div>
<div class="table">
<div class="table_left">
{phrase var='theme.select_a_logo'}:
</div>
<div class="table_right">
<input type="file" name="logo" />
<div class="extra_info">
{phrase var='theme.you_can_upload_a_jpg_gif_or_png_file'}
{if $sCurrentStyleLogo}
<br /><br />
{phrase var='theme.recommended_width_height_width_x_height_pixels' width=$iWidth height=$iHeight}
{/if}
{if Phpfox::isModule('photo')}
<br />{phrase var='photo.the_file_size_limit_is_file_size_if_your_upload_does_not_work_try_uploading_a_smaller_picture' file_size='131071 kb'}
{else}
Maximum file size is 131071 Kb
{/if}
</div>
</div>
<div class="clear"></div>
</div>
{if $sCurrentStyleLogo}
<div class="table">
<div class="table_left">
{phrase var='theme.automatically_resize'}:
</div>
<div class="table_right">
<select name="resize">
<option value="0">{phrase var='theme.no'}</option>
<option value="1">{phrase var='theme.yes'}</option>
</select>
</div>
<div class="clear"></div>
</div>
<div class="table">
<div class="table_left">
{phrase var='theme.current_logo'}:
</div>
<div class="table_right">
<div class="p_4">
<img src="{$sCurrentStyleLogo}" alt="" />
{if $bIsNewLogo}
<div class="extra_info">
<a href="{url link='admincp.theme.style.logo' id=$aStyle.style_id revert='1'}" onclick="return confirm('{phrase var='theme.are_you_sure' phpfox_squote=true}');">{phrase var='theme.revert_logo'}</a>
</div>
{/if}
</div>
</div>
<div class="clear"></div>
</div>
{/if}
<div class="table_clear">
<input type="submit" value="{phrase var='theme.upload_logo'}" class="button" />
</div>
</form>