1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/11150] Add Remove && Update buttons

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-14 18:43:58 +02:00
committed by Tristan Darricau
parent d6618397bf
commit 88b32580dc
5 changed files with 185 additions and 46 deletions

View File

@@ -35,7 +35,7 @@
<col class="row1" ><col class="row1" ><col class="row1" >
<thead>
<tr>
<th style="width: 20%;">{{ lang("EXTENSION_NAME") }}</th>
<th style="width: 21%;">{{ lang("EXTENSION_NAME") }}</th>
<th style="text-align: center; width: 10%;">{{ lang("VERSION") }}</th>
<th>{{ lang("DESCRIPTION") }}</th>
</tr>
@@ -46,7 +46,7 @@
<td>
<strong>{{ extension.name }}</strong><br />
<span>
<a href="{{ extension.url }}">{{ lang('DETAILS') }}</a> &bull;
<a href="{{ extension.url }}">{{ lang('HOMEPAGE') }}</a> &bull;
{% if extension.name in managed_extensions %}
<span style="color: #228822;">{{ lang('INSTALLED') }}</span>
{% elseif extension.name in installed_extensions -%}

View File

@@ -62,6 +62,11 @@
<a href="{enabled.actions.U_ACTION}"<!-- IF enabled.actions.L_ACTION_EXPLAIN --> title="{enabled.actions.L_ACTION_EXPLAIN}"<!-- ENDIF -->>{enabled.actions.L_ACTION}</a>
<!-- IF not enabled.actions.S_LAST_ROW -->&nbsp;|&nbsp;<!-- ENDIF -->
<!-- END actions -->
<!-- IF enabled.META_NAME in MANAGED_EXTENSIONS -->
<!-- IF enabled.actions is defined -->&nbsp;|&nbsp;<!-- ENDIF -->
<a href="{U_GALLERY_ACTION}&amp;action=update&amp;extension={enabled.META_NAME}">{L_UPDATE}</a>
<!-- ENDIF -->
</td>
</tr>
<!-- END enabled -->
@@ -89,6 +94,12 @@
<a href="{disabled.actions.U_ACTION}"<!-- IF disabled.actions.L_ACTION_EXPLAIN --> title="{disabled.actions.L_ACTION_EXPLAIN}"<!-- ENDIF -->>{disabled.actions.L_ACTION}</a>
<!-- IF not disabled.actions.S_LAST_ROW -->&nbsp;|&nbsp;<!-- ENDIF -->
<!-- END actions -->
<!-- IF disabled.META_NAME in MANAGED_EXTENSIONS -->
<!-- IF disabled.actions is defined -->&nbsp;|&nbsp;<!-- ENDIF -->
<a href="{U_GALLERY_ACTION}&amp;action=update&amp;extension={disabled.META_NAME}">{L_UPDATE}</a>
&nbsp;|&nbsp;<a href="{U_GALLERY_ACTION}&amp;action=remove&amp;extension={disabled.META_NAME}" style="color: #BC2A4D;">{L_REMOVE}</a>
<!-- ENDIF -->
</td>
</tr>
<!-- END disabled -->