From b12b276e8641400873167551af21bcb802236214 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 15 Jan 2013 18:58:33 +0000 Subject: [PATCH] better back links --- lam/templates/config/conflogin.php | 8 +++++++- lam/templates/config/mainlogin.php | 7 +++++++ lam/templates/config/profmanage.php | 7 ++++++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/lam/templates/config/conflogin.php b/lam/templates/config/conflogin.php index 22e7d107..adafaf9e 100644 --- a/lam/templates/config/conflogin.php +++ b/lam/templates/config/conflogin.php @@ -3,7 +3,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) - Copyright (C) 2003 - 2011 Roland Gruber + Copyright (C) 2003 - 2013 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -121,6 +121,7 @@ echo $_SESSION['header'];

+ + +
@@ -190,6 +191,11 @@ echo $_SESSION['header'];
+
+
+



diff --git a/lam/templates/config/mainlogin.php b/lam/templates/config/mainlogin.php index 777dbb76..d319b49c 100644 --- a/lam/templates/config/mainlogin.php +++ b/lam/templates/config/mainlogin.php @@ -133,6 +133,8 @@ echo $_SESSION['header'];
+ + + +
+
+
+



diff --git a/lam/templates/config/profmanage.php b/lam/templates/config/profmanage.php index e6baac8e..2f680086 100644 --- a/lam/templates/config/profmanage.php +++ b/lam/templates/config/profmanage.php @@ -318,7 +318,12 @@ $container->addElement($dialogDiv, true); $mainDiv = new htmlDiv('mainDiv', $container); $mainDiv->setCSSClasses(array('filled', 'ui-corner-all')); -parseHtml('', $mainDiv, array(), false, $tabindex, 'user'); +$mainContainer = new htmlGroup(); +$mainContainer->addElement($mainDiv); +$mainContainer->addElement(new htmlOutputText('
', false)); +$mainContainer->addElement(new htmlLink(_("Back to profile login"), 'conflogin.php')); + +parseHtml('', $mainContainer, array(), false, $tabindex, 'user'); ?>