$_roles= $_person['role_ids'];
+drupal_set_message ("xxx tag_action.php is deprecated - use planetlab/actions.php instead");
+return;
+
+
// TAGS -------------------------------------------------
// tag deletion
// delete the tag
$api->DeleteSliceTag( $tag_id );
-
- header( "location: index.php?id=$slice_id" );
- exit();
+ plc_redirect( "index.php?id=$slice_id" );
}
// update it!
$api->UpdateSliceTag( $tag_id, $value );
- header( "location: index.php?id=$slice_id" );
- exit();
+ plc_redirect( "index.php?id=$slice_id" );
}
// add it!
$api->AddSliceTag( $slice_id, $tag_type_id, $value );
- header( "location: index.php?id=$slice_id" );
- exit();
+ plc_redirect( "index.php?id=$slice_id" );
}
// TAG TYPES ---------------------------------------------------
// add it!!
$api->AddTagType( $tag_type_fields );
- header( "location: tags.php?type=slice" );
- exit();
+ plc_redirect( "tags.php?type=slice" );
}
// Update it!
$api->UpdateTagType( $tag_type_id, $tag_type_fields );
- header( "location: tags.php?type=slice" );
- exit();
+ plc_redirect( "tags.php?type=slice" );
}
// delete it!
$api->DeleteTagType( $type_id );
- header( "location: tags.php?type=slice" );
- exit();
+ plc_redirect( "tags.php?type=slice" );
}