diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-04 07:40:06 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-04 07:40:06 +0000 |
commit | 7743d70c68444fc2e20a6a4aa2f9a980203b999e (patch) | |
tree | 32d7c68ba195e429bde67e00c73ae6679159e82d /templates/show_add_user.inc.php | |
parent | 19276f57a9eeacae7829629baa35fcb28d77419f (diff) | |
download | ampache-7743d70c68444fc2e20a6a4aa2f9a980203b999e.tar.gz ampache-7743d70c68444fc2e20a6a4aa2f9a980203b999e.tar.bz2 ampache-7743d70c68444fc2e20a6a4aa2f9a980203b999e.zip |
fixed browse users, add user, edit user
Diffstat (limited to 'templates/show_add_user.inc.php')
-rw-r--r-- | templates/show_add_user.inc.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/show_add_user.inc.php b/templates/show_add_user.inc.php index bbb79671..ed9ac236 100644 --- a/templates/show_add_user.inc.php +++ b/templates/show_add_user.inc.php @@ -21,8 +21,8 @@ */ ?> <?php show_box_top(_('Adding a New User')); ?> -<?php $GLOBALS['error']->print_error('general'); ?> -<form name="add_user" enctype="multpart/form-data" method="post" action="<?php echo conf('web_path') . "/admin/users.php"; ?>"> +<?php Error::display('general'); ?> +<form name="add_user" enctype="multpart/form-data" method="post" action="<?php echo Config::get('web_path') . "/admin/users.php?action=add_user"; ?>"> <table class="tabledata" cellspacing="0" cellpadding="0" border="0"> <tr> <td> @@ -30,7 +30,7 @@ </td> <td> <input type="text" name="username" size="30" maxlength="128" value="<?php echo scrub_out($_POST['username']); ?>" /> - <?php $GLOBALS['error']->print_error('username'); ?> + <?php Error::display('username'); ?> </td> </tr> <tr> @@ -53,7 +53,7 @@ </td> <td> <input type="password" name="password_1" size="30" value="" /> - <?php $GLOBALS['error']->print_error('password'); ?> + <?php Error::display('password'); ?> </td> </tr> <tr> @@ -79,7 +79,6 @@ </tr> <td colspan="2"> <input type="submit" value="<?php echo _('Add User'); ?>" /> - <input type="hidden" name="action" value="add_user" /> </td> </tr> </table> |