diff options
author | Mario <mario@mariovavti.com> | 2021-04-07 17:19:29 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-07 17:19:29 +0200 |
commit | 6956eadaad637561561fad83727043f56f36f1b4 (patch) | |
tree | 655e176a84cb31cb1b3c8c84231434e8d9b0a3a8 /view | |
parent | 9542c1d63c988afe4c482023bdb3f0b547957808 (diff) | |
download | volse-hubzilla-6956eadaad637561561fad83727043f56f36f1b4.tar.gz volse-hubzilla-6956eadaad637561561fad83727043f56f36f1b4.tar.bz2 volse-hubzilla-6956eadaad637561561fad83727043f56f36f1b4.zip |
registrations: minor cleanup
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/admin_site.tpl | 16 | ||||
-rw-r--r-- | view/tpl/register.tpl | 7 |
2 files changed, 11 insertions, 12 deletions
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index 0fff7029a..e5717a907 100644 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -5,11 +5,11 @@ <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> {{include file="field_input.tpl" field=$sitename}} - + {{include file="field_input.tpl" field=$location}} {{include file="field_textarea.tpl" field=$banner}} {{include file="field_textarea.tpl" field=$siteinfo}} {{include file="field_textarea.tpl" field=$admininfo}} - + {{include file="field_select.tpl" field=$access_policy}} {{include file="field_input.tpl" field=$reply_address}} {{include file="field_input.tpl" field=$from_email}} {{include file="field_input.tpl" field=$from_email_name}} @@ -33,21 +33,19 @@ {{include file="field_input.tpl" field=$register_text}} {{include file="field_select_grouped.tpl" field=$role}} {{include file="field_select.tpl" field=$register_policy}} - {{include file="field_checkbox.tpl" field=$register_wo_email}} + {{** include file="field_checkbox.tpl" field=$register_wo_email **}} {{include file="register_duty.tpl" field=$register_duty}} {{include file="field_input.tpl" field=$register_perday}} - {{include file="field_input.tpl" field=$register_sameip}} + {{** include file="field_input.tpl" field=$register_sameip **}} {{$reg_delay}} {{$reg_expire}} {{include file="field_checkbox.tpl" field=$reg_autochannel}} {{include file="field_checkbox.tpl" field=$invitation_only}} {{include file="field_checkbox.tpl" field=$invitation_also}} {{include file="field_checkbox.tpl" field=$verify_email}} - {{include file="field_input.tpl" field=$abandon_days}} + {{include file="field_input.tpl" field=$minimum_age}} - {{include file="field_select.tpl" field=$access_policy}} - {{include file="field_input.tpl" field=$location}} - {{include file="field_input.tpl" field=$sellpage}} + {{** include file="field_input.tpl" field=$sellpage **}} {{include file="field_input.tpl" field=$first_page}} <div class="submit"> @@ -62,6 +60,7 @@ {{include file="field_checkbox.tpl" field=$open_pubstream}} {{include file="field_textarea.tpl" field=$incl}} {{include file="field_textarea.tpl" field=$excl}} + {{include file="field_input.tpl" field=$abandon_days}} <div class="submit"> <input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}" /></div> @@ -80,6 +79,7 @@ {{include file="field_input.tpl" field=$maxloadavg}} {{include file="field_input.tpl" field=$default_expire_days}} {{include file="field_input.tpl" field=$active_expire_days}} + <div class="submit"> <input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}" /> diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl index b38507f92..119c47bd8 100644 --- a/view/tpl/register.tpl +++ b/view/tpl/register.tpl @@ -5,9 +5,10 @@ <div class="section-content-wrapper"> <form action="register" method="post" id="register-form"> <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - {{if $reg_is || $other_sites || $now}} + {{if $reg_is || $other_sites || $now || $msg}} <div class="section-content-warning-wrapper"> <h3>{{$now}}</h3> + <div id="register-desc" class="descriptive-paragraph">{{$msg}}</div> <div id="register-desc" class="descriptive-paragraph">{{$reg_is}}</div> <div id="register-sites" class="descriptive-paragraph">{{$other_sites}}</div> </div> @@ -59,8 +60,6 @@ <button class="btn btn-primary" type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}" {{$atform}}>{{$submit}}</button> <div id="register-submit-end" class="register-field-end"></div> </form> - <br /> - <div class="descriptive-text">{{$verify_note}} {{$msg}}</div> </div> </div> {{* @@ -76,7 +75,7 @@ {{$tao}} - var week_days = ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday']; + var week_days = ['Monday', 'Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday']; $('.register_date').each( function () { var date = new Date($(this).data('utc')); $(this).html(date.toLocaleString(undefined, {weekday: 'short', hour: 'numeric', minute: 'numeric'})); |