diff options
author | neoraider <devnull@localhost> | 2006-04-18 01:17:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-18 01:17:05 +0200 |
commit | e7359ccf2db89b1feec820d1c97583f720ae0d7a (patch) | |
tree | 4321a817497f064457c184364a9a2745bf5bd629 /pages/content/Users.xml | |
parent | 1a78cfbd3315897aa84b7a5d6735d54d94a590a1 (diff) | |
download | neon-e7359ccf2db89b1feec820d1c97583f720ae0d7a.tar neon-e7359ccf2db89b1feec820d1c97583f720ae0d7a.zip |
Seiten verschoben.
Diffstat (limited to 'pages/content/Users.xml')
-rw-r--r-- | pages/content/Users.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pages/content/Users.xml b/pages/content/Users.xml new file mode 100644 index 0000000..2dcd181 --- /dev/null +++ b/pages/content/Users.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<page> + <info> + <name>Users</name> + <template>phpexec</template> + <access>0:0</access> + <type>c</type> + </info> + <data> + <code> + <![CDATA[ +<?PHP + require_once('code/db.inc.php'); + require_once('code/links.inc.php'); + + $title = 'Benutzer'; + + echo '<h2>Benutzer</h2>'; + + $res = $GLOBALS['db']->Execute('SELECT id, user FROM users ORDER BY user'); + + echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Users:Handle') . '">'; + + echo '<select name="id" size="15" class="userlist spaced-bottom">'; + + while($row = $res->FetchRow()) { + echo '<option value="' . $row[0] . '">' . $row[1] . '</option>'; + } + + echo '</select>'; + echo '<br />'; + echo '<input type="submit" name="new" value="Neu" /> '; + echo '<input type="submit" name="group" value="Gruppe ändern" /> '; + echo '<input type="submit" name="password" value="Passwort ändern" /> '; + echo '<input type="submit" name="rename" value="Umbenennen" /> '; + echo '<input type="submit" name="delete" value="Löschen" />'; + echo '</form>'; +?> + ]]> + </code> + </data> +</page> |