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:
committed by
Tristan Darricau
parent
d6618397bf
commit
88b32580dc
@@ -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> •
|
||||
<a href="{{ extension.url }}">{{ lang('HOMEPAGE') }}</a> •
|
||||
{% if extension.name in managed_extensions %}
|
||||
<span style="color: #228822;">{{ lang('INSTALLED') }}</span>
|
||||
{% elseif extension.name in installed_extensions -%}
|
||||
|
@@ -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 --> | <!-- ENDIF -->
|
||||
<!-- END actions -->
|
||||
|
||||
<!-- IF enabled.META_NAME in MANAGED_EXTENSIONS -->
|
||||
<!-- IF enabled.actions is defined --> | <!-- ENDIF -->
|
||||
<a href="{U_GALLERY_ACTION}&action=update&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 --> | <!-- ENDIF -->
|
||||
<!-- END actions -->
|
||||
|
||||
<!-- IF disabled.META_NAME in MANAGED_EXTENSIONS -->
|
||||
<!-- IF disabled.actions is defined --> | <!-- ENDIF -->
|
||||
<a href="{U_GALLERY_ACTION}&action=update&extension={disabled.META_NAME}">{L_UPDATE}</a>
|
||||
| <a href="{U_GALLERY_ACTION}&action=remove&extension={disabled.META_NAME}" style="color: #BC2A4D;">{L_REMOVE}</a>
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END disabled -->
|
||||
|
Reference in New Issue
Block a user