better back links

This commit is contained in:
Roland Gruber 2013-01-15 18:58:33 +00:00
parent bdbe28b3ff
commit b12b276e86
3 changed files with 20 additions and 2 deletions

View File

@ -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'];
<br><br>
<!-- form to change existing profiles -->
<form action="confmain.php" method="post">
<table align="center"><tr><td>
<table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all">
<tr>
<td style="border-style:none" rowspan="3" width="20"></td>
@ -190,6 +191,11 @@ echo $_SESSION['header'];
<td style="border-style:none" height="20"></td>
</tr>
</table>
</td></tr>
<tr><td>
<br><a href="../login.php"> <?php echo _("Back to login"); ?> </a>
</td></tr>
</table>
</form>
<p><br><br></p>

View File

@ -133,6 +133,8 @@ echo $_SESSION['header'];
<br>
<!-- form to change main options -->
<form action="mainlogin.php" method="post">
<table align="center">
<tr><td>
<table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all" style="padding: 20px;">
<tr><td>
<?php
@ -169,6 +171,11 @@ echo $_SESSION['header'];
?>
</td></tr>
</table>
</td></tr>
<tr><td align="left">
<br><a href="../login.php"> <?php echo _("Back to login"); ?> </a>
</td></tr>
</table>
</form>
<p><br><br></p>

View File

@ -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('<br>', false));
$mainContainer->addElement(new htmlLink(_("Back to profile login"), 'conflogin.php'));
parseHtml('', $mainContainer, array(), false, $tabindex, 'user');
?>
</form>