From: Thierry Parmentelat Date: Tue, 13 Jan 2009 21:34:57 +0000 (+0000) Subject: use abstraction for building menu-like stuff based on minitab X-Git-Tag: PLEWWW-4.3-1~120 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9add0d040b751a690014d61f6652d3c5f0de82e7;p=plewww.git use abstraction for building menu-like stuff based on minitab --- diff --git a/planetlab/includes/plc_minitab.php b/planetlab/includes/plc_minitab.php new file mode 100644 index 0000000..67c32cf --- /dev/null +++ b/planetlab/includes/plc_minitab.php @@ -0,0 +1,16 @@ +'; + print ''; + print ''; + print "\n"; + print "
\n"; +} + +?> diff --git a/planetlab/nodes/newindex.php b/planetlab/nodes/newindex.php index 4350ddc..11cbe98 100644 --- a/planetlab/nodes/newindex.php +++ b/planetlab/nodes/newindex.php @@ -47,22 +47,15 @@ $tablesize=25; drupal_set_title('Nodes'); -?> - -
- -
- - - -"/db/nodes/index.php", + "About"=>"/db/about.php", + "Logout"=>"/planetlab/logout.php", + "And other buttons"=>"http://www.google.com", + "For demo purposes"=>"/undefined"); +plc_show_options($minitab); +// -------------------- $peer_filter=array(); // fetch nodes - use nodepattern for server-side filtering @@ -226,4 +219,3 @@ Notes: Enter & or | in the search area to alternate between AND and
Hold down the shift key to select multiple columns to sort

-