improved design

This commit is contained in:
Roland Gruber 2003-09-24 20:28:23 +00:00
parent d73bddcc58
commit acae184c92
1 changed files with 71 additions and 40 deletions

View File

@ -140,45 +140,56 @@ if ($_POST['submit']) {
<br> <br>
<!-- form for adding/renaming/deleting profiles --> <!-- form for adding/renaming/deleting profiles -->
<form action="profmanage.php" method="post"> <form action="profmanage.php" method="post">
<table>
<tr><td>
<fieldset> <fieldset>
<legend><b> <?php echo _("Profile management"); ?> </b></legend> <legend><b> <?php echo _("Profile management"); ?> </b></legend>
<p> <p>
<table border=0> <table cellspacing=0 border=0>
<!-- add profile --> <!-- add profile -->
<tr> <tr bgcolor="#dbdbdb">
<td> <td>
<input type="radio" name="action" value="add" checked> <input type="radio" name="action" value="add" checked>
</td> </td>
<td> <td>
<b> <b>
<?php echo _("Add profile") . ":"; ?> <?php echo _("Add profile") . ":"; ?>
&nbsp
</b> </b>
&nbsp <?php echo _("Profile name"); ?> : </td>
<td align="right">
<?php echo _("Profile name") . ":"; ?>
<input type="text" name="addprofile"> <input type="text" name="addprofile">
</td> </td>
<td> <td>&nbsp;
<a href="../help.php?HelpNumber=230" target="lamhelp"><?php echo _("Help"); ?></a> <a href="../help.php?HelpNumber=230" target="lamhelp"><?php echo _("Help"); ?></a>
</td> </td>
</tr> </tr>
<tr> <tr bgcolor="#dbdbdb">
<td></td> <td>&nbsp;</td>
<td> <td>&nbsp;</td>
<?php echo _("Profile password:"); ?> <td align="right">
<?php echo _("Profile password") . ":"; ?>
<input type="password" name="addpassword"> <input type="password" name="addpassword">
&nbsp <?php echo _("Reenter profile password:"); ?> </td>
<td></td>
</tr>
<tr bgcolor="#dbdbdb">
<td>&nbsp;</td>
<td>&nbsp;</td>
<td align="right">
<?php echo _("Reenter profile password") . ":"; ?>
<input type="password" name="addpassword2"> <input type="password" name="addpassword2">
</td> </td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td colspan=3>&nbsp</td> <td colspan=4>&nbsp</td>
</tr> </tr>
<!-- rename profile --> <!-- rename profile -->
<tr> <tr bgcolor="#dbdbdb">
<td> <td>
<input type="radio" name="action" value="rename"> <input type="radio" name="action" value="rename">
</td> </td>
@ -190,26 +201,28 @@ if ($_POST['submit']) {
?> ?>
</select> </select>
<b> <b>
<?php echo _("Rename profile to") . ":"; ?> <?php echo _("Rename profile"); ?>
&nbsp
</b> </b>
</td>
<td align="right">
<?php echo _("Profile name") . ":"; ?>
<input type="text" name="renfilename"> <input type="text" name="renfilename">
</td> </td>
<td> <td>&nbsp;
<a href="../help.php?HelpNumber=231" target="lamhelp"><?php echo _("Help"); ?></a> <a href="../help.php?HelpNumber=231" target="lamhelp"><?php echo _("Help"); ?></a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan=3>&nbsp</td> <td colspan=4>&nbsp</td>
</tr> </tr>
<!-- delete profile --> <!-- delete profile -->
<tr> <tr bgcolor="#dbdbdb">
<td> <td>
<input type="radio" name="action" value="delete"> <input type="radio" name="action" value="delete">
</td> </td>
<td> <td colspan=2>
<select size=1 name="delfilename"> <select size=1 name="delfilename">
<?php <?php
$files = getConfigProfiles(); $files = getConfigProfiles();
@ -220,17 +233,17 @@ if ($_POST['submit']) {
<?php echo _("Delete profile"); ?> <?php echo _("Delete profile"); ?>
</b> </b>
</td> </td>
<td> <td>&nbsp;
<a href="../help.php?HelpNumber=232" target="lamhelp"><?php echo _("Help"); ?></a> <a href="../help.php?HelpNumber=232" target="lamhelp"><?php echo _("Help"); ?></a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan=3>&nbsp</td> <td colspan=4>&nbsp</td>
</tr> </tr>
<!-- set profile password --> <!-- set profile password -->
<tr> <tr bgcolor="#dbdbdb">
<td> <td>
<input type="radio" name="action" value="setpass"> <input type="radio" name="action" value="setpass">
</td> </td>
@ -245,34 +258,37 @@ if ($_POST['submit']) {
<?php echo _("Set profile password"); ?> <?php echo _("Set profile password"); ?>
</b> </b>
</td> </td>
<td> <td align="right">
<?php echo _("Profile password") . ":"; ?>
<input type="password" name="setpassword">
</td>
<td>&nbsp;
<a href="../help.php?HelpNumber=233" target="lamhelp"><?php echo _("Help"); ?></a> <a href="../help.php?HelpNumber=233" target="lamhelp"><?php echo _("Help"); ?></a>
</td> </td>
</tr> </tr>
<tr> <tr bgcolor="#dbdbdb">
<td></td> <td>&nbsp;</td>
<td> <td>&nbsp;</td>
<?php echo _("Profile password:"); ?> <td align="right">
<input type="password" name="setpassword"> <?php echo _("Reenter profile password") . ":"; ?>
&nbsp <?php echo _("Reenter profile password:"); ?>
<input type="password" name="setpassword2"> <input type="password" name="setpassword2">
</td> </td>
<td></td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td colspan=3>&nbsp</td> <td colspan=4>&nbsp</td>
</tr> </tr>
<tr> <tr>
<td colspan=3>&nbsp</td> <td colspan=4>&nbsp</td>
</tr> </tr>
<!-- change default profile --> <!-- change default profile -->
<tr> <tr bgcolor="#dbdbdb">
<td> <td>
<input type="radio" name="action" value="setdefault"> <input type="radio" name="action" value="setdefault">
</td> </td>
<td> <td colspan=2>
<select size=1 name="defaultfilename"> <select size=1 name="defaultfilename">
<?php <?php
$files = getConfigProfiles(); $files = getConfigProfiles();
@ -288,13 +304,17 @@ if ($_POST['submit']) {
<?php echo _("Change default profile"); ?> <?php echo _("Change default profile"); ?>
</b> </b>
</td> </td>
<td> <td>&nbsp;
<a href="../help.php?HelpNumber=234" target="lamhelp"><?php echo _("Help"); ?></a> <a href="../help.php?HelpNumber=234" target="lamhelp"><?php echo _("Help"); ?></a>
</td> </td>
</tr> </tr>
<!-- set master password -->
<tr> <tr>
<td colspan=4>&nbsp</td>
</tr>
<!-- set master password -->
<tr bgcolor="#dbdbdb">
<td> <td>
<input type="radio" name="action" value="setmasterpass"> <input type="radio" name="action" value="setmasterpass">
</td> </td>
@ -302,18 +322,29 @@ if ($_POST['submit']) {
<b> <b>
<?php echo _("Change master password"); ?> <?php echo _("Change master password"); ?>
</b> </b>
&nbsp <?php echo _("New master password:"); ?>
<input type="password" name="masterpassword">
&nbsp <?php echo _("Reenter new master password:"); ?>
<input type="password" name="masterpassword2">
</td> </td>
<td> <td align="right">
<?php echo _("New master password") . ":"; ?>
<input type="password" name="masterpassword">
</td>
<td>&nbsp;
<a href="../help.php?HelpNumber=235" target="lamhelp"><?php echo _("Help"); ?></a> <a href="../help.php?HelpNumber=235" target="lamhelp"><?php echo _("Help"); ?></a>
</td> </td>
</tr> </tr>
<tr bgcolor="#dbdbdb">
<td>&nbsp;</td>
<td>&nbsp;</td>
<td align="right">
<?php echo _("Reenter new master password") . ":"; ?>
<input type="password" name="masterpassword2">
</td>
<td>&nbsp;</td>
</tr>
</table> </table>
</fieldset> </fieldset>
</td></tr>
</table>
<p>&nbsp</p> <p>&nbsp</p>
<!-- password field and submit button --> <!-- password field and submit button -->