summaryrefslogtreecommitdiffstats
path: root/pages/content/Users:New.xml
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-12-14 01:06:02 +0100
committerneoraider <devnull@localhost>2006-12-14 01:06:02 +0100
commit543336aef16562369c01992817f58e17144c9cad (patch)
treed49cd8549a836c740df7096ddcf7788ed7920c37 /pages/content/Users:New.xml
parent93e1133ee88b03e7cae7318cb19761e698e57b86 (diff)
downloadneon-543336aef16562369c01992817f58e17144c9cad.tar
neon-543336aef16562369c01992817f58e17144c9cad.zip
Base-Type durch Subst-Erweiterungen unnoetig gemacht; Type-Konzept entfernt.
Diffstat (limited to 'pages/content/Users:New.xml')
-rw-r--r--pages/content/Users:New.xml33
1 files changed, 0 insertions, 33 deletions
diff --git a/pages/content/Users:New.xml b/pages/content/Users:New.xml
deleted file mode 100644
index 098644f..0000000
--- a/pages/content/Users:New.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<page>
- <info>
- <name>Users:New</name>
- <template>phpexec</template>
- <access>0:0</access>
- <type>c</type>
- </info>
- <data>
- <code>
- <![CDATA[
- <?PHP
- Uses('user', 'links', 'util');
-
-
- if($_POST['back']) {
- header('Location: ' . $GLOBALS['links']->GetNeonLink('Users', null, false));
- exit();
- }
-
- if(!$_POST['name'] || !isset($_POST['gid']) || !$_POST['password'] || !$_POST['password2']) exit();
-
- if($_POST['password'] != $_POST['password2']) exit();
-
- $GLOBALS['user']->Add(Unquote($_POST['name']), $_POST['gid'], Unquote($_POST['password']));
-
- header('Location: ' . $GLOBALS['links']->GetNeonLink('Users', null, false));
- exit();
- ?>
- ]]>
- </code>
- </data>
-</page>