/usr/share/zentyal/templates/users/users.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 | <!-- vim: ts=4 sw=4 nowrap filetype=mason
-->
<%args>
@users => ();
@groups => ();
</%args>
<%init>
use EBox::Gettext;
use EBox::Global;
my $usersModel = EBox::Global->modInstance('users')->model('Users');
</%init>
<h3><% __('Add User') %></h3>
<form action='AddUser' method='POST' autocomplete='off'>
<table class='formTable'>
<tr>
<td class='tright'>
<span class="ftitle"><% __('User name')%>:</span>
</td>
<td>
<input type='text' class='inputText' name='username'>
</td>
</tr>
<tr>
<td class='tright'>
<span class='ftitle'><% __('First name')%>:</span>
</td>
<td>
<input type='text' class='inputText' name='name'>
</td>
</tr>
<tr>
<td class='tright'>
<span class='ftitle'><% __('Last name')%>:</span>
</td>
<td>
<input type='text' class='inputText' name='surname'>
</td>
</tr>
<tr>
<td class='tright'>
<span class='ftitle'><% __('Comment') %>:</span>
<div class="optional_field"><% __('Optional') %></div>
</td>
<td>
<input type='text' class='inputText' name='comment'>
</td>
</tr>
<tr>
<td class='tright'>
<span class='ftitle'><% __('Password') %>:</span>
</td>
<td>
<input type='password' class='inputText' name='password'>
</td>
<tr>
<td class='tright'>
<span class='ftitle'><% __('Retype password') %>:</span>
</td>
<td>
<input type='password' class='inputText' name='repassword'>
</td>
</tr>
<tr>
<& .groupSelectorLine, groups => \@groups &>
</tr>
<tr>
<td></td>
<td>
<input class='inputButton' type='submit' name='add'
value="<% __('Add') %>"
alt="<% __('Add') %>">
</input>
<input class='inputButton' type='submit' name='addAndEdit'
value="<% __('Add and Edit') %>"
alt="<% __('Add and Edit') %>">
</input>
</td>
</tr>
</table>
</form>
<%def .groupSelectorLine>
<%args>
@groups
</%args>
<td class='tright'>
<span class='ftitle'><% __('Group') %>:</span>
</td>
<td>
<select name='group' <% @groups == 0 ? 'disabled' : '' %>>
<option selected value=''></option>
% foreach my $gr (@groups){
<option value='<% $gr->{'account'} %>'>
<% $gr->{'account'} %>
</option>
% }
</select>
</td>
</%def>
<& '/ajax/tableBodyWithoutActions.mas', model => $usersModel &>
|