user manager page
authorBen Klang <ben@alkaloid.net>
Thu, 30 Jun 2005 05:27:42 +0000 (05:27 +0000)
committerBen Klang <ben@alkaloid.net>
Thu, 30 Jun 2005 05:27:42 +0000 (05:27 +0000)
git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@38 06cd67b6-e706-0410-b29e-9de616bca6e9

users.php [new file with mode: 0644]

diff --git a/users.php b/users.php
new file mode 100644 (file)
index 0000000..20fbf3f
--- /dev/null
+++ b/users.php
@@ -0,0 +1,18 @@
+<?php
+if (!defined(SHOUT_BASE)) {
+    define(SHOUT_BASE, dirname(__FILE__));
+}
+
+require_once SHOUT_BASE . "/lib/base.php";
+require_once SHOUT_BASE . "/lib/Shout.php";
+
+# Verify the current user has access to this context
+$context = Util::getFormData("context");
+
+if (!in_array($context, $shout->getContexts())) {
+    $notification->push(_("You do not have permission to access this system.",
+        'horde.error'));
+    exit();
+}
+
+print_r($shout->getUsers($context));
\ No newline at end of file