summaryrefslogtreecommitdiffstats
path: root/pages/Pages/Rename.c.xml
diff options
context:
space:
mode:
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>