<?php
/**************************************************************************
+** (c) Copyright 2003, Andromeda Technology & Automation
** This is free software; you can redistribute it and/or modify it under the
** terms of the GNU General Public License, see the file COPYING.
-***************************************************************************/
+***************************************************************************
+** MODULE INFORMATION *
+***********************
+** FILE NAME : parameter.php
+** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring
+** VERSION NUMBER : $Revision: 1.2 $
+**
+** DESCRIPTION :
+**
+** EXPORTED OBJECTS :
+** LOCAL OBJECTS :
+** MODULES USED :
+***************************************************************************
+** ADMINISTRATIVE INFORMATION *
+********************************
+** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
+** CREATION DATE : Dec 04, 2002
+** LAST UPDATE : Feb 03, 2003
+** MODIFICATIONS :
+**************************************************************************/
+
+/*****************************
+ $Log: parameter.php,v $
+ Revision 1.2 2003-02-05 09:47:39 arjen
+ Display the difference of all package class parameters for two objects
+
+******************************/
+
+// RCSID = "$Id: parameter.php,v 1.2 2003-02-05 09:47:39 arjen Exp $";
-/*
- *
- * Objects Administration page.
- * Input parameters: action (POST) : empty, 'Create'
- * objname (POST) : name of the object to create or remove
- */
session_start();
require_once('classes/gnucomo_config.php');
echo "<h1>Parameters for " . $obj->objectname . "</h1>";
$res = pg_exec("SELECT paramid, class, name, description FROM parameter "
- ."WHERE objectid=" . $_GET['oid']);
+ ."WHERE objectid=" . $_GET['oid'] . "order by class, name");
?>
<form action='parameter_compare.php' method='post'>
<input type='hidden' name='oid' value='<?php echo $_GET['oid'] ?>'>
Compare to object:
- <select>
+ <select name='compare_to'>
<?php object_selection($conn, $_GET['oid']); ?>
</select>
+ <input type='hidden' name='class' value='package'>
<input type='submit' value=' Show Difference'>
</form>
<?php