foreach($list as $type=>$value) {
{$value['name']}

{:L('PUBLIC_PLUGIN_NAME')} | {:L('PUBLIC_PROSEN')} | {:L('PUBLIC_VERSION_NUM')} | {:L('PUBLIC_DESCRIPTION')} | {:L('PUBLIC_OPERATION')}
--- | --- | --- | --- | ---
if(empty($value['data'])) {
{:L('PUBLIC_NO_MORE')}{$value['name']} |  |  |  |
}
{$vo['pluginName']} | {$vo['author']}if(isset($vo['site'])): {$vo['site']}endif; | {$vo['version']} | {$vo['info']} | if($type == "valid"){ $uninstall_href = U('admin/Addons/stopAddon',array('addonId'=>$vo['addonId'])); $uninstall_alert_1 = '确定停用该插件?'; 停用 }else{ $install_href = U('admin/Addons/startAddon',array('name'=>$vo['name'])); if($vo['sqlfile']){ $install_alert_1 = '初次启用该插件时将会进行sql操作，且无法恢复，强烈建议您备份数据库后再启用，确定继续?'; }else{ $install_alert_1 = '确定启用该插件？'; } 启用 } if($vo['admin'] && $type == "valid"){ $href = U('admin/Addons/admin',array('pluginid'=>$vo['addonId'])); {:L('PUBLIC_MANAGEMENT')} }

}