Unstack list control icons. Fixed css class on user select box.
This commit is contained in:
@@ -561,10 +561,10 @@ else {
|
|||||||
echo " <td>\n";
|
echo " <td>\n";
|
||||||
//echo " <input type=\"submit\" class='btn' value=\"".$text['button-add']."\">\n";
|
//echo " <input type=\"submit\" class='btn' value=\"".$text['button-add']."\">\n";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " <td nowrap='nowrap'>\n";
|
echo " <td class='list_control_icons' style='width: 25px;'>";
|
||||||
if (strlen($row['ring_group_destination_uuid']) > 0) {
|
if (strlen($row['ring_group_destination_uuid']) > 0) {
|
||||||
//echo " <a href='ring_group_destination_edit.php?id=".$row['ring_group_destination_uuid']."&ring_group_uuid=".$row['ring_group_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
|
//echo "<a href='ring_group_destination_edit.php?id=".$row['ring_group_destination_uuid']."&ring_group_uuid=".$row['ring_group_uuid']."' alt='edit'>$v_link_label_edit</a>";
|
||||||
echo " <a href='ring_group_destination_delete.php?id=".$row['ring_group_destination_uuid']."&ring_group_uuid=".$row['ring_group_uuid']."&a=delete' alt='delete' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
|
echo "<a href='ring_group_destination_delete.php?id=".$row['ring_group_destination_uuid']."&ring_group_uuid=".$row['ring_group_uuid']."&a=delete' alt='delete' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||||
}
|
}
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
@@ -682,7 +682,7 @@ else {
|
|||||||
$sql .= "order by username asc ";
|
$sql .= "order by username asc ";
|
||||||
$prep_statement = $db->prepare(check_sql($sql));
|
$prep_statement = $db->prepare(check_sql($sql));
|
||||||
$prep_statement->execute();
|
$prep_statement->execute();
|
||||||
echo " <select name=\"user_uuid\" class='frm'>\n";
|
echo " <select name=\"user_uuid\" class='formfld' style='width: auto;'>\n";
|
||||||
echo " <option value=\"\"></option>\n";
|
echo " <option value=\"\"></option>\n";
|
||||||
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||||
foreach($result as $field) {
|
foreach($result as $field) {
|
||||||
|
|||||||
@@ -87,9 +87,9 @@ require_once "resources/paging.php";
|
|||||||
$rows_per_page = 150;
|
$rows_per_page = 150;
|
||||||
$param = "";
|
$param = "";
|
||||||
$page = $_GET['page'];
|
$page = $_GET['page'];
|
||||||
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
||||||
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
|
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
|
||||||
$offset = $rows_per_page * $page;
|
$offset = $rows_per_page * $page;
|
||||||
|
|
||||||
//get the list
|
//get the list
|
||||||
$sql = "select * from v_ring_groups ";
|
$sql = "select * from v_ring_groups ";
|
||||||
@@ -118,9 +118,9 @@ require_once "resources/paging.php";
|
|||||||
//echo th_order_by('ring_group_timeout_data', 'Timeout Data', $order_by, $order);
|
//echo th_order_by('ring_group_timeout_data', 'Timeout Data', $order_by, $order);
|
||||||
echo th_order_by('ring_group_enabled', $text['label-enabled'], $order_by, $order);
|
echo th_order_by('ring_group_enabled', $text['label-enabled'], $order_by, $order);
|
||||||
echo th_order_by('ring_group_description', $text['label-description'], $order_by, $order);
|
echo th_order_by('ring_group_description', $text['label-description'], $order_by, $order);
|
||||||
echo "<td align='right' width='42'>\n";
|
echo "<td class='list_control_icons'>";
|
||||||
if (permission_exists('ring_group_add')) {
|
if (permission_exists('ring_group_add')) {
|
||||||
echo " <a href='ring_group_edit.php' alt='add'>$v_link_label_add</a>\n";
|
echo "<a href='ring_group_edit.php' alt='add'>$v_link_label_add</a>";
|
||||||
}
|
}
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
@@ -137,12 +137,12 @@ require_once "resources/paging.php";
|
|||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['ring_group_timeout_data']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['ring_group_timeout_data']." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['ring_group_enabled']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['ring_group_enabled']." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['ring_group_description']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['ring_group_description']." </td>\n";
|
||||||
echo " <td valign='top' align='right'>\n";
|
echo " <td class='list_control_icons'>";
|
||||||
if (permission_exists('ring_group_edit')) {
|
if (permission_exists('ring_group_edit')) {
|
||||||
echo " <a href='ring_group_edit.php?id=".$row['ring_group_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
|
echo "<a href='ring_group_edit.php?id=".$row['ring_group_uuid']."' alt='edit'>$v_link_label_edit</a>";
|
||||||
}
|
}
|
||||||
if (permission_exists('ring_group_delete')) {
|
if (permission_exists('ring_group_delete')) {
|
||||||
echo " <a href='ring_group_delete.php?id=".$row['ring_group_uuid']."' alt='delete' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
|
echo "<a href='ring_group_delete.php?id=".$row['ring_group_uuid']."' alt='delete' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||||
}
|
}
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
@@ -157,9 +157,9 @@ require_once "resources/paging.php";
|
|||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td width='33.3%' nowrap> </td>\n";
|
echo " <td width='33.3%' nowrap> </td>\n";
|
||||||
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
|
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
|
||||||
echo " <td width='33.3%' align='right'>\n";
|
echo " <td class='list_control_icons'>";
|
||||||
if (permission_exists('ring_group_add')) {
|
if (permission_exists('ring_group_add')) {
|
||||||
echo " <a href='ring_group_edit.php' alt='add'>$v_link_label_add</a>\n";
|
echo "<a href='ring_group_edit.php' alt='add'>$v_link_label_add</a>";
|
||||||
}
|
}
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user