GOT NODES
"); +//print_r($nodes); + +$ConfigureColumns->fetch_live_data($nodes); + +$show_conf = explode(";",$show_configuration); +foreach ($show_conf as $ss) { + if ($ss =="columns") + $show_columns_message = '0'; +} + + + // build site_ids - interface_ids $site_ids=array(); $interface_ids=array(); @@ -159,7 +314,10 @@ $nifty=new PlekitNifty ('','objects-list','big'); $nifty->start(); $headers = array (); $offset=0; $notes=array(); +$notes [] = "For information about the different columns please see the node table layout tab above or mouse over the column headers"; + +/* // fixed columns if (plc_is_admin()) { $short="I"; $long="node_id"; $type='int'; @@ -183,15 +341,67 @@ $headers=array_merge($headers,$visibletags->headers()); $notes=array_merge($notes,$visibletags->notes()); $short="?"; $long="extra status info"; $type='string'; $headers[$short]=array('type'=>$type,'title'=>$long); $notes []= "$short = $long"; +*/ + +$info_header = array(); +$short="?"; $long="extra status info"; $type='string'; +$info_header[$short]=array('type'=>$type,'title'=>$long, 'label'=>'?', 'header'=>'?', 'visible'=>true); +//$notes []= "$short = $long"; +//$info_header["?"] = "none"; +$headers = array_merge($ConfigureColumns->get_headers(),$info_header); + +if ($first_time_configuration) +$column_conf_visible = '1'; +else +$column_conf_visible = '0'; + +$toggle_nodes=new PlekitToggle('nodes-column-configuration', + "Node table layout", + array('visible'=>$column_conf_visible, 'info_div'=>'note_columns_div')); +$toggle_nodes->start(); +print(""); +print(""); +print(""); +print(""); +print(""); +print(""); +print(""); +print("+This tab allows you to customize the columns in the node tables, below. Information on the nodes comes from a variety of monitoring sources. If you, as either a user or a provider of monitoring data, would like to see additional columns made available, please send us your request in mail to support@myslice.info. You can find more information about the MySlice project at http://trac.myslice.info. + | + |