use PhpHelper::parseArrayToPhpFile in new MysqlServer API command; show asterisk for mandatory fields in formfields; add ssl-flag for ssl-enabled ip in installation

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-02 10:00:59 +02:00
parent 00a3424f65
commit c4a2d87d70
8 changed files with 44 additions and 50 deletions

View File

@@ -43,5 +43,6 @@
</div>
</div>
{% endif %}
<span class="text-danger">*</span> {{ lng('panel.mandatoryfield') }}
</form>
{% endmacro %}

View File

@@ -7,7 +7,7 @@
{% if em %}
<mark>
{% endif %}
{{ field.label.title|raw }}
{{ field.label.title|raw }}{% if field.mandatory is defined and field.mandatory %}<span class="text-danger">*</span>{% endif %}
{% if em %}
</mark>
{% endif %}
@@ -19,7 +19,7 @@
{% if em %}
<mark>
{% endif %}
{{ field.label|raw }}
{{ field.label|raw }}{% if field.mandatory is defined and field.mandatory %}<span class="text-danger">*</span>{% endif %}
{% if em %}
</mark>
{% endif %}