mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00

* added anonymous usage statistics reporting * (fix) don't show templates that doesn't exist in Menus option in Admin Panel * (fix) menu ordering by category * (fix) showing changelog with urls in Admin Panel * (internal) moved uninstall logic to Plugins class
49 lines
1.3 KiB
Twig
49 lines
1.3 KiB
Twig
<form action="{{ constant('BASE_URL') }}install/" method="post" autocomplete="off">
|
|
<input type="hidden" name="step" id="step" value="database" />
|
|
<table>
|
|
{% for value in ['server_path', 'mail_admin', 'mail_address'] %}
|
|
<tr>
|
|
<td>
|
|
<label for="vars_{{ value }}">
|
|
<span>{{ locale['step_config_' ~ value] }}</span>
|
|
</label>
|
|
<br>
|
|
<input type="text" name="vars[{{ value }}]" id="vars_{{ value }}"{% if session['var_' ~ value] is not null %} value="{{ session['var_' ~ value] }}"{% endif %}/>
|
|
</td>
|
|
<td>
|
|
<em>{{ locale['step_config_' ~ value ~ '_desc'] }}</em>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
<tr>
|
|
<td>
|
|
<label for="vars_client">
|
|
<span>{{ locale.step_config_client }}</span>
|
|
</label>
|
|
<br>
|
|
<select name="vars[client]" id="vars_client">
|
|
{% for id, version in clients %}
|
|
<option value="{{ id }}">{{ version }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<em>{{ locale.step_config_client_desc }}</em>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="vars_usage">
|
|
<span>{{ locale.step_config_usage }}</span>
|
|
</label>
|
|
<br>
|
|
<input type="checkbox" name="vars[usage]" id="vars_usage" value="1" checked/>
|
|
</td>
|
|
<td>
|
|
<em>{{ locale.step_config_usage_desc }}</em>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{{ buttons|raw }}
|
|
</form> |