Merge pull request #347 from Focuslinkstech/Development

Development
This commit is contained in:
iBNu Maksum 2024-11-08 11:03:51 +07:00 committed by GitHub
commit a81ddd68dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 171 additions and 160 deletions

View File

@ -13,7 +13,7 @@
<div class="panel-body" style="overflow-y: scroll;">
<div style="max-height: 50px; min-height: 50px;">{nl2br(strip_tags($d['description']))}</div>
</div>
<div class="panel-footer" style="overflow-y: scroll;">
<div class="panel-footer">
<center style="max-height: 40px; min-height: 40px;">
<span class="label label-default">{$d['file']}</span>
{foreach $d['url'] as $name => $url}

View File

@ -1,7 +1,5 @@
{include file="sections/header.tpl"}
<form class="form-horizontal" method="post" role="form" action="" enctype="multipart/form-data">
<input type="hidden" name="csrf_token" value="{$csrf_token}">
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="panel panel-primary panel-hovered panel-stacked mb30">
@ -12,14 +10,18 @@
</div>
{Lang::T('Miscellaneous')}
</div>
<div class="panel-body">
<input type="hidden" name="csrf_token" value="{$csrf_token}">
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('New Version Notification')}</label>
<div class="col-md-5">
<select name="new_version_notify" id="new_version_notify" class="form-control">
<option value="enable" {if $_c['new_version_notify']=='enable' }selected="selected" {/if}>
<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}>
<option value="disable" {if $_c['new_version_notify']=='disable' }selected="selected"
{/if}>
{Lang::T('Disabled')}
</option>
</select>
@ -42,8 +44,10 @@
</select>
</div>
<p class="help-block col-md-4"><small>
{Lang::T('If enabled, the system will notify Admin when router goes Offline, If admin
have 10 or more router and many customers, it will get overlapping, you can disabled')}
{Lang::T('If enabled, the system will notify Admin when router goes Offline,
If admin
have 10 or more router and many customers, it will get overlapping, you can
disabled')}
</small>
</p>
</div>
@ -59,7 +63,8 @@
</select>
</div>
<p class="help-block col-md-4"><small>
{Lang::T('OTP is required when user want to change phone number and registration')}</small>
{Lang::T('OTP is required when user want to change phone number and
registration')}</small>
</p>
</div>
<div class="form-group">
@ -68,14 +73,16 @@
<select name="phone_otp_type" id="phone_otp_type" class="form-control">
<option value="sms" {if $_c['phone_otp_type']=='sms' }selected="selected" {/if}>
{Lang::T('By SMS')}
<option value="whatsapp" {if $_c['phone_otp_type']=='whatsapp' }selected="selected" {/if}>
<option value="whatsapp" {if $_c['phone_otp_type']=='whatsapp' }selected="selected"
{/if}>
{Lang::T('by WhatsApp')}
<option value="both" {if $_c['phone_otp_type']=='both' }selected="selected" {/if}>
{Lang::T('By WhatsApp and SMS')}
</option>
</select>
</div>
<p class="help-block col-md-4"><small>{Lang::T('The method which OTP will be sent to user')}<br>
<p class="help-block col-md-4"><small>{Lang::T('The method which OTP will be sent to
user')}<br>
{Lang::T('For Registration and Update Phone Number')}</small></p>
</div>
<div class="form-group">
@ -105,7 +112,7 @@
</select>
</div>
<p class="help-block col-md-4"><small>
{Lang::T(' for Customer')}</small></p>
{Lang::T('Display bandwidth plan for customer')}</small></p>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Hotspot Auth Method')}</label>
@ -120,8 +127,9 @@
</select>
</div>
<p class="help-block col-md-4"><small>
{Lang::T('Hotspot Authentication Method. Make sure you have changed your hotspot login
page.')}<br><a href="https://github.com/agstrxyz/phpnuxbill-login-hotspot"
{Lang::T('Hotspot Authentication Method. Make sure you have changed your
hotspot login
page.')} <a href="https://github.com/agstrxyz/phpnuxbill-login-hotspot"
target="_blank">Download
phpnuxbill-login-hotspot</a></small>
</p>
@ -153,11 +161,13 @@
</select>
</div>
<p class="help-block col-md-4">
<small> {Lang::T('If user buy same internet plan, expiry date will extend')}</small>
<small> {Lang::T('If user buy same internet plan, expiry date will
extend')}</small>
</p>
</div>
<div class="form-group has-error">
<label class="col-md-3 control-label">{Lang::T('Allow Balance custom amount')}</label>
<label class="col-md-3 control-label">{Lang::T('Allow Balance custom
amount')}</label>
<div class="col-md-5">
<select name="allow_balance_custom" id="allow_balance_custom" class="form-control">
<option value="no">
@ -186,4 +196,5 @@
</div>
</div>
</form>
{include file="sections/footer.tpl"}