mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update registrations.php
This commit is contained in:
@@ -138,7 +138,7 @@
|
||||
|
||||
//show the error message or show the content
|
||||
if (strlen($msg) > 0) {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<div style='align: center'>\n";
|
||||
echo "<table width='40%'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th align='left'>".$text['label-message']."</th>\n";
|
||||
@@ -190,7 +190,7 @@
|
||||
echo "<td width='100%'>\n";
|
||||
echo " <b>".$text['header-registrations']." (".$registration_count.")</b>\n";
|
||||
echo "</td>\n";
|
||||
echo "<td valign='middle' nowrap='nowrap' style='padding-right: 15px'>";
|
||||
echo "<td nowrap='nowrap' style='padding-right: 15px;'>";
|
||||
//echo " <form method='get' action=''>\n";
|
||||
echo " <input type='text' class='txt' style='width: 150px' name='search' id='search' value='".$search."'>";
|
||||
echo " <input type='hidden' name='show' value='".$show."'>";
|
||||
@@ -215,8 +215,8 @@
|
||||
|
||||
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <th style='width:30px;'>\n";
|
||||
echo " <input type='checkbox' name='checkbox_all' id='checkbox_all' value='' onclick=\"checkbox_toggle();\">\n";
|
||||
echo " <th style='width:30px; vertical-align:middle; display: table-cell;'>\n";
|
||||
echo " <input type='checkbox' name='checkbox_all' id='checkbox_all' style='' value='' onclick=\"checkbox_toggle();\">";
|
||||
echo " </th>\n";
|
||||
echo " <th>".$text['label-user']."</th>\n";
|
||||
echo " <th>".$text['label-agent']."</th>\n";
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
//show the registrations
|
||||
echo "<tr>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]." tr_link_void' style='align: center; padding: 3px 3px 0px 8px;'>\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";
|
||||
|
||||
Reference in New Issue
Block a user