Dialplan: Implemented bulk-delete.

Default Settings: Minor fixes and enhancements.
This commit is contained in:
Nate Jones
2014-07-31 09:21:16 +00:00
parent d7f189d07f
commit 0bc5a4870c
6 changed files with 136 additions and 75 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ else {
//set the variables
if (count($_GET) > 0) {
$dialplan_detail_uuid = check_str($_GET["id"]);
$app_uuid = check_str($_REQUEST["app_uuid"]);
$dialplan_uuid = check_str($_REQUEST["dialplan_uuid"]);
$app_uuid = check_str($_REQUEST["app_uuid"]);
}
//delete the dialplan detail
@@ -75,7 +75,7 @@ else {
$_SESSION['message'] = $text['message-delete'];
//redirect the browser
header("Location: dialplan_edit.php?id=".$dialplan_uuid."&app_uuid=".$app_uuid);
header("Location: dialplan_edit.php?id=".$dialplan_uuid.(($app_uuid != '') ? "&app_uuid=".$app_uuid : null));
exit;
?>