more tablelistings and php-related formfields
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% macro form(form_data, formaction, title = "") %}
|
||||
{% macro form(form_data, formaction, title = "", hiddenid = "") %}
|
||||
|
||||
{% import "Froxlor/form/formfields.html.twig" as formfields %}
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
<!-- submit buttons -->
|
||||
<div class="card mb-3">
|
||||
<div class="card-body">
|
||||
{% if hiddenid is not empty %}
|
||||
<input type="hidden" name="id" value="{{ hiddenid }}"/>
|
||||
{% endif %}
|
||||
<input type="hidden" name="s" value="{{ s }}"/>
|
||||
<input type="hidden" name="page" value="{{ page }}"/>
|
||||
<input type="hidden" name="action" value="{{ action }}"/>
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
|
||||
{% import "Froxlor/form/form.html.twig" as form %}
|
||||
|
||||
{{ form.form(formdata, formaction|default('#'), formdata.title) }}
|
||||
{{ form.form(formdata, formaction|default('#'), formdata.title, editid|default('')) }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -70,5 +70,3 @@ upload_tmp_dir = "{TMP_DIR}"
|
||||
variables_order = "GPCS"
|
||||
opcache.restrict_api = "{DOCUMENT_ROOT}"
|
||||
EOINI;
|
||||
|
||||
define('DEFAULT_PHPINI', $phpini);
|
||||
|
||||
Reference in New Issue
Block a user