summaryrefslogtreecommitdiffstats
path: root/pages/content/Pages.xml
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-10-14 17:13:02 +0200
committerneoraider <devnull@localhost>2006-10-14 17:13:02 +0200
commita55cccfbc9ba53fb4b4b28586cfeb9e5e035a6a7 (patch)
tree107eecff2176d1e531ecf102f168d3117bd88c16 /pages/content/Pages.xml
parent460c7f2127b5ae1f5562ff503edf5c69ff7be01b (diff)
downloadneon-a55cccfbc9ba53fb4b4b28586cfeb9e5e035a6a7.tar
neon-a55cccfbc9ba53fb4b4b28586cfeb9e5e035a6a7.zip
Deutsche Messages gefixt;
Seitenverwaltung auf normale Seiten beschr?nkt.
Diffstat (limited to 'pages/content/Pages.xml')
-rw-r--r--pages/content/Pages.xml24
1 files changed, 3 insertions, 21 deletions
diff --git a/pages/content/Pages.xml b/pages/content/Pages.xml
index bbf0b07..e72368f 100644
--- a/pages/content/Pages.xml
+++ b/pages/content/Pages.xml
@@ -17,37 +17,19 @@
echo '<h2>Seiten</h2>';
- $type = $_GET['type'];
- if($type != 'c' && $type != 'n' && $type != 'e' && $type != 'b') $type = 'c';
-
- echo 'Seitentyp: ';
- echo '<a href="' . $GLOBALS['links']->GetNeonLink('Pages', 'type=c') . '"';
- if($type == 'c') echo ' class="active_page_link"';
- echo '>Inhalt</a> | ';
- echo '<a href="' . $GLOBALS['links']->GetNeonLink('Pages', 'type=n') . '"';
- if($type == 'n') echo ' class="active_page_link"';
- echo '>Navigation</a> | ';
- echo '<a href="' . $GLOBALS['links']->GetNeonLink('Pages', 'type=e') . '"';
- if($type == 'e') echo ' class="active_page_link"';
- echo '>Editor</a> | ';
- echo '<a href="' . $GLOBALS['links']->GetNeonLink('Pages', 'type=b') . '"';
- if($type == 'b') echo ' class="active_page_link"';
- echo '>Basis</a><br /><br />';
-
echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Handle') . '">';
- echo '<input type="hidden" name="type" value="' . $type . '" />';
+ echo '<input type="hidden" name="type" value="c" />';
echo '<select name="name" size="15" class="pagelist spaced-bottom">';
foreach($GLOBALS['pages']->GetList() as $page)
- if($page[strlen($page)-1] == $type)
+ if($page[strlen($page)-1] == 'c')
echo '<option>' . substr($page, 0, -2) . '</option>';
echo '</select>';
echo '<br />';
- if($type == 'c')
- echo '<input type="submit" name="view" value="Anzeigen" /> ';
+ echo '<input type="submit" name="view" value="Anzeigen" /> ';
echo '<input type="submit" name="new" value="Neu" /> ';
echo '<input type="submit" name="edit" value="Bearbeiten" /> ';
echo '<input type="submit" name="privs" value="Rechte ändern" /> ';