person; $_roles= $_person['role_ids']; if( !empty( $_POST['add_sub'] ) ) { $tag_type= $_POST['sliver']; $value= $_POST['value']; $node_id= $_POST['node_id']; $slice_id= $_POST['slice_id']; $api->AddSliceTag( intval( $slice_id ), intval( $tag_type ), $value, intval( $node_id ) ); header( "location: slivers.php?slice=$slice_id&node=$node_id" ); exit(); } // if( $_GET['rem_id'] ) { $tag_id= $_GET['rem_id']; // get the slivers for this node $sliver_info= $api->GetSliceTags( array( "slice_tag_id"=>intval( $tag_id ) ), array( "slice_id", "node_id" ) ); $api->DeleteSliceTag( intval( $tag_id ) ); header( "location: slivers.php?slice=". $sliver_info[0]['slice_id'] ."&node=". $sliver_info[0]['node_id'] ); exit(); } /* // Print footer include 'plc_footer.php'; */ ?>