diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-06-19 06:32:23 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-06-19 06:32:23 +0000 |
commit | cef43c3602c38fe4b49e74bdfa429c66929ada0e (patch) | |
tree | 0eaf81ca59c5c52ff023254105afb9f43b67cfc5 /templates/show_edit_user.inc.php | |
parent | cabbf907970a6d514a4b9288abcfec3c0c6b2d55 (diff) | |
download | ampache-cef43c3602c38fe4b49e74bdfa429c66929ada0e.tar.gz ampache-cef43c3602c38fe4b49e74bdfa429c66929ada0e.tar.bz2 ampache-cef43c3602c38fe4b49e74bdfa429c66929ada0e.zip |
reorganize the menu a whole bunch and add a confirmation page to the catalog deletion
Diffstat (limited to 'templates/show_edit_user.inc.php')
-rw-r--r-- | templates/show_edit_user.inc.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/show_edit_user.inc.php b/templates/show_edit_user.inc.php index 56ed7179..3ccd7e8d 100644 --- a/templates/show_edit_user.inc.php +++ b/templates/show_edit_user.inc.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2007 Ampache.org + Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -19,8 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -$form_string = generate_password('32'); -$_SESSION['forms']['adminuser'] = $form_string; ?> <?php show_box_top(_('Editing existing User')); ?> <?php Error::display('general'); ?> @@ -85,7 +83,7 @@ $_SESSION['forms']['adminuser'] = $form_string; <div class="formValidation"> <input type="hidden" name="action" value="update_user" /> <input type="submit" value="<?php echo _('Update User'); ?>" /> - <input type="hidden" name="formkey" value="<?php echo $form_string; ?>" /> + <?php echo Core::form_register('edit_user'); ?> <input type="hidden" name="user_id" value="<?php echo $client->id; ?>" /> </div> </form> |