You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
4.4 KiB
88 lines
4.4 KiB
{template nheader.html}
|
|
|
|
<div class="page-bar">
|
|
<ul class="page-breadcrumb mylink">
|
|
{$menu.link}
|
|
</ul>
|
|
<ul class="page-breadcrumb myname">
|
|
{$menu.name}
|
|
</ul>
|
|
<div class="page-toolbar">
|
|
<div class="btn-group pull-right">
|
|
<button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false" data-hover="dropdown"> {fc_lang('操作菜单')}
|
|
<i class="fa fa-angle-down"></i>
|
|
</button>
|
|
<ul class="dropdown-menu pull-right" role="menu">
|
|
{loop $menu.quick $t}
|
|
<li>
|
|
<a href="{$t.url}">{$t.icon} {$t.name}</a>
|
|
</li>
|
|
{/loop}
|
|
<li class="divider"> </li>
|
|
<li>
|
|
<a href="javascript:window.location.reload();">
|
|
<i class="icon-refresh"></i> {fc_lang('刷新页面')}</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<h3 class="page-title">
|
|
<small>{fc_lang('应用安装方法: 将下载的应用文件放到./diy/app/目录之中,再到这里安装程序')}</small>
|
|
</h3>
|
|
<div class="portlet mylistbody">
|
|
<div class="portlet-body">
|
|
<div class="table-scrollable">
|
|
|
|
<table class="mytable table table-striped table-bordered table-hover table-checkable dataTable">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th width="50" align="center">{fc_lang('可用')}</th>
|
|
<th width="200" align="left">{fc_lang('名称')}</th>
|
|
<th width="120" align="left">{fc_lang('目录')}</th>
|
|
<th width="80" align="left">{fc_lang('版本')}</th>
|
|
<th width="180" align="left">{fc_lang('开发者')}</th>
|
|
<th align="left" class="dr_option">{fc_lang('操作')}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{loop $list[1] $dir $t}
|
|
<tr>
|
|
<td align="center">{if $this->ci->is_auth('application/config')}<a href="javascript:;" onClick="return dr_dialog_set('{php echo $t.disabled ? fc_lang('<font color=blue><b>你确定要启用它?启用后将正常使用</b></font>') : fc_lang('<font color=red><b>你确定要禁用它?禁用后将无法使用</b></font>');}','{dr_url('application/disabled',array('id'=>$t.id))}');"><img src="{THEME_PATH}admin/images/{php echo $t.disabled ? 0 : 1}.gif"></a>{else}<img src="{THEME_PATH}admin/images/{php echo $t.disabled ? 0 : 1}.gif"></a>{/if}</td>
|
|
<td align="left">{$t.name}</td>
|
|
<td align="left">{$dir}</td>
|
|
<td align="left">{$t.version}</td>
|
|
<td align="left">{$t.author}</a></td>
|
|
<td align="left" class="dr_option">
|
|
{if $this->ci->is_auth('application/config')}<a class="alist" href="{dr_url($dir.'/home/index')}"> <i class="fa fa-cog"></i> {fc_lang('配置')}</a>{/if}
|
|
{if $this->ci->is_auth('application/uninstall')}<a class="adel" href="javascript:;" onClick="return dr_confirm_url('{fc_lang('您确定要这样操作吗?')}','{dr_url($dir.'/home/uninstall')}');"> <i class="fa fa-trash"></i> {fc_lang('卸载')}</a>{/if}
|
|
|
|
</td>
|
|
</tr>
|
|
{/loop}
|
|
{loop $list[0] $dir $t}
|
|
<tr class="dr_none">
|
|
<td align="center">
|
|
{if $this->ci->is_auth('application/install')}
|
|
<a href="javascript:void(0);" onclick="dr_install(' FineCMS官方设计室无法全面监控由第三方上传至商店里的应用、模块(以下简称应用程序),因此不保证应用程序的合法性、安全性、完整性、真实性或品质等。您从商店下载应用程序时,同意自行判断并承担所有风险,而不依赖于FineCMS官方设计室。<br> 在任何情况下,FineCMS官方设计室有权依法停止商店服务并采取相应行动,包括但不限于对于相关应用程序进行卸载、暂停服务的全部或部分、保存有关记录并向有关机关报告。由此对您及第三人可能造成的损失,FineCMS官方设计室不承担任何直接、间接或者连带的责任。', '{dr_url($dir.'/home/install')}')" style="color:#00F">
|
|
{else}
|
|
<a href="javascript:;" style="color:#999">
|
|
{/if}{fc_lang('安装')}</a>
|
|
</td>
|
|
<td align="left">{$t.name}</td>
|
|
<td align="left">{$dir}</td>
|
|
<td align="left">{$t.version}</td>
|
|
<td align="left">{$t.author}</td>
|
|
<td align="left" class="dr_option">
|
|
{if $admin.adminid == 1}<a href="javascript:;" class="adel" onClick="return dr_confirm_url('<font color=red><b>{fc_lang('该操作将会从磁盘中彻底删除它且数据不可恢复,您确定吗?')}</b></font>','{dr_url('application/delete',array('dir'=>$dir))}');"> <i class="fa fa-close"></i> {fc_lang('删除')}</a>{/if}
|
|
</td>
|
|
</tr>
|
|
{/loop}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{template nfooter.html}
|