diff options
Diffstat (limited to 'pages/content/Users:New.xml')
-rw-r--r-- | pages/content/Users:New.xml | 33 |
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> |