ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/public/public.php
(Generate patch)

Comparing projects/cms/source/reports/php/public/public.php (file contents):
Revision 1.3 by pjm2, Thu Mar 22 18:01:32 2001 UTC vs.
Revision 1.10 by tdb, Tue May 21 16:47:15 2002 UTC

# Line 1 | Line 1
1 < <? include("public_config.inc.php"); ?>
1 > <?
2  
3 < <? include($titleHTML); ?>
3 > #
4 > # i-scream central monitoring system
5 > # http://www.i-scream.org.uk
6 > # Copyright (C) 2000-2002 i-scream
7 > #
8 > # This program is free software; you can redistribute it and/or
9 > # modify it under the terms of the GNU General Public License
10 > # as published by the Free Software Foundation; either version 2
11 > # of the License, or (at your option) any later version.
12 > #
13 > # This program is distributed in the hope that it will be useful,
14 > # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 > # GNU General Public License for more details.
17 > #
18 > # You should have received a copy of the GNU General Public License
19 > # along with this program; if not, write to the Free Software
20 > # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 > #
22  
23 + include("public_config.inc.php");
24 +
25 + include($titleHTML);
26 +
27 + ?>
28 +
29 + <p>&nbsp;</p>
30 +
31 + <p>
32 + This page lets you set up a non-interactive public display terminal
33 + for showing alerts from the i-scream monitoring system.
34 + </p>
35 +
36 + <p>&nbsp;</p>
37 +
38   <form method="<?=$formMethod?>" action="<?=$destination?>">
39 < <table border="0">
39 > <table border="1" align="center" style="border: 1;">
40    <tr>
41 <   <td>Machine name</td>
42 <   <td><input type="text" name="machine"></td>
41 >   <td valign="top" align="right">Machine name:</td>
42 >   <td valign="top"><input type="text" name="machine" value="ALL"></td>
43 >   <td valign="top"><font size="2">The machine to produce a report for (or 'ALL' for all machines)</font></td>
44    </tr>
45    <tr>
46 <   <td>Base font size</td>
47 <   <td>
46 >   <td valign="top" align="right">Base font size:</td>
47 >   <td valign="top">
48      <select name="fontsize">
49       <option value="2">2</option>
50       <option value="3">3</option>
51       <option value="4">4</option>
52       <option value="5">5</option>
53 +     <option value="6" selected>6</option>
54 +     <option value="7">7</option>
55 +    </select>
56 +   </td>
57 +   <td valign="top"><font size="2">Only affects reports formatted with the 'small' option set</font></td>
58 +  </tr>
59 +  <tr>
60 +   <td valign="top" align="right">Auto scroll speed:</td>
61 +   <td valign="top">
62 +    <select name="scroll">
63 +     <option value="0">OFF</option>
64 +     <option value="1">1</option>
65 +     <option value="2">2</option>
66 +     <option value="3">3</option>
67 +     <option value="4">4</option>
68 +     <option value="5">5</option>
69       <option value="6">6</option>
70       <option value="7">7</option>
71 +     <option value="8">8</option>
72 +     <option value="9">9</option>
73      </select>
74     </td>
75 +   <td valign="top"><font size="2">Cause the report to automatically scroll down slowly, then reload itself - only for Internet Explorer 4.0+ browsers</font></td>
76    </tr>
77    <tr>
78 <   <td>Auto scroll window</td>
79 <   <td><input type="checkbox" name="scroll"></td>
78 >   <td valign="top" align="right">Page update interval:</td>
79 >   <td valign="top">
80 >    <select name="refresh">
81 >     <option value="">NEVER</option>
82 >     <option value="10">10 seconds</option>
83 >     <option value="20">20 seconds</option>
84 >     <option value="30">30 seconds</option>
85 >     <option value="60">1 minute</option>
86 >     <option value="300">5 minutes</option>
87 >    </select>
88 >   </td>
89 >   <td valign="top"><font size="2">Set the meta refresh tag to refresh the page periodically.</font></td>
90    </tr>
91    <tr>
92 <   <td>Hide user input form</td>
93 <   <td><input type="checkbox" name="hideform"></td>
92 >   <td valign="top" align="right">Hide user input form:</td>
93 >   <td valign="top"><input type="checkbox" name="hideform" checked></td>
94 >   <td valign="top"><font size="2">Hide the input box that is used to select other machines</font></td>
95    </tr>
96    <tr>
97 <   <td>Page width</td>
98 <   <td><input type="text" name="pagewidth" value="600"></td>
97 >   <td valign="top" align="right">Page width:</td>
98 >   <td valign="top"><input type="text" name="pagewidth" value="600"></td>
99 >   <td valign="top">&nbsp;</td>
100    </tr>
101    <tr>
102 <   <td>Small mode</td>
103 <   <td><input type="checkbox" name="small"></td>
102 >   <td valign="top" align="right">Small mode:</td>
103 >   <td valign="top"><input type="checkbox" name="small" checked></td>
104 >   <td valign="top"><font size="2">Set this to show only the most important information about each alert</font></td>
105    </tr>
106    <tr>
107 <   <td>&nbsp;</td>
108 <   <td>
107 >   <td valign="top">&nbsp;</td>
108 >   <td valign="top">
109      <input type="submit">
110     </td>
111 +   <td valign="top">&nbsp;</td>
112    </tr>
113   </table>
114   </form>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines