Update registrations.php

This commit is contained in:
FusionPBX
2018-06-07 10:55:53 -06:00
committed by GitHub
parent 6e62c109ba
commit 7ec287246f

View File

@@ -271,21 +271,21 @@
echo "<tr>\n";
echo " <td valign='top' class='".$row_style[$c]." tr_link_void' style='vertical-align:middle; display: table-cell; align: center;'>\n";
echo " <input type='checkbox' name=\"registrations[$x][checked]\" id='checkbox_".$x."' value='true' onclick=\"if (!this.checked) { document.getElementById('chk_all_".$row['user']."').checked = false; }\">\n";
echo " <input type='hidden' name=\"registrations[$x][user]\" value='".$row['user']."' />\n";
echo " <input type='hidden' name=\"registrations[$x][profile]\" value='".$row['sip_profile_name']."' />\n";
echo " <input type='hidden' name=\"registrations[$x][agent]\" value='".$row['agent']."' />\n";
echo " <input type='hidden' name=\"registrations[$x][domain]\" value='".$row['sip-auth-realm']."' />\n";
echo " <input type='hidden' name=\"registrations[$x][user]\" value='".escape($row['user'])."' />\n";
echo " <input type='hidden' name=\"registrations[$x][profile]\" value='".escape($row['sip_profile_name'])."' />\n";
echo " <input type='hidden' name=\"registrations[$x][agent]\" value='".escape($row['agent'])."' />\n";
echo " <input type='hidden' name=\"registrations[$x][domain]\" value='".escape($row['sip-auth-realm'])."' />\n";
echo " </td>\n";
echo " <td class='".$row_style[$c]."'>".$row['user']."&nbsp;</td>\n";
echo " <td class='".$row_style[$c]."'>".escape($row['user'])."&nbsp;</td>\n";
echo " <td class='".$row_style[$c]."'>".htmlentities($row['agent'])."&nbsp;</td>\n";
echo " <td class='".$row_style[$c]."'>".explode('"',$row['contact'])[1]."</td>\n";
echo " <td class='".$row_style[$c]."'>".$row['lan-ip']."</td>\n";
echo " <td class='".$row_style[$c]."'>".$row['network-ip']."</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]."'>".$row['ping-time']."</td>\n";
echo " <td class='".$row_style[$c]."'>".$row['sip_profile_name']."</td>\n";
echo " <td class='".$row_style[$c]."'>".escape($row['lan-ip'])."</td>\n";
echo " <td class='".$row_style[$c]."'>".escape($row['network-ip'])."</td>\n";
echo " <td class='".$row_style[$c]."'>".escape($row['network-port'])."</td>\n";
echo " <td class='".$row_style[$c]."'>".escape($row['host'])."</td>\n";
echo " <td class='".$row_style[$c]."'>".escape($row['status'])."</td>\n";
echo " <td class='".$row_style[$c]."'>".escape($row['ping-time'])."</td>\n";
echo " <td class='".$row_style[$c]."'>".escape($row['sip_profile_name'])."</td>\n";
echo " <td class='".$row_style[$c]."' style='text-align: right;' nowrap='nowrap'>\n";
echo " <button type='submit' class='btn-default' name=\"registrations[$x][action]\" value='unregister'>".$text['button-unregister']."</button>\n";
echo " <button type='submit' class='btn-default' name=\"registrations[$x][action]\" value='provision'>".$text['button-provision']."</button>\n";