]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/commands/web/class_WebRegisterCommand.php
More class descriptions translated, generic user class added
[shipsimu.git] / inc / classes / main / commands / web / class_WebRegisterCommand.php
index 01ba9cd0dada952cb4b95c36ffbbdda4f3acfc68..af1d7488b8d31b522ea8ec5924ab07502fadcfbd 100644 (file)
@@ -32,7 +32,7 @@ class WebRegisterCommand extends BaseCommand implements Commandable {
                parent::__construct(__CLASS__);
 
                // Set special description
-               $this->setObjectDescription("Anmeldeformular-Command");
+               $this->setObjectDescription("Command for the registration form");
 
                // Create unique ID number
                $this->createUniqueID();
@@ -103,9 +103,9 @@ class WebRegisterCommand extends BaseCommand implements Commandable {
                $templateInstance->loadCodeTemplate($masterTemplate);
 
                // Set title
-               $title = ucfirst($requestInstance->getRequestElement($this->getConfigInstance()->readConfig("command_parameter")));
+               $title = ucfirst($requestInstance->getRequestElement($this->getConfigInstance()->readConfig('command_parameter')));
                if (empty($title)) $title = "Register";
-               $templateInstance->assignVariable("title", $title);
+               $templateInstance->assignVariable('title', $title);
 
                // ... and all variables. This should be merged together in a pattern
                // to make things easier. A cache mechanism should be added between