From a55cccfbc9ba53fb4b4b28586cfeb9e5e035a6a7 Mon Sep 17 00:00:00 2001 From: neoraider Date: Sat, 14 Oct 2006 15:13:02 +0000 Subject: Deutsche Messages gefixt; Seitenverwaltung auf normale Seiten beschr?nkt. --- lang/de.inc.php | 2 +- pages/content/Pages.xml | 24 +++--------------------- pages/content/Pages:Copy.xml | 4 ++-- pages/content/Pages:Delete.xml | 4 ++-- pages/content/Pages:New.xml | 4 ++-- pages/content/Pages:Privs.xml | 4 ++-- pages/content/Pages:Rename.xml | 4 ++-- 7 files changed, 14 insertions(+), 32 deletions(-) diff --git a/lang/de.inc.php b/lang/de.inc.php index 2eaa333..47e7007 100644 --- a/lang/de.inc.php +++ b/lang/de.inc.php @@ -1,7 +1,7 @@ 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 '

Seiten

'; - $type = $_GET['type']; - if($type != 'c' && $type != 'n' && $type != 'e' && $type != 'b') $type = 'c'; - - echo 'Seitentyp: '; - echo 'Inhalt | '; - echo 'Navigation | '; - echo 'Editor | '; - echo 'Basis

'; - echo '
'; - echo ''; + echo ''; echo ''; echo '
'; - if($type == 'c') - echo ' '; + echo ' '; echo ' '; echo ' '; echo ' '; diff --git a/pages/content/Pages:Copy.xml b/pages/content/Pages:Copy.xml index 945ccb7..c848da2 100644 --- a/pages/content/Pages:Copy.xml +++ b/pages/content/Pages:Copy.xml @@ -16,7 +16,7 @@ exit(); if($_POST['back']) { - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); } @@ -24,7 +24,7 @@ $GLOBALS['pages']->Copy(Unquote($_POST['name']), $_POST['type'], Unquote($_POST['newname'])); - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); ?> ]]> diff --git a/pages/content/Pages:Delete.xml b/pages/content/Pages:Delete.xml index 36ef251..871a5f1 100644 --- a/pages/content/Pages:Delete.xml +++ b/pages/content/Pages:Delete.xml @@ -17,7 +17,7 @@ exit(); if($_POST['back']) { - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); } @@ -25,7 +25,7 @@ $GLOBALS['pages']->Delete(Unquote($_POST['name']), $_POST['type']); - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); ?> ]]> diff --git a/pages/content/Pages:New.xml b/pages/content/Pages:New.xml index 2c67f69..d260c8a 100644 --- a/pages/content/Pages:New.xml +++ b/pages/content/Pages:New.xml @@ -17,7 +17,7 @@ exit(); if($_POST['back']) { - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); } @@ -25,7 +25,7 @@ $GLOBALS['pages']->Add(Unquote($_POST['name']), $_POST['type'], Unquote($_POST['template'])); - $data = $GLOBALS['pages']->GetEditor(Unquote($_POST['name']), $_POST['type']); + $data = $GLOBALS['pages']->GetEditor(Unquote($_POST['name']), $_POST['type'], $GLOBALS['links']->GetNeonLink('Pages', null, false)); $title = $data['title']; diff --git a/pages/content/Pages:Privs.xml b/pages/content/Pages:Privs.xml index d75df63..693355b 100644 --- a/pages/content/Pages:Privs.xml +++ b/pages/content/Pages:Privs.xml @@ -17,7 +17,7 @@ exit(); if($_POST['back']) { - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); } @@ -51,7 +51,7 @@ $GLOBALS['pages']->SetAccess(Unquote($_POST['name']), $_POST['type'], array($readaccess, $writeaccess)); - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); ?> ]]> diff --git a/pages/content/Pages:Rename.xml b/pages/content/Pages:Rename.xml index f83cff6..6fddffa 100644 --- a/pages/content/Pages:Rename.xml +++ b/pages/content/Pages:Rename.xml @@ -17,7 +17,7 @@ exit(); if($_POST['back']) { - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); } @@ -25,7 +25,7 @@ $GLOBALS['pages']->Rename(Unquote($_POST['name']), $_POST['type'], Unquote($_POST['newname'])); - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); ?> ]]> -- cgit v1.2.3