X-Git-Url: http://git.onelab.eu/?p=plewww.git;a=blobdiff_plain;f=planetlab%2Fsites%2Fsite.php;h=dc10a90ee7b61f5dd01d23c2614d8d7f970e02ee;hp=760cb0eb81f62b91955ff6294b085b73d1c9c56c;hb=1ce86fd37ce8da9b475847a59394c0241a8dbbff;hpb=2acd8f63883ad55c2c3c204d3b11db86da3417d2 diff --git a/planetlab/sites/site.php b/planetlab/sites/site.php index 760cb0e..dc10a90 100644 --- a/planetlab/sites/site.php +++ b/planetlab/sites/site.php @@ -172,7 +172,7 @@ $can_update=(plc_is_admin () && $local_peer) || ( plc_in_site($site_id) && plc_ $toggle = new PlekitToggle ('site',"Details", - array('visible'=>get_arg('show_details',true), + array('visible'=>get_arg('show_details'), 'bubble'=>'Display and modify details for that site')); $toggle->start(); @@ -237,7 +237,7 @@ if ( $local_peer ) { $nodes_title .= href(l_nodes_site($site_id)," (See as nodes)"); $toggle=new PlekitToggle ('nodes',$nodes_title, - array('visible'=>get_arg('show_nodes',true))); + array('visible'=>get_arg('show_nodes'))); $toggle->start(); $headers=array(); @@ -310,7 +310,7 @@ if ( $local_peer ) { $persons_title .= href(l_persons_site($site_id)," (See as users)"); $toggle=new PlekitToggle ('persons',$persons_title, - array('visible'=>get_arg('show_persons',false))); + array('visible'=>get_arg('show_persons'))); $toggle->start(); $headers = array (); @@ -348,7 +348,7 @@ if ( $local_peer ) { $slices_title .= href(l_slices_site($site_id)," (See as slices)"); $toggle=new PlekitToggle ('slices',$slices_title, - array('visible'=>get_arg('show_slices',false))); + array('visible'=>get_arg('show_slices'))); $toggle->start(); $headers = array (); @@ -384,7 +384,7 @@ if ( $local_peer ) { //////////////////// Addresses $toggle=new PlekitToggle ('addresses',"Addresses", - array('visible'=>get_arg('show_addresses',false))); + array('visible'=>get_arg('show_addresses'))); $toggle->start(); if ( ! $addresses) { print "

No known address for this site

";