From 8f63fb1a80056e664c0f4eee6e56c9e0fbd9586f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 22 Jun 2008 09:42:41 +0000 Subject: [PATCH] Login form now links to registration --- .../ship-simu/templates/de/code/login_form.ctp | 14 ++++++++++---- .../main/commands/web/class_WebLoginCommand.php | 3 +++ 2 files changed, 13 insertions(+), 4 deletions(-) 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(); -- 2.39.5