more inline updates & cleaned up tags
[plewww.git] / planetlab / sulogout.php
1 <?php
2 //
3 // Logout form
4 //
5 // Mark Huang <mlhuang@cs.princeton.edu>
6 // Copyright (C) 2006 The Trustees of Princeton University
7 //
8 // $Id$ $
9 //
10
11 // Get session and API handles
12 require_once 'plc_session.php';
13 global $plc, $api;
14
15 // Print header
16 require_once 'plc_drupal.php';
17 require_once 'plc_functions.php';
18
19 include 'plc_header.php';
20
21 // Invalidate session
22 if ($plc->person) {
23   $plc->BecomeSelf();
24 }
25
26
27 plc_redirect(l_persons());
28
29 ?>