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.14 by tdb, Sat Jun 30 11:24:42 2007 UTC

# Line 1 | Line 1
1 < <? include("public_config.inc.php"); ?>
1 > <?php
2  
3 < <? include($titleHTML); ?>
3 > #
4 > # i-scream central monitoring system
5 > # http://www.i-scream.org
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 < <form method="<?=$formMethod?>" action="<?=$destination?>">
24 < <table border="0">
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="<?php=$formMethod?>" action="<?php=$destination?>">
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 +  <!-- Does not work?
60 +  <tr>
61 +   <td valign="top" align="right">Auto scroll speed:</td>
62 +   <td valign="top">
63 +    <select name="scroll">
64 +     <option value="0">OFF</option>
65 +     <option value="1">1</option>
66 +     <option value="2">2</option>
67 +     <option value="3">3</option>
68 +     <option value="4">4</option>
69 +     <option value="5">5</option>
70       <option value="6">6</option>
71       <option value="7">7</option>
72 +     <option value="8">8</option>
73 +     <option value="9">9</option>
74      </select>
75     </td>
76 +   <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>
77    </tr>
78 +  -->
79    <tr>
80 <   <td>Auto scroll window</td>
81 <   <td><input type="checkbox" name="scroll"></td>
80 >   <td valign="top" align="right">Page update interval:</td>
81 >   <td valign="top">
82 >    <select name="refresh">
83 >     <option value="">NEVER</option>
84 >     <option value="10">10 seconds</option>
85 >     <option value="20">20 seconds</option>
86 >     <option value="30">30 seconds</option>
87 >     <option value="60">1 minute</option>
88 >     <option value="300">5 minutes</option>
89 >    </select>
90 >   </td>
91 >   <td valign="top"><font size="2">Set the meta refresh tag to refresh the page periodically.</font></td>
92    </tr>
93    <tr>
94 <   <td>Hide user input form</td>
95 <   <td><input type="checkbox" name="hideform"></td>
94 >   <td valign="top" align="right">Hide user input form:</td>
95 >   <td valign="top"><input type="checkbox" name="hideform" checked></td>
96 >   <td valign="top"><font size="2">Hide the input box that is used to select other machines</font></td>
97    </tr>
98    <tr>
99 <   <td>Page width</td>
100 <   <td><input type="text" name="pagewidth" value="600"></td>
99 >   <td valign="top" align="right">Page width:</td>
100 >   <td valign="top"><input type="text" name="pagewidth" value="600"></td>
101 >   <td valign="top">&nbsp;</td>
102    </tr>
103    <tr>
104 <   <td>Small mode</td>
105 <   <td><input type="checkbox" name="small"></td>
104 >   <td valign="top" align="right">Small mode:</td>
105 >   <td valign="top"><input type="checkbox" name="small" checked></td>
106 >   <td valign="top"><font size="2">Set this to show only the most important information about each alert</font></td>
107    </tr>
108    <tr>
109 <   <td>&nbsp;</td>
110 <   <td>
109 >   <td valign="top">&nbsp;</td>
110 >   <td valign="top">
111      <input type="submit">
112     </td>
113 +   <td valign="top">&nbsp;</td>
114    </tr>
115   </table>
116   </form>
117  
118 < <? include($bottomHTML); ?>
118 > <?php include($bottomHTML); ?>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines