Файл: upload/module/user/template/default/controller/admincp/cancellations/manage.html.php
Строк: 78
<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox
* @version $Id: manage.html.php 1821 2010-09-20 16:11:48Z Miguel_Espinoza $
*/
defined('PHPFOX') or exit('NO DICE!');
?>
<div class="table_header">Options</div>
<table id="js_drag_drop" cellpadding="0" cellspacing="0">
<tr>
<th></th> <!-- Change order -->
<th style="width: 20px;"></th> <!-- Edit/Delete -->
<th>{phrase var='user.cancellation_reason'}</th>
<th class="t_center" style="width:20px;">{phrase var='user.active'}</th>
</tr>
{foreach from=$aReasons item=aReason key=iKey}
<tr class="checkRow{if is_int($iKey/2)} tr{else}{/if}">
<td class="drag_handle"><input type="hidden" name="val[ordering][{$aReason.delete_id}]" value="{$aReason.ordering}" /></td>
<td class="t_center">
<a href="#" class="js_drop_down_link" title="{phrase var='user.manage'}">{img theme='misc/bullet_arrow_down.png' alt=''}</a>
<div class="link_menu">
<ul>
<li><a href="{url link='admincp.user.cancellations.add' id={$aReason.delete_id}">{phrase var='user.edit_reason'}</a></li>
<li><a href="{url link='admincp.user.cancellations.manage' delete={$aReason.delete_id}" onclick="return confirm('{phrase var='user.are_you_sure'}');">{phrase var='user.delete_reason'}</a></li>
</ul>
</div>
</td>
<td>{phrase var=$aReason.phrase_var}</td>
<td class="t_center">
<div class="js_item_is_active"{if !$aReason.is_active} style="display:none;"{/if}>
<a href="#?call=core.updateCancellationsActivity&id={$aReason.delete_id}&active=0" class="js_item_active_link" title="{phrase var='user.deactivate'}">{img theme='misc/bullet_green.png' alt=''}</a>
</div>
<div class="js_item_is_not_active"{if $aReason.is_active} style="display:none;"{/if}>
<a href="#?call=core.updateCancellationsActivity&id={$aReason.delete_id}&active=1" class="js_item_active_link" title="{phrase var='user.activate'}">{img theme='misc/bullet_red.png' alt=''}</a>
</div>
</td>
</tr>
{foreachelse}
<tr>
<td colspan="4">
<div class="extra_info">
{phrase var='user.there_are_no_options_available'}
<ul>
<li><a href="{url link='admincp.user.cancellations.add'}">{phrase var='user.click_here_to_add'}</a></li>
</ul>
</div>
</td>
</tr>
{/foreach}
</table>