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

Comparing projects/cms/source/reports/php/alerts/alerts.php (file contents):
Revision 1.39 by tdb, Fri Mar 11 16:54:04 2005 UTC vs.
Revision 1.40 by tdb, Sat Jun 30 11:24:37 2007 UTC

# Line 212 | Line 212 | EOT;
212  
213   ?>
214  
215 < <? include($titleHTML); ?>
215 > <?php include($titleHTML); ?>
216  
217 < <? if ($hideform != "on") { ?>
217 > <?php if ($hideform != "on") { ?>
218  
219 < <? printLine("Latest alerts for hosts"); ?>
219 > <?php printLine("Latest alerts for hosts"); ?>
220  
221 < <form method="<? echo $formMethod ?>" action="<? echo $thisPage ?>">
222 < <?
221 > <form method="<?php echo $formMethod ?>" action="<?php echo $thisPage ?>">
222 > <?php
223  
224      $file_array = getdirArray($alertDirectory,'asort');
225      print "<select size=\"1\" name=\"machine\">";
226      if ($machine) { ?>
227 <        <option selected value="<? echo $machine ?>"><? echo $machine ?></option>
227 >        <option selected value="<?php echo $machine ?>"><?php echo $machine ?></option>
228          <option value="">----------------</option>
229 <    <? }
229 >    <?php }
230      foreach ($file_array as $file_name) {
231          #if (is_dir($file_name)) {
232              print "<option value=\"$file_name\">$file_name</option>";
# Line 235 | Line 235 | EOT;
235      print "</select>";
236  
237   ?>
238 < <input type="hidden" name="small" value="<?=$small?>">
238 > <input type="hidden" name="small" value="<?php=$small?>">
239   <input type="submit" name="submit" value="Display">
240   </form>
241  
242 < <? } ?>
242 > <?php } ?>
243  
244 < <? if ($machine) {
244 > <?php if ($machine) {
245  
246         printLine("");
247  
# Line 283 | Line 283 | EOT;
283  
284   ?>
285  
286 < <? include($bottomHTML); ?>
286 > <?php include($bottomHTML); ?>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines