mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Visual adjustments.
This commit is contained in:
@@ -26,6 +26,16 @@
|
||||
Philippe Rioual <bhouba@gmail.com>
|
||||
*/
|
||||
|
||||
$text['title-sip-status']['en-us'] = "SIP Status";
|
||||
$text['title-sip-status']['es-cl'] = "SIP Estado";
|
||||
$text['title-sip-status']['pt-pt'] = "SIP Estado";
|
||||
$text['title-sip-status']['fr-fr'] = "SIP État";
|
||||
|
||||
$text['header-sip-status']['en-us'] = "SIP Status";
|
||||
$text['header-sip-status']['es-cl'] = "SIP Estado";
|
||||
$text['header-sip-status']['pt-pt'] = "SIP Estado";
|
||||
$text['header-sip-status']['fr-fr'] = "SIP État";
|
||||
|
||||
$text['error-event-socket']['en-us'] = "Connection to Event Socket failed.";
|
||||
$text['error-event-socket']['es-cl'] = "Conexión a Socket de Eventos fallida.";
|
||||
$text['error-event-socket']['pt-pt'] = "A ligação ao Event Socket falhou.";
|
||||
|
||||
@@ -72,6 +72,7 @@ if ($_GET['a'] == "download") {
|
||||
|
||||
//show the content
|
||||
require_once "resources/header.php";
|
||||
$document['title'] = $text['title-sip-status'];
|
||||
|
||||
$msg = $_GET["savemsg"];
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
@@ -99,7 +100,7 @@ if ($_GET['a'] == "download") {
|
||||
$gateways = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||
unset ($prep_statement, $sql);
|
||||
|
||||
//get the sip profiles
|
||||
//get the sip profiles
|
||||
$sql = "select sip_profile_name from v_sip_profiles ";
|
||||
$sql .= "order by sip_profile_name asc ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
@@ -117,11 +118,11 @@ if ($_GET['a'] == "download") {
|
||||
catch(Exception $e) {
|
||||
echo $e->getMessage();
|
||||
}
|
||||
echo "<br />\n";
|
||||
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' style='margin-bottom: 10px;'>\n";
|
||||
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td width='50%'>\n";
|
||||
echo " <b><a href='javascript:void(0);' onclick=\"$('#sofia_status').slideToggle();\">".$text['title-sofia-status']."</a></b> \n";
|
||||
echo " <b>".$text['header-sip-status']."</b>";
|
||||
echo " <br><br>";
|
||||
echo "</td>\n";
|
||||
echo "<td width='50%' align='right'>\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-flush_memcache']."' onclick=\"document.location.href='cmd.php?cmd=api+memcache+flush';\" />\n";
|
||||
@@ -131,6 +132,12 @@ if ($_GET['a'] == "download") {
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' style='margin-bottom: 10px;'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td><b><a href='javascript:void(0);' onclick=\"$('#sofia_status').slideToggle();\">".$text['title-sofia-status']."</a></b></td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
echo "<div id='sofia_status' style='margin-top: 20px; margin-bottom: 30px;'>";
|
||||
echo "<table width='100%' cellspacing='0' border='0'>\n";
|
||||
echo "<tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user