mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add hostname to registrations
This commit is contained in:
@@ -101,6 +101,11 @@
|
||||
$text['label-agent']['pt-pt'] = "Agente";
|
||||
$text['label-agent']['fr-fr'] = "Agent";
|
||||
|
||||
$text['label-hostname']['en-us'] = "Hostname";
|
||||
$text['label-hostname']['es-cl'] = "Hostname";
|
||||
$text['label-hostname']['pt-pt'] = "Hostname";
|
||||
$text['label-hostname']['fr-fr'] = "Nom d'hôte";
|
||||
|
||||
$text['label-ip']['en-us'] = "IP";
|
||||
$text['label-ip']['es-cl'] = "IP";
|
||||
$text['label-ip']['pt-pt'] = "IP";
|
||||
|
||||
@@ -150,6 +150,7 @@ require_once "resources/check_auth.php";
|
||||
echo " <th>".$text['label-agent']."</th>\n";
|
||||
echo " <th>".$text['label-ip']."</th>\n";
|
||||
echo " <th>".$text['label-port']."</th>\n";
|
||||
echo " <th>".$text['label-hostname']."</th>\n";
|
||||
echo " <th>".$text['label-status']."</th>\n";
|
||||
echo " <th>".$text['label-tools']." </th>\n";
|
||||
echo "</tr>\n";
|
||||
@@ -171,6 +172,7 @@ require_once "resources/check_auth.php";
|
||||
echo " <td class='".$row_style[$c]."'>".htmlentities($row['agent'])." </td>\n";
|
||||
echo " <td class='".$row_style[$c]."'><a href='http://".$row['network-ip']."' target='_blank'>".$row['network-ip']."</a> </td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$row['network-port']." </td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$row['host']." </td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$row['status']." </td>\n";
|
||||
echo " <td class='".$row_style[$c]."' style='text-align: right;' nowrap='nowrap'>\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-unregister']."' onclick=\"document.location.href='cmd.php?cmd=unregister&profile=".$sip_profile_name."&show=".$show."&user=".$row['user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" />\n";
|
||||
|
||||
Reference in New Issue
Block a user