mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 17:13:49 +00:00
SIP Status: Multilinguify sofia status column headings, only link gateway names in domain currently being managed.
This commit is contained in:
@@ -96,4 +96,23 @@
|
||||
$text['button-rescan']['pt-pt'] = "Redigitalize";
|
||||
$text['button-rescan']['fr-fr'] = "Rescan";
|
||||
|
||||
?>
|
||||
$text['label-name']['en-us'] = "Name";
|
||||
$text['label-name']['es-cl'] = "Nombre";
|
||||
$text['label-name']['pt-pt'] = "Nome";
|
||||
$text['label-name']['fr-fr'] = "Nom";
|
||||
|
||||
$text['label-type']['en-us'] = "Type";
|
||||
$text['label-type']['es-cl'] = "Tipo";
|
||||
$text['label-type']['pt-pt'] = "Tipo";
|
||||
$text['label-type']['fr-fr'] = "Type";
|
||||
|
||||
$text['label-data']['en-us'] = "Data";
|
||||
$text['label-data']['es-cl'] = "Datos";
|
||||
$text['label-data']['pt-pt'] = "Dados";
|
||||
$text['label-data']['fr-fr'] = "Données";
|
||||
|
||||
$text['label-state']['en-us'] = "State";
|
||||
$text['label-state']['es-cl'] = "Estado";
|
||||
$text['label-state']['fr-fr'] = "Etat";
|
||||
$text['label-state']['pt-pt'] = "Estado";
|
||||
?>
|
||||
@@ -136,10 +136,10 @@ if ($_GET['a'] == "download") {
|
||||
echo "<div id='sofia_status' style='margin-top: 20px; margin-bottom: 30px;'>";
|
||||
echo "<table width='100%' cellspacing='0' border='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th>Name</th>\n";
|
||||
echo "<th>Type</th>\n";
|
||||
echo "<th>Data</th>\n";
|
||||
echo "<th>State</th>\n";
|
||||
echo "<th>".$text['label-name']."</th>\n";
|
||||
echo "<th>".$text['label-type']."</th>\n";
|
||||
echo "<th>".$text['label-data']."</th>\n";
|
||||
echo "<th>".$text['label-state']."</th>\n";
|
||||
echo "</tr>\n";
|
||||
foreach ($xml->profile as $row) {
|
||||
echo "<tr>\n";
|
||||
@@ -161,7 +161,14 @@ if ($_GET['a'] == "download") {
|
||||
}
|
||||
}
|
||||
echo "<tr>\n";
|
||||
echo " <td class='".$row_style[$c]."'><a href='".PROJECT_PATH."/app/gateways/gateway_edit.php?id=".strtolower($row->name)."'>".$gateway_name."@".$gateway_domain_name."</a></td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>";
|
||||
if ($_SESSION["domain_name"] == $gateway_domain_name) {
|
||||
echo "<a href='".PROJECT_PATH."/app/gateways/gateway_edit.php?id=".strtolower($row->name)."'>".$gateway_name."@".$gateway_domain_name."</a>";
|
||||
}
|
||||
else {
|
||||
echo $gateway_name."@".$gateway_domain_name;
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$row->type."</td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$row->data."</td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$row->state."</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user