From 70c21a4f102d184806fcd6f89626f77141d71d28 Mon Sep 17 00:00:00 2001 From: aschwarz Date: Mon, 3 Apr 2023 15:15:44 +0200 Subject: [PATCH] Navigation korrigiert --- dashboard/nav.php | 3 ++- templates/modern/dashboard/nav.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dashboard/nav.php b/dashboard/nav.php index 4cdd85e..d42e87f 100644 --- a/dashboard/nav.php +++ b/dashboard/nav.php @@ -76,13 +76,14 @@ while ($row = $result->fetch_array()) { FROM jumi_menu_entries WHERE mhid=$row2[mhid] AND sup != meid + AND sup = $row2[sup] AND meid IN (SELECT DISTINCT meid FROM jumi_admin_rollen_rechte_zuord a, jumi_admin_rollen_user_zuord b WHERE a.rid = b.rid AND b.uid = $uid) ORDER BY meid ASC "; - +#echo "







----------------------------------------$query3
"; $result3 = $db->query($query3) or die("Cannot execute query3"); $ln3 = 0; diff --git a/templates/modern/dashboard/nav.html b/templates/modern/dashboard/nav.html index 474bd84..8391bbc 100644 --- a/templates/modern/dashboard/nav.html +++ b/templates/modern/dashboard/nav.html @@ -8,7 +8,7 @@ {/if} {section name=inner loop=$table_data[table_data].inner} {if $table_data[table_data].inner[inner].link == '#'} - {/if} @@ -20,7 +20,7 @@ {section name=inner2 loop=$table_data[table_data].inner[inner].inner2} {if $smarty.section.inner2.rownum == 1} -
+