Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ include "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; if (permission_exists('call_broadcast_send')) { //access granted } else { echo "access denied"; exit; } //add multi-lingual support $language = new text; $text = $language->get(); //get the html values and set them as variables $uuid = trim($_GET["id"]); if (is_uuid($uuid)) { //show the result if (count($_GET) > 0) { $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); if ($fp) { $cmd = "sched_del ".$uuid; $result = event_socket_request($fp, 'api '.$cmd); message::add(htmlentities($result)); } } //redirect header('Location: call_broadcast_edit.php?id='.$uuid); exit; } //default redirect header('Location: call_broadcasts.php'); exit; ?>