summaryrefslogtreecommitdiffstats
path: root/pages/Pages/Rename.c.xml
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-04-18 01:17:05 +0200
committerneoraider <devnull@localhost>2006-04-18 01:17:05 +0200
commite7359ccf2db89b1feec820d1c97583f720ae0d7a (patch)
tree4321a817497f064457c184364a9a2745bf5bd629 /pages/Pages/Rename.c.xml
parent1a78cfbd3315897aa84b7a5d6735d54d94a590a1 (diff)
downloadneon-e7359ccf2db89b1feec820d1c97583f720ae0d7a.tar
neon-e7359ccf2db89b1feec820d1c97583f720ae0d7a.zip
Seiten verschoben.
Diffstat (limited to 'pages/Pages/Rename.c.xml')
-rw-r--r--pages/Pages/Rename.c.xml36
1 files changed, 0 insertions, 36 deletions
diff --git a/pages/Pages/Rename.c.xml b/pages/Pages/Rename.c.xml
deleted file mode 100644
index 236b709..0000000
--- a/pages/Pages/Rename.c.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<page>
- <info>
- <name>Pages:Rename</name>
- <template>phpexec</template>
- <access>0:0</access>
- <type>c</type>
- </info>
- <data>
- <code>
- <![CDATA[
-<?PHP
- require_once('code/pages.inc.php');
- require_once('code/links.inc.php');
- require_once('code/util.inc.php');
-
-
- if($_POST['type'] != 'c' && $_POST['type'] != 'n' && $_POST['type'] != 'e')
- exit();
-
- if($_POST['back']) {
- header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false));
- exit();
- }
-
- if(!$_POST['name'] || !$_POST['newname']) exit();
-
- $GLOBALS['pages']->Rename(Unquote($_POST['name']), $_POST['type'], Unquote($_POST['newname']));
-
- header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false));
- exit();
-?>
- ]]>
- </code>
- </data>
-</page>