Unstack list control icons.
This commit is contained in:
parent
49756dc8ce
commit
450d4ffb8f
|
|
@ -110,8 +110,8 @@ require_once "resources/paging.php";
|
|||
echo th_order_by('menu_name', $text['label-name'], $order_by, $order);
|
||||
echo th_order_by('menu_language', $text['label-language'], $order_by, $order);
|
||||
echo th_order_by('menu_description', $text['label-description'], $order_by, $order);
|
||||
echo "<td align='right' width='42'>\n";
|
||||
echo " <a href='menu_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
|
||||
echo "<td class='list_control_icons'>";
|
||||
echo "<a href='menu_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||
echo "</td>\n";
|
||||
echo "<tr>\n";
|
||||
|
||||
|
|
@ -121,9 +121,9 @@ require_once "resources/paging.php";
|
|||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_name']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_language']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_description']." </td>\n";
|
||||
echo " <td valign='top' align='right'>\n";
|
||||
echo " <a href='menu_edit.php?id=".$row['menu_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
|
||||
echo " <a href='menu_delete.php?id=".$row['menu_uuid']."&menu_uuid=".$row['menu_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
echo "<a href='menu_edit.php?id=".$row['menu_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
echo "<a href='menu_delete.php?id=".$row['menu_uuid']."&menu_uuid=".$row['menu_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
if ($c==0) { $c=1; } else { $c=0; }
|
||||
|
|
@ -137,8 +137,8 @@ require_once "resources/paging.php";
|
|||
echo " <tr>\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='right'>\n";
|
||||
echo " <a href='menu_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
echo "<a href='menu_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo " </td>";
|
||||
echo " </tr>";
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "</div><br><br>";
|
||||
|
||||
//show the menu items
|
||||
require_once "core/menu/menu_item_list.php";
|
||||
|
|
|
|||
|
|
@ -140,12 +140,12 @@ function build_db_child_menu_list ($db, $menu_item_level, $menu_item_uuid, $c) {
|
|||
//}
|
||||
//echo "</td>";
|
||||
|
||||
echo " <td valign='top' align='right' nowrap>\n";
|
||||
echo " <td class='list_control_icons'>\n";
|
||||
if (permission_exists('menu_edit')) {
|
||||
echo " <a href='menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$row2['menu_item_uuid']."&menu_item_parent_uuid=".$row2['menu_item_parent_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
|
||||
echo "<a href='menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$row2['menu_item_uuid']."&menu_item_parent_uuid=".$row2['menu_item_parent_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
}
|
||||
if (permission_exists('menu_delete')) {
|
||||
echo " <a href='menu_item_delete.php?id=".$menu_uuid."&menu_item_uuid=".$row2['menu_item_uuid']."' onclick=\"return confirm('".$text['confirm-delete']."')\" alt='".$text['button-delete']."'>$v_link_label_delete</a>\n";
|
||||
echo "<a href='menu_item_delete.php?id=".$menu_uuid."&menu_item_uuid=".$row2['menu_item_uuid']."' onclick=\"return confirm('".$text['confirm-delete']."')\" alt='".$text['button-delete']."'>$v_link_label_delete</a>";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo "</tr>";
|
||||
|
|
@ -216,9 +216,9 @@ $order = $_GET["order"];
|
|||
echo "<th align='left'nowrap> ".$text['label-category']." </th>";
|
||||
echo "<th nowrap> ".$text['label-protected']." </th>";
|
||||
echo "<th nowrap width='70'> ".$text['label-menu_order']." </th>";
|
||||
echo "<td align='right' width='42'>\n";
|
||||
echo "<td class='list_control_icons'>";
|
||||
if (permission_exists('menu_add')) {
|
||||
echo " <a href='menu_item_edit.php?id=".$menu_uuid."' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
|
||||
echo "<a href='menu_item_edit.php?id=".$menu_uuid."' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||
}
|
||||
echo "</td>\n";
|
||||
echo "</tr>";
|
||||
|
|
@ -296,12 +296,12 @@ $order = $_GET["order"];
|
|||
//}
|
||||
//echo "</td>";
|
||||
|
||||
echo " <td valign='top' align='right' nowrap>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('menu_edit')) {
|
||||
echo " <a href='menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
|
||||
echo "<a href='menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
}
|
||||
if (permission_exists('menu_delete')) {
|
||||
echo " <a href='menu_item_delete.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."' onclick=\"return confirm('".$text['confirm-delete']."')\" alt='".$text['button-delete']."'>$v_link_label_delete</a>\n";
|
||||
echo "<a href='menu_item_delete.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."' onclick=\"return confirm('".$text['confirm-delete']."')\" alt='".$text['button-delete']."'>$v_link_label_delete</a>";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo "</tr>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue