X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebRegisterCommand.php;h=af1d7488b8d31b522ea8ec5924ab07502fadcfbd;hb=838cbd34450e0b29c5b749d86a526871dac461ac;hp=01ba9cd0dada952cb4b95c36ffbbdda4f3acfc68;hpb=7625f0ed496dbf1bb3efbb3bd327dbd0fd747af4;p=shipsimu.git diff --git a/inc/classes/main/commands/web/class_WebRegisterCommand.php b/inc/classes/main/commands/web/class_WebRegisterCommand.php index 01ba9cd..af1d748 100644 --- a/inc/classes/main/commands/web/class_WebRegisterCommand.php +++ b/inc/classes/main/commands/web/class_WebRegisterCommand.php @@ -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