summaryrefslogtreecommitdiffstats
path: root/pages/content/Pages:Copy.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pages/content/Pages:Copy.xml')
-rw-r--r--pages/content/Pages:Copy.xml33
1 files changed, 0 insertions, 33 deletions
diff --git a/pages/content/Pages:Copy.xml b/pages/content/Pages:Copy.xml
deleted file mode 100644
index a8925f2..0000000
--- a/pages/content/Pages:Copy.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<page>
- <info>
- <name>Pages:Copy</name>
- <template>phpexec</template>
- <access>0:0</access>
- <type>c</type>
- </info>
- <data>
- <code>
- <![CDATA[
-<?PHP
- Uses('pages', 'links', 'util');
-
- if($_POST['type'] != 'c' && $_POST['type'] != 'b')
- exit();
-
- if($_POST['back']) {
- header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false));
- exit();
- }
-
- if(!$_POST['name'] || !$_POST['newname']) exit();
-
- $GLOBALS['pages']->Copy(Unquote($_POST['name']), $_POST['type'], Unquote($_POST['newname']));
-
- header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false));
- exit();
-?>
- ]]>
- </code>
- </data>
-</page>