}
// xxx check the destination page
- header( "location: settings.php" );
- exit();
+ plc_redirect ("settings.php");
}
// tag type adds
$api->AddTagType( $setting_type );
// xxx check the destination page
- header( "location: settings.php" );
- exit();
+ plc_redirect ("settings.php");
}
// delete the tag
$api->DeleteInterfaceTag( $setting_id );
- header( "location: interfaces.php?id=$interface_id" );
- exit();
+ plc_redirect (l_interface($interface_id));
}
// tag adds
// add it!
$api->AddInterfaceTag( $interface_id, $interface_tag_type_id, $value );
- header( "location: interfaces.php?id=$interface_id" );
- exit();
+ plc_redirect (l_interface($interface_id));
}
// tag updates
// update it!
$api->UpdateInterfaceTag($setting_id, $value );
- header( "location: interfaces.php?id=$interface_id" );
- exit();
+ plc_redirect (l_interface($interface_id));
}
// Settings -------------------------------------------------
$api->DeleteTagType( $type_id );
// xxx check the destination page
- header( "location: settings.php" );
- exit();
+ plc_redirect ("settings.php" );
}
/*