2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Added extension to status screen

This commit is contained in:
Adam Zammit
2013-11-26 11:49:06 +11:00
parent 2bbe9ea06a
commit 5d812fa968

View File

@@ -84,7 +84,7 @@ print "<div class='text'>" . get_operator_time($operator_id,DATE_TIME_FORMAT) ."
if (is_voip_enabled($operator_id))
{
$ext = get_extension($operator_id);
$ext = get_extension($operator_id);
$exta = $ext;
//Get just the start of the extension for auto dial out
$exts = explode('/', $ext, 2);
@@ -94,7 +94,9 @@ if (is_voip_enabled($operator_id))
if (get_extension_status($operator_id))
print "<div class='online statusbutton'>" . T_("VoIP On") . "</div>";
else
print "<div class='offline statusbutton'><a href='voip/downloadvoipclient.php'>" . T_("VoIP Off") . "</a></div>";
print "<div class='offline statusbutton'><a href='voip/downloadvoipclient.php'>" . T_("VoIP Off") . "</a></div>";
print "<div class='statusbutton'>" . T_("Extension") . ": $ext</div>";
}
else
print "<div class='online statusbutton'>" . T_("No VoIP") . "</div>";