From: Roland Häder Date: Sun, 22 Jun 2008 09:42:41 +0000 (+0000) Subject: Login form now links to registration X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8f63fb1a80056e664c0f4eee6e56c9e0fbd9586f;p=shipsimu.git Login form now links to registration --- diff --git a/application/ship-simu/templates/de/code/login_form.ctp b/application/ship-simu/templates/de/code/login_form.ctp index 31688cc..8c94148 100644 --- a/application/ship-simu/templates/de/code/login_form.ctp +++ b/application/ship-simu/templates/de/code/login_form.ctp @@ -58,10 +58,16 @@ if ($helper->ifGuestLoginAllowed()) { Einloggen zu {?app_full_name?} -
- {?shipsimu_user_login?} +
+
+ {?shipsimu_user_login?} +
+ +
+ {?shipsimu_guest_login?} +
-
- {?shipsimu_guest_login?} + diff --git a/inc/classes/main/commands/web/class_WebLoginCommand.php b/inc/classes/main/commands/web/class_WebLoginCommand.php index a37949d..b1dd364 100644 --- a/inc/classes/main/commands/web/class_WebLoginCommand.php +++ b/inc/classes/main/commands/web/class_WebLoginCommand.php @@ -75,6 +75,9 @@ class WebLoginCommand extends BaseCommand implements Commandable { // Assign application data with template engine $templateInstance->assignApplicationData($appInstance); + // Assign base URL + $templateInstance->assignConfigVariable('base_url'); + // Load the master template $masterTemplate = $appInstance->getMasterTemplate();