diff --git a/tools/module_creator/module_creator.php b/tools/module_creator/module_creator.php index 217e64f6..f6363409 100644 --- a/tools/module_creator/module_creator.php +++ b/tools/module_creator/module_creator.php @@ -116,7 +116,7 @@ if ($argc >= 2) { // {|Bezeichnung|}:* if ($row['Field'] != 'id') { - $edit_form = $edit_form . '{|' . $row['Field'] . '|}:' . "\n"; + $edit_form = $edit_form . '{|' . ucfirst($row['Field']) . '|}:' . "\n"; } echo("\n"); @@ -138,7 +138,7 @@ if ($argc >= 2) { $php_file_contents = file_get_contents($php_template_file_name); if (empty($php_file_contents)) { - echo("Failed to load" . $php_template_file_name . "\n"); + echo("Failed to load " . $php_template_file_name . "\n"); exit; } diff --git a/tools/module_creator/module_creator_edit.tpl b/tools/module_creator/module_creator_edit.tpl index b0f3ca48..73517783 100644 --- a/tools/module_creator/module_creator_edit.tpl +++ b/tools/module_creator/module_creator_edit.tpl @@ -17,7 +17,7 @@
- {|PLACEHOLDER_LEGEND|} + {|PLACEHOLDER_LEGEND|}Info like this. PLACEHOLDER_FIELDS
@@ -26,6 +26,21 @@
+