summaryrefslogtreecommitdiffstats
path: root/pages/content/Login.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pages/content/Login.xml')
-rw-r--r--pages/content/Login.xml29
1 files changed, 0 insertions, 29 deletions
diff --git a/pages/content/Login.xml b/pages/content/Login.xml
deleted file mode 100644
index 4a6471a..0000000
--- a/pages/content/Login.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<page>
- <info>
- <name>Login</name>
- <template>phpexec</template>
- <access>1:0</access>
- <type>c</type>
- </info>
- <data>
- <code>
- <![CDATA[
-<?PHP
- Uses('user', 'links', 'util');
-
- if($_POST['name'] && $_POST['password'] && $_POST['page']) {
- if($GLOBALS['user']->Login(Unquote($_POST['name']), Unquote($_POST['password']))) {
- header('Location: ' . $GLOBALS['links']->GetNeonLink($_POST['page'], null, false));
- exit();
- }
- }
-
- $title = '{{Error}}';
-
- echo '<span class="error">{{Login failed. Username or password is wrong.}}</span>';
-?>
- ]]>
- </code>
- </data>
-</page>