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$ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) 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 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 it under the terms of the GNU General Public License as published by
@ -121,6 +121,7 @@ echo $_SESSION['header'];
<br><br> <br><br>
<!-- form to change existing profiles --> <!-- form to change existing profiles -->
<form action="confmain.php" method="post"> <form action="confmain.php" method="post">
<table align="center"><tr><td>
<table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all"> <table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all">
<tr> <tr>
<td style="border-style:none" rowspan="3" width="20"></td> <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> <td style="border-style:none" height="20"></td>
</tr> </tr>
</table> </table>
</td></tr>
<tr><td>
<br><a href="../login.php"> <?php echo _("Back to login"); ?> </a>
</td></tr>
</table>
</form> </form>
<p><br><br></p> <p><br><br></p>

View File

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

View File

@ -318,7 +318,12 @@ $container->addElement($dialogDiv, true);
$mainDiv = new htmlDiv('mainDiv', $container); $mainDiv = new htmlDiv('mainDiv', $container);
$mainDiv->setCSSClasses(array('filled', 'ui-corner-all')); $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> </form>