1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11150] Add ACP gallery

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-13 10:48:30 +02:00
committed by Tristan Darricau
parent c49cd29e96
commit adb8d30d98
8 changed files with 237 additions and 41 deletions

View File

@@ -0,0 +1,57 @@
<!-- INCLUDE overall_header.html -->
<a id="maincontent"></a>
<h1>{{lang( 'EXTENSIONS_ADMIN') }}</h1>
<p>{{lang( 'EXTENSIONS_EXPLAIN') }}</p>
<fieldset class="quick">
<span class="small"><a href="https://www.phpbb.com/go/customise/extensions/3.1" target="_blank">{{ lang('BROWSE_EXTENSIONS_DATABASE') }}</a> &bull; <a href="javascript:phpbb.toggleDisplay('gallery_settings');">{{ lang('SETTINGS') }}</a></span>
</fieldset>
<form id="gallery_settings" method="post" action="{{ U_ACTION }}" style="display:none">
<fieldset>
<legend>{{ lang('EXTENSIONS_GALLERY_SETTINGS') }}</legend>
<dl>
<dt><label for="force_unstable">{L_FORCE_UNSTABLE}{L_COLON}</label></dt>
<dd>
<label><input type="radio" id="force_unstable" name="force_unstable" class="radio" value="1"<!-- IF FORCE_UNSTABLE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" name="force_unstable" class="radio" value="0"<!-- IF not FORCE_UNSTABLE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
</dd>
</dl>
<p class="submit-buttons">
<input class="button1" type="submit" name="update" value="{{ lang('SUBMIT') }}" />&nbsp;
<input class="button2" type="reset" name="reset" value="{{ lang('RESET') }}" />
<input type="hidden" name="action" value="set_gallery_settings" />
{{ S_FORM_TOKEN }}
</p>
</fieldset>
</form>
<table class="table1">
<col class="row1" ><col class="row1" ><col class="row1" >
<thead>
<tr>
<th style="width: 20%;">{{ lang("EXTENSION_NAME") }}</th>
<th style="text-align: center; width: 10%;">{{ lang("VERSION") }}</th>
<th>{{ lang("DESCRIPTION") }}</th>
</tr>
</thead>
<tbody>
{% for extension in extensions %}
<tr>
<td>
<strong>{{ extension.name }}</strong><br />
<span><a href="{{ extension.url }}">{{ lang('DETAILS') }}</a> &bull; <a href="">{{ lang('INSTALL') }}</a></span>
</td>
<td>{{ extension.version }}</td>
<td>{{ extension.description }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<!-- INCLUDE overall_footer.html -->