From 75aaf5e2af311a802ceeaf77845e0145e1afe2ef Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Sun, 12 Mar 2023 12:48:16 +0100 Subject: [PATCH] Module creator improvement layout edit forms --- tools/module_creator/module_creator.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tools/module_creator/module_creator.php b/tools/module_creator/module_creator.php index 82265d96..c8608422 100644 --- a/tools/module_creator/module_creator.php +++ b/tools/module_creator/module_creator.php @@ -111,6 +111,7 @@ if ($argc >= 2) { $columns = array(); $sql_columns = array(); $edit_form = ""; + $tab_pos = " "; // Tab position /* Iterate through the result set */ echo "FIELD\t\t\t\tType\t\tNull\tKey\tDefault\tExtra\n"; @@ -152,7 +153,16 @@ if ($argc >= 2) { // {|Bezeichnung|}:* if ($row['Field'] != 'id') { - $edit_form = $edit_form . '{|' . ucfirst($row['Field']) . '|}:' . "\n"; + $edit_form = $edit_form. + ' + + {|' . ucfirst($row['Field']) . '|}: + + + + + + '; } echo("\n"); }