Port "use_tunneled_reply" fix for MS-CHAP from branch_1_1
[freeradius.git] / dialup_admin / htdocs / help / help.php3
1 <html>
2 <head>
3 <title>Help page</title>
4 <link rel="stylesheet" href="../style.css">
5 </head>
6 <body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black">
7 <center>
8 <table border=0 width=550 cellpadding=0 cellspacing=0>
9 <tr valign=top>
10 <td align=center><img src="../images/title2.gif"></td>
11 </tr>
12 </table>
13
14 <table border=0 width=400 cellpadding=0 cellspacing=2></table>
15
16 <br>
17 <table border=0 width=540 cellpadding=1 cellspacing=1>
18 <tr valign=top>
19 <td width=540></td>
20 <td bgcolor="black" width=400>
21         <table border=0 width=100% cellpadding=2 cellspacing=0>
22         <tr bgcolor="#907030" align=right valign=top><th><font color="white">dialup_admin help page</font>&nbsp;</th></tr>
23         </table>
24 </td></tr>
25 <tr bgcolor="black" valign=top><td colspan=2>
26         <table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
27         <tr><td>
28 <br>
29
30 <b>Please choose which file you wish to read:</b><br><br>
31 <form name="readhelp" method=post>
32 <select name=help_file>
33 <?php
34 $selected[$help_file] = 'selected';
35
36 echo <<<EOM
37 <option $selected[readme] value="readme">README File
38 <option $selected[howto] value="howto">HOWTO File
39 <option $selected[faq] value="faq">FAQ File
40 EOM;
41 ?>
42 </select>
43 <br><br>
44 <input type=submit class=button value="Read File">
45 </form>
46
47 <pre>
48 <?php
49 $in_file = '';
50 if ($help_file == 'readme')
51         $in_file = '../../README';
52 else if ($help_file == 'howto')
53         $in_file = '../../doc/HOWTO';
54 else if ($help_file == 'faq')
55         $in_file = '../../doc/FAQ';
56 if ($in_file != '')
57         readfile("$in_file");
58 ?>
59 </pre>
60 <br>
61 </td></tr>
62 </table>
63 </tr>
64 </table>
65 </body>
66 </html>