Update call_center_active.php
This commit is contained in:
parent
92ba5e1529
commit
7c62ff196d
|
|
@ -17,15 +17,19 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2017
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
|
||||
//includes
|
||||
include "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check permissions
|
||||
if (permission_exists('call_center_active_view')) {
|
||||
//access granted
|
||||
}
|
||||
|
|
@ -40,11 +44,13 @@ else {
|
|||
|
||||
//get the queue_name and set it as a variable
|
||||
$queue_name = $_GET[queue_name];
|
||||
$queue_name = str_replace(" ", "-", $queue_name);
|
||||
|
||||
//get the header
|
||||
require_once "resources/header.php";
|
||||
$document['title'] = $text['title-call_center_queue_activity'];
|
||||
|
||||
//add the ajax
|
||||
?><script type="text/javascript">
|
||||
function loadXmlHttp(url, id) {
|
||||
var f = this;
|
||||
|
|
@ -111,8 +117,12 @@ function send_cmd(url) {
|
|||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
//show the response
|
||||
echo " <div id='ajax_response'></div>\n";
|
||||
echo "<br><br>";
|
||||
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue