***********************
** FILE NAME : parameter_compare.php
** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring
-** VERSION NUMBER : $Revision: 1.6 $
+** VERSION NUMBER : $Revision: 1.7 $
**
** DESCRIPTION :
**
/*****************************
$Log: parameter_compare.php,v $
- Revision 1.6 2003-12-03 08:03:28 arjen
+ Revision 1.7 2007-11-21 14:38:06 arjen
+ The buttonbar at the top of each page is now a fixed 'div' element
+ instead of a framed page.
+ Contributed by Edwin Nadorp.
+
+ Revision 1.6 2003/12/03 08:03:28 arjen
Optionally show or hide removed parameters from the parameter
comparison page.
******************************/
-// RCSID = "$Id: parameter_compare.php,v 1.6 2003-12-03 08:03:28 arjen Exp $";
+// RCSID = "$Id: parameter_compare.php,v 1.7 2007-11-21 14:38:06 arjen Exp $";
ini_set('include_path', '.:./classes:../phpclasses');
echo "<tr><th>Name</th><th>Properties</th><th>Name</th><th>Propterties</th></tr>\n";
$hide_removed = true;
- $hide_removed = $_POST['show_removed'] != 'on';
+ $hide_removed = empty($_POST['show_removed']) || $_POST['show_removed'] != 'on';
$row = 0;
while ($row < pg_numrows($res))
display_parameter($nextpar->name, $prnext, $Style, $this->is_removed($nextpar->paramid));
display_parameter($par->name, $pr, $Style, $this->is_removed($par->paramid));
}
-
}
else
{