added config wizard

This commit is contained in:
Roland Gruber 2004-01-25 12:06:09 +00:00
parent 9dba5a23b6
commit 8952ad3c0d
1 changed files with 17 additions and 12 deletions

View File

@ -58,6 +58,11 @@ unset($_SESSION['conf_samba3']);
unset($_SESSION['conf_pwdhash']); unset($_SESSION['conf_pwdhash']);
unset($_SESSION['conf_filename']); unset($_SESSION['conf_filename']);
// remove config wizard settings
unset($_SESSION['confwiz_config']);
unset($_SESSION['confwiz_ldap']);
unset($_SESSION['confwiz_masterpwd']);
echo $_SESSION['header']; echo $_SESSION['header'];
?> ?>
@ -78,15 +83,15 @@ echo $_SESSION['header'];
<form action="confmain.php" method="post"> <form action="confmain.php" method="post">
<table border=0 align="center"> <table border=0 align="center">
<tr> <tr>
<td colspan=4 align="center"><b> <?php echo _("Please enter password to change preferences:"); ?> </b></td> <td colspan=2 align="center"><b> <?php echo _("Please enter password to change preferences:"); ?> </b></td>
</tr> </tr>
<tr><td colspan=4 >&nbsp;</td></tr> <tr><td colspan=2 >&nbsp;</td></tr>
<?php <?php
// print message if login was incorrect // print message if login was incorrect
if ($message) echo ("<tr><td colspan=4 align=\"center\"><font color=red>" . $message . "</font></td></tr>"); if ($message) echo ("<tr><td colspan=4 align=\"center\"><font color=red>" . $message . "</font></td></tr>");
?> ?>
<tr> <tr>
<td> <td colspan=2 align="center">
<select size=1 name="filename"> <select size=1 name="filename">
<?php <?php
$files = getConfigProfiles(); $files = getConfigProfiles();
@ -98,25 +103,25 @@ echo $_SESSION['header'];
} }
?> ?>
</select> </select>
</td> <input type="password" name="passwd">
<td align="center"><input type="password" name="passwd"></td> <input type="submit" name="submit" value=" <?php echo _("Ok"); ?> ">
<td> <a href="../help.php?HelpNumber=200" target="lamhelp"><?php echo _("Help") ?></a></td>
<input type="submit" name="submit" value= <?php echo _("Ok"); ?>
</td>
<td><a href="../help.php?HelpNumber=200" target="lamhelp"><?php echo _("Help") ?></a></td>
</tr> </tr>
<tr> <tr>
<td colspan=3>&nbsp;</td> <td colspan=2>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td colspan=3 align="center"> <td align="left" width="50%">
<b><a href="profmanage.php"><?php echo _("Manage profiles") ?></a></b> <b><a href="profmanage.php"><?php echo _("Manage profiles") ?></a></b>
</td> </td>
<td align="right" width="50%">
<b><a href="../confwiz/start.php"><?php echo _("Configuration wizard") ?></a></b>
</td>
</tr> </tr>
</table> </table>
</form> </form>
<p><br><br><br><br><br><br><br></p> <p><br><br><br><br><br></p>
<!-- back to login page --> <!-- back to login page -->
<p> <p>