From d0a43d76caf99aeb9f57a8ad9bafff9d0d3e3063 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Thu, 26 Jan 2006 23:06:14 +0000 Subject: [PATCH] Happy New Year! git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@262 06cd67b6-e706-0410-b29e-9de616bca6e9 --- users/add.php | 12 ------------ users/delete.php | 4 +++- users/edit.php | 4 +++- users/list.php | 20 ++++++++++++++++++++ users/save.php | 4 +++- 5 files changed, 29 insertions(+), 15 deletions(-) delete mode 100644 users/add.php create mode 100644 users/list.php diff --git a/users/add.php b/users/add.php deleted file mode 100644 index 16f3f3b8c..000000000 --- a/users/add.php +++ /dev/null @@ -1,12 +0,0 @@ - - * - * 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 diff --git a/users/delete.php b/users/delete.php index b809b740f..5d742e4f8 100644 --- a/users/delete.php +++ b/users/delete.php @@ -2,10 +2,12 @@ /** * $Id$ * - * Copyright 2005 Ben Klang + * Copyright 2005-2006 Ben Klang * * 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'; diff --git a/users/edit.php b/users/edit.php index cee202230..321dbe642 100644 --- a/users/edit.php +++ b/users/edit.php @@ -2,10 +2,12 @@ /** * $Id$ * - * Copyright 2005 Ben Klang + * Copyright 2005-2006 Ben Klang * * 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 index 000000000..4dbd7cc8b --- /dev/null +++ b/users/list.php @@ -0,0 +1,20 @@ + + * + * 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 diff --git a/users/save.php b/users/save.php index d41cbf3fc..7ebe3873f 100644 --- a/users/save.php +++ b/users/save.php @@ -2,10 +2,12 @@ /** * $Id$ * - * Copyright 2005 Ben Klang + * Copyright 2005-2006 Ben Klang * * 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'; -- 2.11.0