📄 pluginlist.tpl
字号:
{strip}
<table width="570" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail" width="100%">
{assign var="page_hdr01_text" value="{lang mkey='section_plugin_title'}"}
{include file="admin/admin_page_hdr01.tpl"}
{if $error_message neq ""}
<div style="padding-top: 10px; padding-bottom: 10px; padding-left: 20px;">
<font color="{lang mkey='error_msg_color'}">{$error_message}</font>
</div>
{/if}
<form name="frmEditPref" method="post" action="pluginlist.php">
<input type="hidden" name="action" value="multiple_delete"/>
<table width="100%" border="0" cellpadding="{$config.cellspacing}" cellspacing="{$config.cellpadding}">
<tr>
<td width="100%" style="padding-top: 3px; padding-bottom: 6px; padding-left: 8px;">
{lang mkey='plugins_hlp'}
</td>
</tr>
<tr>
<td width="100%" >
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
{assign var="page_hdr02_text" value="{lang mkey='plugin_subtitle_list'}"}
{include file="admin/admin_page_hdr02.tpl"}
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
{ if $list }
<tr class="table_head">
<th width="5%"><input type="checkbox" name="chkall" value="" onclick="checkAll(this.form,'delete[]',this.checked)" /><input type="hidden" name="act" value="{$item.name}" /></th >
<th width="5%">{lang mkey='plugin_number'}</th>
<th width="50%" align="center">{lang mkey='plugin_name'}</th>
<th width="8%" align="center">{lang mkey='plugin_active'}</th>
<th width="24%" align="center">{lang mkey='plugin_installed'}</th>
<th width="8%" align="center">{lang mkey='action'}</th>
</tr>
{assign var="mcount" value="0"}
{foreach item=item key=key from=$list}
{math equation="$mcount+1" assign="mcount"}
<tr class="{cycle values="oddrow,evenrow"}">
<td width="5%">
<input type="checkbox" name="delete[]" value="{$item.name}" /></td>
<td width="5%">{$mcount}</td>
<td width="50%">{$item.display_name}</td>
<td align="center" width="8%">{$item.active}</td>
<td align="center" width="24%">
{$item.installed}
{if $item.installed eq "N" }
(<a href="pluginlist.php?name={$item.name}&action=install">{lang mkey='plugin_install'}</a>)
{/if}
</td>
<td align="center" width="8%">
{if $item.installed eq "Y" }
<a href="editplugin.php?name={$item.name}"><img alt="" src="images/button_edit.png" border="0" /></a>
<a href="pluginlist.php?name={$item.name}&action=delete" onclick="return confirmLink(this, '{lang mkey='blog' skey='del03'} plugin?')"><img alt="" src="images/button_drop.png" border="0" /></a>
{/if}
</td>
</tr>
{/foreach}
<tr>
<td colspan="5" align="left">
<img src="images/arrow_ltr.png" alt="" />{lang mkey='with_selected'}
<input type="submit" class="formbutton" value="{lang mkey='delete_selected'}" name="groupaction" onclick="return confirmButton('{lang mkey='blog' skey='del03'} plugins?')" />
</td>
</tr>
{ else }
<tr>
<td colspan="5">{lang mkey='no_plugin_found'}</td>
</tr>
{/if}
</table>
</td>
</tr>
</table>
<br />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<br />
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -