remove utf8_decode
[plewww.git] / planetlab / tags / index.php
index 8d27beb..0f9ba17 100644 (file)
@@ -1,28 +1,11 @@
 <?php
 
+// $Id$
+
 // Require login
 require_once 'plc_login.php';
 
-// Get session and API handles
-require_once 'plc_session.php';
-global $plc, $api;
-
-// Print header
-require_once 'plc_drupal.php';
-include 'plc_header.php';
-
-// Common functions
-require_once 'plc_functions.php';
-
-if ( $_GET['action'] ) {
-  include 'tag_edit.php';
- } else if ( ! $_GET['add'] ) {
-  include 'tags.php';
- } else {
-  include 'tag_set.php';
- }
-
-// Print footer
-include 'plc_footer.php';
+if ($_GET['id']) require ('tag.php') ;
+else             require ('tags.php');
 
 ?>