Happy New Year!
authorBen Klang <ben@alkaloid.net>
Thu, 26 Jan 2006 23:06:14 +0000 (23:06 +0000)
committerBen Klang <ben@alkaloid.net>
Thu, 26 Jan 2006 23:06:14 +0000 (23:06 +0000)
git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@262 06cd67b6-e706-0410-b29e-9de616bca6e9

users/add.php [deleted file]
users/delete.php
users/edit.php
users/list.php [new file with mode: 0644]
users/save.php

diff --git a/users/add.php b/users/add.php
deleted file mode 100644 (file)
index 16f3f3b..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-/**
- * $Id$
- *
- * Copyright 2005 Ben Klang <ben@alkaloid.net>
- *
- * See the enclosed file LICENSE for license information (GPL). If you
- * did not receive this file, see http://www.horde.org/licenses/gpl.php.
- */
-@define('SHOUT_BASE', dirname(__FILE__) . '/..');
-
-require SHOUT_BASE . '/users/edit.php';
\ No newline at end of file
index b809b74..5d742e4 100644 (file)
@@ -2,10 +2,12 @@
 /**
  * $Id$
  *
- * Copyright 2005 Ben Klang <ben@alkaloid.net>
+ * Copyright 2005-2006 Ben Klang <ben@alkaloid.net>
  *
  * See the enclosed file LICENSE for license information (GPL). If you
  * did not receive this file, see http://www.horde.org/licenses/gpl.php.
+ *
+ * @package shout
  */
 @define('SHOUT_BASE', dirname(__FILE__) . '/..');
 //require_once 'Horde/Variables.php';
index cee2022..321dbe6 100644 (file)
@@ -2,10 +2,12 @@
 /**
  * $Id$
  *
- * Copyright 2005 Ben Klang <ben@alkaloid.net>
+ * Copyright 2005-2006 Ben Klang <ben@alkaloid.net>
  *
  * See the enclosed file LICENSE for license information (GPL). If you
  * did not receive this file, see http://www.horde.org/licenses/gpl.php.
+ *
+ * @package shout
  */
 @define('SHOUT_BASE', dirname(__FILE__) . '/..');
 require_once SHOUT_BASE . '/lib/base.php';
diff --git a/users/list.php b/users/list.php
new file mode 100644 (file)
index 0000000..4dbd7cc
--- /dev/null
@@ -0,0 +1,20 @@
+<?php
+/**
+ * $Id$
+ *
+ * Copyright 2005-2006 Ben Klang <ben@alkaloid.net>
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @package shout
+ */
+
+if (!isset($SHOUT_RUNNING) || !$SHOUT_RUNNING) {
+    header('Location: /');
+    exit();
+}
+
+$users = &$shout->getUsers($context);
+ksort($users);
+require SHOUT_TEMPLATES . "/users/userlist.inc";
\ No newline at end of file
index d41cbf3..7ebe387 100644 (file)
@@ -2,10 +2,12 @@
 /**
  * $Id$
  *
- * Copyright 2005 Ben Klang <ben@alkaloid.net>
+ * Copyright 2005-2006 Ben Klang <ben@alkaloid.net>
  *
  * See the enclosed file LICENSE for license information (GPL). If you
  * did not receive this file, see http://www.horde.org/licenses/gpl.php.
+ *
+ * @package shout
  */
 @define('SHOUT_BASE', dirname(__FILE__) . '/..');
 require_once SHOUT_BASE . '/lib/User.php';