[vhffs-dev] [1973] fixed user add to group ( yeah this should have been merged with the previous commit, but I really want to increase my commit count) -- (kidding) |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
- To: vhffs-dev@xxxxxxxxx
- Subject: [vhffs-dev] [1973] fixed user add to group ( yeah this should have been merged with the previous commit, but I really want to increase my commit count) -- (kidding)
- From: subversion@xxxxxxxxxxxxx
- Date: Sun, 29 Jan 2012 16:00:14 +0100
Revision: 1973
Author: gradator
Date: 2012-01-29 16:00:13 +0100 (Sun, 29 Jan 2012)
Log Message:
-----------
fixed user add to group (yeah this should have been merged with the previous commit, but I really want to increase my commit count) -- (kidding)
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Panel/Group.pm
trunk/vhffs-panel/templates/group/prefs.tt
Modified: trunk/vhffs-api/src/Vhffs/Panel/Group.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Group.pm 2012-01-29 14:43:10 UTC (rev 1972)
+++ trunk/vhffs-api/src/Vhffs/Panel/Group.pm 2012-01-29 15:00:13 UTC (rev 1973)
@@ -489,7 +489,7 @@
}
} else {
# User not found with exact match,let's search
- my $users = Vhffs::Panel::User::search( $vhffs , $username );
+ my $users = Vhffs::Panel::User::search_user( $vhffs , $username );
unless( @{$users} ) {
$vars->{add_user_error} = gettext('User not found');
} else {
Modified: trunk/vhffs-panel/templates/group/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/group/prefs.tt 2012-01-29 14:43:10 UTC (rev 1972)
+++ trunk/vhffs-panel/templates/group/prefs.tt 2012-01-29 15:00:13 UTC (rev 1973)
@@ -79,7 +79,7 @@
<form class="table-like" action="#" method="post" accept-charset="utf-8">
<input type="hidden" name="uid" value="[% u.uid %]"/>
<input type="hidden" name="group" value="[% group.get_groupname | html %]"/>
-<p><label>[% u.username | html %] ([% u.firstname | html %] [% u.lastname | html %])</label>
+<p><label>[% u.username | html %] ([% u.realname | html %])</label>
<input type="submit" name="add_user_list_submit" value="[% 'Add' | i18n | html %]"/></p>
</form>
[% END %]