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"); }