From 415243607829013d91b23b40608507fcd76b307b Mon Sep 17 00:00:00 2001 From: neoraider Date: Thu, 13 Apr 2006 00:45:02 +0000 Subject: Seiten-Verwaltung vollkommen ?berarbeitet. --- pages/Privileges.c.xml | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 pages/Privileges.c.xml (limited to 'pages/Privileges.c.xml') diff --git a/pages/Privileges.c.xml b/pages/Privileges.c.xml new file mode 100644 index 0000000..7374abb --- /dev/null +++ b/pages/Privileges.c.xml @@ -0,0 +1,89 @@ + + + + Privileges + + 00 + c + + + + Rechte'; + + $type = $_GET['type']; + if($type != 'c' && $type != 'n' && $type != 'e') $type = 'c'; + + echo 'Seitentyp: '; + echo 'Inhalt | '; + echo 'Navigation | '; + echo 'Editor

'; + + echo '
'; + + echo ''; + + echo ''; + + $groupres = $GLOBALS['db']->Execute('SELECT * FROM groups ORDER BY id'); + $pages = $GLOBALS['pages']->GetList(); + + $groups = $groupres->GetArray(); + array_unshift($groups, array(0, 'Gast')); + + echo ''; + + echo ''; + + foreach($groups as $group) { + echo ''; + } + + echo ''; + + $linex = true; + + foreach($pages as $page) { + if($page[strlen($page)-1] != $type) continue; + + $pagedata = $GLOBALS['pages']->GetPageData(substr($page, 0, -2), $type); + + echo ''; + $linex = !$linex; + + echo ''; + + foreach($groups as $group) { + echo ''; + } + + echo ''; + } + + echo ''; + + echo '
' . $group[1] . '
' . $pagedata['name'] . '
'; + echo ''; + echo '
'; + + echo '
'; +?> + ]]> +
+
+
-- cgit v1.2.3