summaryrefslogtreecommitdiff
path: root/templates/admin_login.tpl
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-15 20:14:37 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-15 20:14:37 +0100
commit9772cfff77f3edb7df7fd640078d4124439d18d2 (patch)
treefd3f2045c9bfc0d330d4bd8601bf82325da2648b /templates/admin_login.tpl
parent7a1d48e859dca00c099ca358abcca46c7ebf24fd (diff)
downloadusers-9772cfff77f3edb7df7fd640078d4124439d18d2.tar.gz
users-9772cfff77f3edb7df7fd640078d4124439d18d2.tar.bz2
users-9772cfff77f3edb7df7fd640078d4124439d18d2.zip
Remove unused group model code
Diffstat (limited to 'templates/admin_login.tpl')
-rw-r--r--templates/admin_login.tpl39
1 files changed, 12 insertions, 27 deletions
diff --git a/templates/admin_login.tpl b/templates/admin_login.tpl
index 51c42e4..28403d9 100644
--- a/templates/admin_login.tpl
+++ b/templates/admin_login.tpl
@@ -66,33 +66,18 @@
</div>
<div class="form-group">
- {if $roleList }
- {formlabel label="Roles choice at registration" for="registration_role_choice"}
- {forminput}
- <select class="form-control" name="registration_role_choice[]" multiple="multiple" size="5">
- <option value="">&nbsp;</option>
- {foreach key=r item=ro from=$roleList}
- {if $ro.role_id ne -1}
- <option value="{$ro.role_id}" {if $ro.is_public eq 'y'} selected="selected"{/if}>{$ro.role_name|truncate:"52":" ..."}</option>
- {/if}
- {/foreach}
- </select>
- {formhelp note="A user will be able to select one of the selected roles at registration. If you select the default role (Registered), he will not be obliged to select a role."}
- {/forminput}
- {else}
- {formlabel label="Groups choice at registration" for="registration_group_choice"}
- {forminput}
- <select class="form-control" name="registration_group_choice[]" multiple="multiple" size="5">
- <option value="">&nbsp;</option>
- {foreach key=g item=gr from=$groupList}
- {if $gr.group_id ne -1}
- <option value="{$gr.group_id}" {if $gr.is_public eq 'y'} selected="selected"{/if}>{$gr.group_name|truncate:"52":" ..."}</option>
- {/if}
- {/foreach}
- </select>
- {formhelp note="A user will be able to select one of the selected group at registration. If you select the default group (Registered), he will not be obliged to select a group."}
- {/forminput}
- {/if}
+ {formlabel label="Roles choice at registration" for="registration_role_choice"}
+ {forminput}
+ <select class="form-control" name="registration_role_choice[]" multiple="multiple" size="5">
+ <option value="">&nbsp;</option>
+ {foreach key=r item=ro from=$roleList}
+ {if $ro.role_id ne -1}
+ <option value="{$ro.role_id}" {if $ro.is_public eq 'y'} selected="selected"{/if}>{$ro.role_name|truncate:"52":" ..."}</option>
+ {/if}
+ {/foreach}
+ </select>
+ {formhelp note="A user will be able to select one of the selected roles at registration. If you select the default role (Registered), he will not be obliged to select a role."}
+ {/forminput}
</div>
{/jstab}