start work on nodelist page
[raven.git] / apps / gacksadmin / user_nodelist.php
1 <?php
2 \r
3 // Require login\r
4 require_once 'plc_login.php';\r
5 \r
6 // Get session and API handles\r
7 require_once 'plc_session.php';\r
8 global $plc, $api, $adm;\r
9 \r
10 // Common functions\r
11 require_once 'plc_functions.php';\r
12 require_once 'gacks_functions.php';\r
13 require_once 'gacksclient.php';\r
14 require_once 'linetabs.php';\r
15 require_once 'table.php';\r
16 require_once 'details.php';\r
17 require_once 'toggle.php';\r
18 require_once 'form.php';\r
19 \r
20 // find person roles\r
21 $_person= $plc->person;\r
22 $_person_id = $plc->person['person_id'];\r
23 $_roles= $_person['role_ids'];
24
25 // Print header
26 require_once 'plc_drupal.php';\r
27 drupal_set_title('Node Wizard');\r
28 include 'plc_header.php';
29
30 $tabs['Show Nodes'] = array('method'=>'POST',
31                            'url'=>l_gacks_nodelist(),\r
32                            'bubble'=>"Show nodes in your slice");
33
34 $tabs['Add Nodes'] = array('method'=>'POST',
35                            'url'=>l_gacks_wizard(),\r
36                            'bubble'=>"Add nodes to your slice");\r
37 \r
38 plekit_linetabs($tabs);
39
40 print "<br>";
41 $account_name = get_account_name($api, $_person_id);
42
43 if ($account_name != NULL) {
44 }
45
46 include 'plc_footer.php';
47 \r
48 ?>\r
49
50