diff options
author | Mario <mario@mariovavti.com> | 2021-04-09 09:49:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-09 09:49:36 +0000 |
commit | 01b081d809d128e0922fb404921f452c51c2ddb2 (patch) | |
tree | db100aa4c3b257943b95ab192514a8a93cfa6ba9 /view/tpl/register.tpl | |
parent | a34d8852b6695086ef3c9f5ff882d0d033f7d4a5 (diff) | |
download | volse-hubzilla-01b081d809d128e0922fb404921f452c51c2ddb2.tar.gz volse-hubzilla-01b081d809d128e0922fb404921f452c51c2ddb2.tar.bz2 volse-hubzilla-01b081d809d128e0922fb404921f452c51c2ddb2.zip |
register: only return verified registrations in get_pending_accounts(), more invite handling fixes
Diffstat (limited to 'view/tpl/register.tpl')
-rw-r--r-- | view/tpl/register.tpl | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl index 7940b8945..fe67abe89 100644 --- a/view/tpl/register.tpl +++ b/view/tpl/register.tpl @@ -19,16 +19,6 @@ </div> {{/if}} - {{if $auto_create}} - {{if $default_role}} - <input type="hidden" name="permissions_role" value="{{$default_role}}" /> - {{else}} - <div class="section-content-info-wrapper"> - {{$help_role}} - </div> - {{include file="field_select_grouped.tpl" field=$role}} - {{/if}} - {{if $invitations}} <a id="zar014" href="javascript:;" style="display: inline-block;">{{$haveivc}}</a> <div id="zar015" style="display: none;"> @@ -39,6 +29,15 @@ </div> {{/if}} + {{if $auto_create}} + {{if $default_role}} + <input type="hidden" name="permissions_role" value="{{$default_role}}" /> + {{else}} + <div class="section-content-info-wrapper"> + {{$help_role}} + </div> + {{include file="field_select_grouped.tpl" field=$role}} + {{/if}} <div class="position-relative"> <div id="name-spinner" class="spinner-wrapper position-absolute" style="top: 2.5rem; right: 0.5rem;"><div class="spinner s"></div></div> |