From: Ben Klang Date: Sat, 30 Jul 2005 06:22:19 +0000 (+0000) Subject: Completes user add/remove functionality X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e071672f767eac074c6f35e04daba516ddbf7d2f;p=horde.git Completes user add/remove functionality git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@72 06cd67b6-e706-0410-b29e-9de616bca6e9 --- diff --git a/users/add.php b/users/add.php new file mode 100644 index 000000000..af1352f89 --- /dev/null +++ b/users/add.php @@ -0,0 +1,12 @@ + + * + * 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 new file mode 100644 index 000000000..66aab0ccb --- /dev/null +++ b/users/delete.php @@ -0,0 +1,24 @@ + + * + * 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_once 'Horde/Variables.php'; + +$context = Util::getFormData('context'); +$extension = Util::getFormData('extension'); + +$res = $shout->deleteUser($context, $extension); + +if (!$res) { + echo "Failed!"; + print_r($res); +} +$notification->push("User Deleted."); +$notification->notify(); +require SHOUT_TEMPLATES . '/common-footer.inc'; \ No newline at end of file