diff options
author | neoraider <devnull@localhost> | 2006-12-14 01:06:02 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-12-14 01:06:02 +0100 |
commit | 543336aef16562369c01992817f58e17144c9cad (patch) | |
tree | d49cd8549a836c740df7096ddcf7788ed7920c37 /pages/content/Pages:New.xml | |
parent | 93e1133ee88b03e7cae7318cb19761e698e57b86 (diff) | |
download | neon-543336aef16562369c01992817f58e17144c9cad.tar neon-543336aef16562369c01992817f58e17144c9cad.zip |
Base-Type durch Subst-Erweiterungen unnoetig gemacht; Type-Konzept entfernt.
Diffstat (limited to 'pages/content/Pages:New.xml')
-rw-r--r-- | pages/content/Pages:New.xml | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/pages/content/Pages:New.xml b/pages/content/Pages:New.xml deleted file mode 100644 index b6673b7..0000000 --- a/pages/content/Pages:New.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<page> - <info> - <name>Pages:New</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['template']) exit(); - - $GLOBALS['pages']->Add(Unquote($_POST['name']), $_POST['type'], Unquote($_POST['template'])); - - $data = $GLOBALS['pages']->GetEditor(Unquote($_POST['name']), $_POST['type'], $GLOBALS['links']->GetNeonLink('Pages', null, false)); - - $title = $data['title']; - - echo $data['content']; -?> - ]]> - </code> - </data> -</page> |