mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-03-11 14:53:34 +08:00
Merge branch 'Development' of https://github.com/Focuslinkstech/phpnuxbill into Development
This commit is contained in:
parent
79585d54a1
commit
fd4c634b9b
2 changed files with 14 additions and 0 deletions
|
@ -580,6 +580,18 @@
|
|||
{Lang::T('Miscellaneous')}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('New Version Notification')}</label>
|
||||
<div class="col-md-6">
|
||||
<select name="new_version_notify" id="new_version_notify" class="form-control">
|
||||
<option value="enable" {if $_c['new_version_notify']=='enable' }selected="selected" {/if}>{Lang::T('Enabled')}
|
||||
</option>
|
||||
<option value="disable" {if $_c['new_version_notify']=='disable' }selected="selected" {/if}>{Lang::T('Disabled')}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4">{Lang::T('This is to notify you when new updates is available')}</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('OTP Required')}</label>
|
||||
<div class="col-md-6">
|
||||
|
|
|
@ -372,6 +372,7 @@
|
|||
{/literal}
|
||||
{/if}
|
||||
</script>
|
||||
{if $_c['new_version_notify'] != 'disable'}
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', function() {
|
||||
$.getJSON("./version.json?" + Math.random(), function(data) {
|
||||
|
@ -409,5 +410,6 @@
|
|||
|
||||
});
|
||||
</script>
|
||||
{/if}
|
||||
|
||||
{include file="sections/footer.tpl"}
|
Loading…
Reference in a new issue