Stub to save new (and edited) user details
authorBen Klang <ben@alkaloid.net>
Fri, 15 Jul 2005 05:24:17 +0000 (05:24 +0000)
committerBen Klang <ben@alkaloid.net>
Fri, 15 Jul 2005 05:24:17 +0000 (05:24 +0000)
git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@60 06cd67b6-e706-0410-b29e-9de616bca6e9

users/save.php [new file with mode: 0644]

diff --git a/users/save.php b/users/save.php
new file mode 100644 (file)
index 0000000..36c04bb
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+/**
+ * $Horde: shout/users/add.php,v 1.0 2005/07/14 01:06:48 ben Exp $
+ *
+ * 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_once SHOUT_BASE . '/lib/User.php';
+require_once 'Horde/Variables.php';
+
+$RENDERER = &new Horde_Form_Renderer();
+
+$wereerrors = 0;
+
+$vars = &Variables::getDefaultVariables();
+$formname = $vars->get('formname');
+print_r($vars);
+$title = _("System Settings");
+
+$UserDetailsForm = &Horde_Form::singleton('UserDetailsForm', $vars);
+$UserDetailsFormValid = $UserDetailsForm->validate($vars, true);
\ No newline at end of file