From 9c9d87e309311305b9f9cf7dad45e5bd4ab0dffb Mon Sep 17 00:00:00 2001 From: mxi1 Date: Thu, 16 Jul 2009 10:18:27 +0000 Subject: [PATCH] 1)The file "plugin_desc.php" is for the description of each plug-ins; 2) Add link to go to plugin_desc.php. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/monitor/monlist.php | 2 +- xCAT-UI/monitor/plugin_desc.php | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 xCAT-UI/monitor/plugin_desc.php diff --git a/xCAT-UI/monitor/monlist.php b/xCAT-UI/monitor/monlist.php index 9c948c5d3..cf7695ad4 100644 --- a/xCAT-UI/monitor/monlist.php +++ b/xCAT-UI/monitor/monlist.php @@ -19,7 +19,7 @@ if(!isset($TOPDIR)) { $TOPDIR="/opt/xcat/ui";} list($name, $stat) = preg_split("/\s+/", $data); echo << - $name + $name $stat diff --git a/xCAT-UI/monitor/plugin_desc.php b/xCAT-UI/monitor/plugin_desc.php new file mode 100644 index 000000000..f0c013724 --- /dev/null +++ b/xCAT-UI/monitor/plugin_desc.php @@ -0,0 +1,30 @@ + +monls failed: ", implode(' ',$errors), "

\n"; + exit; +} + +$information = ""; + +foreach ($xml->children() as $response) foreach ($response->children() as $data) { + $information .= $data; + $information .= "\n"; + //print_r($data); +} +echo $information; +?> +