Файл: base-sys/admin/views/controllers/theme_graphics.html
Строк: 47
<?php
{style}
{literal}
.css_image{
background-repeat:no-repeat;
background-position:50% 50%;
border:1px solid #666;
display:block;
height:30px;
margin:0 auto;
width:300px;
}
{/literal}
{/style}
{$contentMenu}
<div class="peep_automargin peep_wide">
{block_decorator name='box' addClass='peep_stdmargin peep_txtcenter' iconClass="peep_ic_up_arrow" langLabel='admin+theme_graphics_upload_label'}
{form name='upload_graphics'}
{input name='file'}
{submit name='submit'}
{/form}
{/block_decorator}
</div>
{block_decorator name='box' type='empty' iconClass="peep_ic_picture" langLabel='admin+theme_graphics_list_cap_label'}
<table class="peep_table_1">
<tr class="peep_tr_first">
<th style="width:350px;">{text key='admin+theme_graphics_table_preview'}</th>
<th style="width:300px;">{text key='admin+theme_graphics_table_url'}</th>
<th>{text key='admin+theme_graphics_table_delete'}</th>
</tr>
{foreach from=$images item='image' name='i'}
<tr class="{if $smarty.foreach.i.last}peep_tr_last{/if} {cycle values='peep_alt1,peep_alt2'}" {literal}onmouseover="$('a', $(this)).css({display:'inline'});" onmouseout="$('a', $(this)).css({display:'none'});{/literal}">
<td><span class="css_image" style="background-image:url({$image.url});"></span></td>
<td><input type="text" value="{$image.url}" /></td>
<td style="text-align:center;">
<a class="peep_lbutton peep_red" href="{$image.delUrl}" onclick="return confirm('{$confirmMessage}');" style="display:none;">Delete</a>
</td>
</tr>
{/foreach}
</table>
{/block_decorator}
?>