ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/public/public.php
Revision: 1.14
Committed: Sat Jun 30 11:24:42 2007 UTC (16 years, 10 months ago) by tdb
Branch: MAIN
Changes since 1.13: +3 -3 lines
Log Message:
Tidy up PHP short tags.

File Contents

# User Rev Content
1 tdb 1.14 <?php
2 pjm2 1.1
3 tdb 1.9 #
4     # i-scream central monitoring system
5 tdb 1.11 # http://www.i-scream.org
6 tdb 1.9 # 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 pjm2 1.1
29 pjm2 1.4 <p>&nbsp;</p>
30    
31 pjm2 1.8 <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 tdb 1.14 <form method="<?php=$formMethod?>" action="<?php=$destination?>">
39 pjm2 1.4 <table border="1" align="center" style="border: 1;">
40 pjm2 1.3 <tr>
41 pjm2 1.4 <td valign="top" align="right">Machine name:</td>
42 pjm2 1.5 <td valign="top"><input type="text" name="machine" value="ALL"></td>
43 pjm2 1.4 <td valign="top"><font size="2">The machine to produce a report for (or 'ALL' for all machines)</font></td>
44 pjm2 1.3 </tr>
45     <tr>
46 pjm2 1.4 <td valign="top" align="right">Base font size:</td>
47     <td valign="top">
48 pjm2 1.3 <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 pjm2 1.5 <option value="6" selected>6</option>
54 pjm2 1.3 <option value="7">7</option>
55     </select>
56     </td>
57 pjm2 1.4 <td valign="top"><font size="2">Only affects reports formatted with the 'small' option set</font></td>
58 pjm2 1.3 </tr>
59 tdb 1.12 <!-- Does not work?
60 pjm2 1.3 <tr>
61 pjm2 1.6 <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 pjm2 1.7 <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 pjm2 1.6 </tr>
78 tdb 1.13 -->
79 pjm2 1.6 <tr>
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 pjm2 1.7 <td valign="top"><font size="2">Set the meta refresh tag to refresh the page periodically.</font></td>
92 pjm2 1.3 </tr>
93     <tr>
94 pjm2 1.4 <td valign="top" align="right">Hide user input form:</td>
95 pjm2 1.5 <td valign="top"><input type="checkbox" name="hideform" checked></td>
96 pjm2 1.4 <td valign="top"><font size="2">Hide the input box that is used to select other machines</font></td>
97 pjm2 1.3 </tr>
98     <tr>
99 pjm2 1.4 <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 pjm2 1.3 </tr>
103     <tr>
104 pjm2 1.4 <td valign="top" align="right">Small mode:</td>
105 pjm2 1.5 <td valign="top"><input type="checkbox" name="small" checked></td>
106 pjm2 1.4 <td valign="top"><font size="2">Set this to show only the most important information about each alert</font></td>
107 pjm2 1.3 </tr>
108     <tr>
109 pjm2 1.4 <td valign="top">&nbsp;</td>
110     <td valign="top">
111 pjm2 1.3 <input type="submit">
112     </td>
113 pjm2 1.4 <td valign="top">&nbsp;</td>
114 pjm2 1.3 </tr>
115     </table>
116 pjm2 1.1 </form>
117    
118 tdb 1.14 <?php include($bottomHTML); ?>