mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 23:56:15 +00:00
Bug Fix: delete plugin option available for inactive plugins
This commit is contained in:
parent
6abb3ac265
commit
aea9ae3c25
1 changed files with 4 additions and 2 deletions
|
@ -45,8 +45,10 @@
|
||||||
<td class="center">{$element.plugin_info->Description}</td>
|
<td class="center">{$element.plugin_info->Description}</td>
|
||||||
<td class="center">{$element.plugin_type}</td>
|
<td class="center">{$element.plugin_type}</td>
|
||||||
<td class="center">{$element.plugin_permission}</td>
|
<td class="center">{$element.plugin_permission}</td>
|
||||||
<td><a href="index.php?page=plugins&action=delete_plugin&id={$element.id}"><button class="btn btn-primary btn-large">Delete</button></a>
|
<td>
|
||||||
{if ($element.plugin_status) eq "0"}<a href="index.php?page=plugins&action=activate_plugin&id={$element.id}"><button class="btn btn-primary btn-large dropdown-toggle">Activate</button></a>{/if}
|
{if ($element.plugin_status) eq "0"}
|
||||||
|
<a href="index.php?page=plugins&action=delete_plugin&id={$element.id}"><button class="btn btn-primary btn-large">Delete</button></a>
|
||||||
|
<a href="index.php?page=plugins&action=activate_plugin&id={$element.id}"><button class="btn btn-primary btn-large dropdown-toggle">Activate</button></a>{/if}
|
||||||
{if ($element.plugin_status) eq "1"}<a href="index.php?page=plugins&action=deactivate_plugin&id={$element.id}"><button class="btn btn-primary btn-large dropdown-toggle">Deactivate</button></a>{/if}</td>
|
{if ($element.plugin_status) eq "1"}<a href="index.php?page=plugins&action=deactivate_plugin&id={$element.id}"><button class="btn btn-primary btn-large dropdown-toggle">Deactivate</button></a>{/if}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
Loading…
Reference in a new issue