Attached jQuery event handlers to Add a New User using

jQueryUI Dialog. Work in progress, still need to
handle submission of form
This commit is contained in:
ninadsp
2010-05-26 11:46:08 +05:30
parent 5ab3a60612
commit 0e910967b0
2 changed files with 33 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ require_once './libraries/common.inc.php';
*/
$GLOBALS['js_include'][] = 'server_privileges.js';
$GLOBALS['js_include'][] = 'functions.js';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.js';
require './libraries/server_common.inc.php';
@@ -1982,6 +1983,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
}
}
} elseif (isset($_REQUEST['adduser'])) {
// Add a new user
$GLOBALS['url_query'] .= '&adduser=1';
echo '<h2>' . "\n"