/usr/share/zentyal/templates/users/group.mas is in zentyal-users 2.3.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | <%args>
$groupinfo
@groupusers
@remainusers
@components
$slave => 1
</%args>
<%init>
use EBox::Gettext;
</%init>
<h3><% __('Administration of group ') %> <span class='stitle'><% $groupinfo->{'groupname'} %></span></h3>
% unless (@groupusers or @remainusers) {
<div class='note'>
<% __("There are no users at the moment. You need at least one to manage this group properly.")%>
</div>
<br />
% }
<form action='ModifyGroup' method='POST'>
<span class="ftitle"><% __('Comment') %>: </span>
<input type="hidden" name="groupname" value="<% $groupinfo->{'groupname'} %>">
<input type='text' class='inputText' name='comment' value="<% $groupinfo->{'comment'} %>">
% unless ($slave) {
<input class='inputButton' type='submit' name='user'
value="<% __('Change') %>"
alt="<% __('Change') %>">
% }
</form>
<table>
<thead>
<tr>
<th class="tleft"><% __("Users in group") %></th>
<th></th>
<th class="tleft"><% __("Users not in group") %></th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="2">
<form action='DelUserFromGroup' method='post'>
<select name='deluser' size='8' multiple>
% if(@groupusers) {
% foreach my $user (@groupusers){
<option value="<% $user %>">
<% $user %>
</option>
% }
% } else {
<option value="" disabled>
<% __('Empty list') %>
</option>
% }
</select>
</td>
<td>
% unless ($slave) {
<input class='inputButton' type='image' name='delfromgroup'
value="<%__('Remove')%>"
src='/data/images/right.gif'
title="<%('Remove users from group')%>"
alt="<%__('Remove users from group')%>" />
<input type="hidden" name="group"
value="<% $groupinfo->{'groupname'} %>"/>
% }
</form>
<br />
<br />
% unless ($slave) {
<form action='AddUserToGroup' method='post'>
<input class='inputButton' type='image' name='addtogroup'
value="<%__('Add users to group')%>"
src='/data/images/left.gif'
title="<%('Add users to group')%>"
alt="<%__('Add users to group')%>" />
% }
</td>
<td>
<select name='adduser' size='8' multiple>
% if(@remainusers) {
% foreach my $user (@remainusers){
<option value="<% $user %>">
<% $user %>
</option>
% }
% } else {
<option value="" disabled>
<% __('Empty list') %>
</option>
% }
</select>
<input type="hidden" name="group" value="<% $groupinfo->{'groupname'} %>">
</form>
</td>
</tr>
</tbody>
</table>
% foreach my $comp (@components) {
<& $comp->{'path'}, 'params' => $comp->{'params'} &>
% }
% unless ($slave) {
<h3><% __("Delete group") %></h3>
<div class='note'>
<% __('This operation will cause the removal of the group and all dependent data such as shared directory, etc.') %>
</div>
<br />
<form action='Del' method='POST'>
<input type="hidden" name="objectname" value="<% $groupinfo->{'groupname'} %>">
<input class='inputButton' type='submit' name='delgroup'
value="<% __('Delete group') %>"
alt="<% __('Delete group') %>">
<td>
</tr>
</form>
% }
|