[Tickets #11690] Admin - User Management - adding and deleting do not work
bugs at horde.org
bugs at horde.org
Mon Nov 12 14:18:11 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11690
------------------------------------------------------------------------------
Ticket | 11690
Created By | aloyse.gilbert at gmail.com
Summary | Admin - User Management - adding and deleting do not
| work
Queue | Horde Base
Version | 5.0.1
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
aloyse.gilbert at gmail.com (2012-11-12 14:18) wrote:
Hi,
adding and removing users does not work on the Admin Page.
seems that some input fields are missing in the add.inc and remove.inc
template files.
the following changes solve the problem at the first glance, but I
don't have any ideas about side-effects and so on...
below is a diff against the master branch.hope it helps.
ag
------------------------------------------------------------
diff --git a/horde/templates/admin/user/add.inc
b/horde/templates/admin/user/add.inc
index a0d42ba..c19ff1e 100644
--- a/horde/templates/admin/user/add.inc
+++ b/horde/templates/admin/user/add.inc
@@ -1,3 +1,4 @@
<?php
+$vars->set('form', 'add');
$renderer = new Horde_Form_Renderer();
$addForm->renderActive($renderer, $vars, Horde::selfUrl(), 'post');
diff --git a/horde/templates/admin/user/remove.inc
b/horde/templates/admin/user/remove.inc
index 35540f5..7745e4e 100644
--- a/horde/templates/admin/user/remove.inc
+++ b/horde/templates/admin/user/remove.inc
@@ -1,5 +1,6 @@
<form name="removeuser" action="<?php echo Horde::selfUrl() ?>"
method="post">
<input type="hidden" name="form" value="remove" />
+<input type="hidden" name="user_name" value="<?php echo
htmlspecialchars($f_user_name) ?>" />
<?php Horde_Util::pformInput() ?>
<h1 class="header">
------------------------------------------------------------
More information about the bugs
mailing list