From b7b98cef797baa5bb56eb4e6e3139143641f1816 Mon Sep 17 00:00:00 2001 From: luis daniel lucio quiroz Date: Wed, 25 Mar 2015 13:46:19 +0000 Subject: [PATCH] not short-tags on all project --- app/dialplan/dialplan_advanced.php | 11 ++++++----- app/operator_panel/index.php | 21 +++++++++++---------- app/traffic_graph/status_graph.php | 10 +++++----- app/vars/vars_textarea.php | 9 +++++---- themes/accessible/template.php | 4 ++-- themes/classic/template.php | 4 ++-- themes/default/template.php | 4 ++-- themes/minimized/template.php | 12 ++++++------ 8 files changed, 39 insertions(+), 36 deletions(-) diff --git a/app/dialplan/dialplan_advanced.php b/app/dialplan/dialplan_advanced.php index 6411c5a24a..407378f335 100644 --- a/app/dialplan/dialplan_advanced.php +++ b/app/dialplan/dialplan_advanced.php @@ -22,6 +22,7 @@ Contributor(s): Mark J Crane + Luis Daniel Lucio Quiroz */ include "root.php"; require_once "resources/require.php"; @@ -102,14 +103,14 @@ function sf() { document.forms[0].savetopath.focus(); } @@ -159,4 +160,4 @@ function sf() { document.forms[0].savetopath.focus(); } \ No newline at end of file +?> diff --git a/app/operator_panel/index.php b/app/operator_panel/index.php index 3a85312628..d2b52d28c0 100644 --- a/app/operator_panel/index.php +++ b/app/operator_panel/index.php @@ -22,6 +22,7 @@ Contributor(s): Mark J Crane + Luis Daniel Lucio Quiroz */ include "root.php"; require_once "resources/require.php"; @@ -181,7 +182,7 @@ require_once "resources/header.php"; } else { if (from_ext != to_ext) { // prevent user from dragging extention onto self - cmd = get_originate_cmd(from_ext+'@', to_ext); //make a call + cmd = get_originate_cmd(from_ext+'@', to_ext); //make a call } } @@ -193,11 +194,11 @@ require_once "resources/header.php"; //refresh controls function refresh_stop() { clearInterval(interval_timer_id); - document.getElementById('refresh_state').innerHTML = "\"<?=$text['label-refresh_enable']?\" title=\"\">"; + document.getElementById('refresh_state').innerHTML = "\"<?php\" title=\"\">"; } function refresh_start() { - if (document.getElementById('refresh_state')) { document.getElementById('refresh_state').innerHTML = "\"<?=$text['label-refresh_pause']?\" title=\"\">"; } + if (document.getElementById('refresh_state')) { document.getElementById('refresh_state').innerHTML = "\"<?php\" title=\"\">"; } interval_timer_id = setInterval( function() { url = source_url; url += '&vd_ext_from=' + document.getElementById('vd_ext_from').value; @@ -216,7 +217,7 @@ require_once "resources/header.php"; //call destination function call_destination(from_ext, destination) { if (destination != '') { - cmd = get_originate_cmd(from_ext+'@', destination); //make a call + cmd = get_originate_cmd(from_ext+'@', destination); //make a call } if (cmd != '') { send_cmd('exec.php?cmd='+escape(cmd)); @@ -280,22 +281,22 @@ require_once "resources/header.php"; } function get_transfer_cmd(uuid, destination) { - cmd = "uuid_transfer " + uuid + " " + destination + " XML "; + cmd = "uuid_transfer " + uuid + " " + destination + " XML "; return cmd; } function get_originate_cmd(source, destination) { - cmd = "bgapi originate {sip_auto_answer=true,origination_caller_id_number=" + destination + ",sip_h_Call-Info=_undef_}user/" + source + " " + destination + " XML "; + cmd = "bgapi originate {sip_auto_answer=true,origination_caller_id_number=" + destination + ",sip_h_Call-Info=_undef_}user/" + source + " " + destination + " XML "; return cmd; } function get_eavesdrop_cmd(ext, chan_uuid) { - cmd = "bgapi originate {origination_caller_id_name=,origination_caller_id_number=" + ext + "}user/"+(document.getElementById('eavesdrop_dest').value)+"@ &eavesdrop(" + chan_uuid + ")"; + cmd = "bgapi originate {origination_caller_id_name=,origination_caller_id_number=" + ext + "}user/"+(document.getElementById('eavesdrop_dest').value)+"@ &eavesdrop(" + chan_uuid + ")"; return cmd; } function get_record_cmd(uuid) { - cmd = "uuid_record " + uuid + " start /archive////" + uuid + ".wav"; + cmd = "uuid_record " + uuid + " start /archive////" + uuid + ".wav"; return cmd; } @@ -325,7 +326,7 @@ require_once "resources/header.php"; cmd = get_transfer_cmd(document.getElementById('vd_call_id').value, document.getElementById('vd_ext_to').value); //transfer a call } else { - cmd = get_originate_cmd(document.getElementById('vd_ext_from').value + '@', document.getElementById('vd_ext_to').value); //originate a call + cmd = get_originate_cmd(document.getElementById('vd_ext_from').value + '@', document.getElementById('vd_ext_to').value); //originate a call } if (cmd != '') { //alert(cmd); @@ -378,4 +379,4 @@ foreach ($_SESSION['user']['extension'] as $assigned_extensions) { \ No newline at end of file +?> diff --git a/app/traffic_graph/status_graph.php b/app/traffic_graph/status_graph.php index 5195248697..a8e7cb5a21 100644 --- a/app/traffic_graph/status_graph.php +++ b/app/traffic_graph/status_graph.php @@ -74,11 +74,11 @@ $document['title'] = $text['title-traffic_graph'];
-

- +

+

- ' onclick="window.location='dialplans.php'" value=''> - ' /> + ' onclick="window.location='dialplans.php'" value=''> + ' />
-

+

- : + :
- +

@@ -132,11 +132,11 @@ $document['title'] = $text['title-traffic_graph'];
- +


\ No newline at end of file +?> diff --git a/app/vars/vars_textarea.php b/app/vars/vars_textarea.php index 8cef46a96a..75c8bcd207 100644 --- a/app/vars/vars_textarea.php +++ b/app/vars/vars_textarea.php @@ -22,6 +22,7 @@ Contributor(s): Mark J Crane + Luis Daniel Lucio Quiroz */ include "root.php"; require_once "resources/require.php"; @@ -97,14 +98,14 @@ if ($_GET['a'] == "default" && permission_exists('var_edit')) { - @@ -160,4 +161,4 @@ if ($_GET['a'] == "default" && permission_exists('var_edit')) { \ No newline at end of file +?> diff --git a/themes/accessible/template.php b/themes/accessible/template.php index 588296cc81..b7813c7d26 100644 --- a/themes/accessible/template.php +++ b/themes/accessible/template.php @@ -420,7 +420,7 @@ table tr:last-child td:last-child { height: auto; background-color: #000; background-repeat: repeat-x; - background-image: url('/themes/accessible/images/background_black.png'); + background-image: url('/themes/accessible/images/background_black.png'); background-position: top center; padding: 10px; -webkit-border-radius: 0px 0px 7px 7px; @@ -470,7 +470,7 @@ function confirmdelete(url) { //--> - + - + - + @@ -1362,8 +1362,8 @@ legend {
+

- +

- +