Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion htdocs/modules/plugins/locale/en_US/en_US.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @author trabis <lusopoemas@gmail.com>
* @version $Id$
*/
class PluginsLocaleEn_US extends XoopsLocaleEn_US
class PluginsLocaleEn_US
{
// Module
const MODULE_NAME = "Plugins";
Expand Down
42 changes: 21 additions & 21 deletions htdocs/modules/plugins/templates/admin/plugins_admin_plugins.tpl
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
<{include file="admin:system/admin_navigation.tpl"}>
<{include file="admin:system/admin_tips.tpl"}>
<{include file="admin:system/admin_buttons.tpl"}>
{include file="admin:system/admin_navigation.tpl"}
{include file="admin:system/admin_tips.tpl"}
{include file="admin:system/admin_buttons.tpl"}

<{$infoMsg|default:''}>
<{$errorMsg|default:''}>
{$infoMsg|default:''}
{$errorMsg|default:''}

<{if $pluginsCount|default:false}>
<h4><{translate key="PLUGINS_MANAGER" dirname='plugins'}></h4>
{if $pluginsCount|default:false}
<h4>{translate key="PLUGINS_MANAGER" dirname='plugins'}</h4>
<table id="plugins-list-sorter" class="table table-bordered">
<thead>
<tr>
<th class="txtcenter width10"><{translate key="OBJECT_PLUGIN_CALLER" dirname='plugins'}><{$callersForm}></th>
<th class="txtcenter width10"><{translate key="OBJECT_PLUGIN_LISTENER" dirname='plugins'}><{$listenersForm}></th>
<th class="txtcenter width5"><{translate key="OBJECT_PLUGIN_STATUS" dirname='plugins'}></th>
<th class="txtcenter width5"><{translate key="OBJECT_PLUGIN_ORDER" dirname='plugins'}></th>
<th class="txtcenter width10">{translate key="OBJECT_PLUGIN_CALLER" dirname='plugins'}{$callersForm}</th>
<th class="txtcenter width10">{translate key="OBJECT_PLUGIN_LISTENER" dirname='plugins'}{$listenersForm}</th>
<th class="txtcenter width5">{translate key="OBJECT_PLUGIN_STATUS" dirname='plugins'}</th>
<th class="txtcenter width5">{translate key="OBJECT_PLUGIN_ORDER" dirname='plugins'}</th>
</tr>
</thead>
</table>
<form name="plugins-list-form" id="plugins-list-form" action="plugins.php" method="post">
<table id="plugins-list" class="table table-bordered">
<tbody>
<{foreach item=$plugin from=$plugins}>
<tr class="<{if $plugin.plugin_status == 0}>alert alert-danger<{else}>alert alert-success<{/if}>">
<td class="txtcenter width10"><{$plugin.plugin_caller_name}></td>
<td class="txtcenter width10"><{$plugin.plugin_listener_name}></td>
<td class="txtcenter width5"><{$plugin.plugin_status_field}></td>
<td class="txtcenter width5"><{$plugin.plugin_order_field}></td>
{foreach item=$plugin from=$plugins}
<tr class="{if $plugin.plugin_status == 0}alert alert-danger{else}alert alert-success{/if}">
<td class="txtcenter width10">{$plugin.plugin_caller_name}</td>
<td class="txtcenter width10">{$plugin.plugin_listener_name}</td>
<td class="txtcenter width5">{$plugin.plugin_status_field}</td>
<td class="txtcenter width5">{$plugin.plugin_order_field}</td>
</tr>
<{/foreach}>
{/foreach}
</tbody>
</table>
<{$hiddenFields}>
<{$submitButton}>
{$hiddenFields}
{$submitButton}
</form>
<{/if}>
{/if}