diff options
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/admin/groups/edit.html.tmpl | 24 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 4 |
2 files changed, 20 insertions, 8 deletions
diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl index bdda7e27b..d6044ad0f 100644 --- a/template/en/default/admin/groups/edit.html.tmpl +++ b/template/en/default/admin/groups/edit.html.tmpl @@ -143,14 +143,22 @@ value="[% group.membercansee FILTER none %]"> </td> [% END %] - <td align="center"> - <input type="checkbox" name="bless-[% group.grpid FILTER html %]" [% group.blessmember ? "checked " : "" %]value="1"> - <input type="hidden" name="oldbless-[% group.grpid FILTER html %]" value="[% group.blessmember FILTER html %]"> - </td> - <td align="center"> - <input type="checkbox" name="grp-[% group.grpid FILTER html %]" [% group.grpmember ? "checked " : "" %]value="1"> - <input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value="[% group.grpmember FILTER html %]"> - </td> + [% IF group_id != group.grpid %] + <td align="center"> + <input type="checkbox" name="bless-[% group.grpid FILTER html %]" [% group.blessmember ? "checked " : "" %]value="1"> + <input type="hidden" name="oldbless-[% group.grpid FILTER html %]" value="[% group.blessmember FILTER html %]"> + </td> + <td align="center"> + <input type="checkbox" name="grp-[% group.grpid FILTER html %]" [% group.grpmember ? "checked " : "" %]value="1"> + <input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value="[% group.grpmember FILTER html %]"> + </td> + [% ELSE %] + <td> + </td> + <td> + <input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value=""> + </td> + [% END %] <td align="left" class="groupname"> <a href="[% "editgroups.cgi?action=changeform&group=${group.grpid}" FILTER html %]"> [% group.grpnam FILTER html %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 964832db6..a17b1275b 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -459,6 +459,10 @@ [% title = "Invalid group ID" %] The group you specified doesn't exist. + [% ELSIF error == "invalid_group_name" %] + [% title = "Invalid group name" %] + The group you specified, [% name FILTER html %], is not valid here. + [% ELSIF error == "invalid_maxrows" %] [% title = "Invalid Max Rows" %] The maximum number of rows, '[% maxrows FILTER html %]', must be |