commit
49a3d363cb
@ -4,7 +4,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||
<div class="panel-heading">Radius - Add NAS</div>
|
||||
<div class="panel-heading">Radius - {Lang::T('Add NAS')}</div>
|
||||
<div class="panel-body">
|
||||
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}radius/nas-add-post">
|
||||
@ -34,7 +34,7 @@
|
||||
<div class="col-md-2">
|
||||
<input type="text" class="form-control" id="ports" name="ports" placeholder="null">
|
||||
</div>
|
||||
<label class="col-md-2 control-label">Type</label>
|
||||
<label class="col-md-2 control-label">{Lang::T('Type')}</label>
|
||||
<div class="col-md-2">
|
||||
<input type="text" class="form-control" id="type" name="type" value="other" required
|
||||
placeholder="other">
|
||||
@ -67,7 +67,7 @@
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4">Assign NAS to Router</p>
|
||||
<p class="help-block col-md-4">{Lang::T('Assign NAS to Router')}</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
@ -83,4 +83,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||
<div class="panel-heading">Radius - Edit NAS</div>
|
||||
<div class="panel-heading">Radius - {Lang::T('Edit NAS')}</div>
|
||||
<div class="panel-body">
|
||||
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}radius/nas-edit-post/{$d['id']}">
|
||||
@ -34,7 +34,7 @@
|
||||
<div class="col-md-2">
|
||||
<input type="text" class="form-control" id="ports" name="ports" placeholder="null" value="{$d['ports']}">
|
||||
</div>
|
||||
<label class="col-md-2 control-label">Type</label>
|
||||
<label class="col-md-2 control-label">{Lang::T('Type')}</label>
|
||||
<div class="col-md-2">
|
||||
<input type="text" class="form-control" id="type" name="type" value="other" value="{$d['type']}" required
|
||||
placeholder="other">
|
||||
@ -67,7 +67,7 @@
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4">Assign NAS to Router</p>
|
||||
<p class="help-block col-md-4">{Lang::T('Assign NAS to Router')}</p>
|
||||
</div>
|
||||
<div class="form-gro
|
||||
<div class="form-group">
|
||||
@ -84,4 +84,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -24,16 +24,16 @@
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="{$_url}radius/nas-add" class="btn btn-primary btn-block"><i
|
||||
class="ion ion-android-add"> </i> New NAS</a>
|
||||
class="ion ion-android-add"> </i> {Lang::T('New NAS')}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>{Lang::T('Name')}</th>
|
||||
<th>IP</th>
|
||||
<th>Type</th>
|
||||
<th>{Lang::T('Type')}</th>
|
||||
<th>Port</th>
|
||||
<th>Server</th>
|
||||
<th>Community</th>
|
||||
@ -67,11 +67,11 @@
|
||||
{include file="pagination.tpl"}
|
||||
<div class="bs-callout bs-callout-info" id="callout-navbar-role">
|
||||
<h4>RADIUS REST</h4>
|
||||
<p>For Radius REST, you don't need to add NAS, NAS need to add to client.conf manually</p>
|
||||
<p>{Lang::T('For Radius REST, you don't need to add NAS, NAS need to add to client.conf manually')}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -54,13 +54,13 @@
|
||||
<option value="zero">{$_c['currency_code']} 0</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4">Postpaid Recharge for the first time use {$_c['currency_code']} 0</p>
|
||||
<p class="help-block col-md-4">{Lang::T('Postpaid Recharge for the first time use')} {$_c['currency_code']} 0</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<button class="btn btn-success"
|
||||
type="submit">{Lang::T('Recharge')}</button>
|
||||
Or <a href="{$_url}customers/list">{Lang::T('Cancel')}</a>
|
||||
{Lang::T('Or')} <a href="{$_url}customers/list">{Lang::T('Cancel')}</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -69,4 +69,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div class="col-sm-12">
|
||||
<div class="panel panel-hovered mb20 panel-primary">
|
||||
<div class="panel-heading">
|
||||
Activity Log
|
||||
{Lang::T('Activity Log')}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="text-center" style="padding: 15px">
|
||||
@ -67,4 +67,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -11,7 +11,7 @@
|
||||
<center>
|
||||
<label>
|
||||
<input type="checkbox" id="show_chart" onclick="return setShowChart()">
|
||||
Show chart
|
||||
{Lang::T('Show chart')}
|
||||
</label>
|
||||
</center>
|
||||
<hr style="margin: 1px;">
|
||||
@ -73,7 +73,7 @@
|
||||
</div>
|
||||
<div class="box box-primary box-solid">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{Lang::dateFormat($sd)} - {Lang::dateFormat($ed)} <sup>Max 30 days</sup></h3>
|
||||
<h3 class="box-title">{Lang::dateFormat($sd)} - {Lang::dateFormat($ed)} <sup>{Lang::T('Max 30 days')}</sup></h3>
|
||||
</div>
|
||||
<div class="box-body row" style="height: 300px;">
|
||||
<canvas id="line_cart"></canvas>
|
||||
|
@ -49,29 +49,28 @@
|
||||
<br>
|
||||
Mikrotik troubleshooting: <br>
|
||||
<ul>
|
||||
<li>Make sure you use API Port, Default 8728</li>
|
||||
<li>Make sure Username and Password are correct</li>
|
||||
<li>Make sure your hosting not blocking port to external</li>
|
||||
<li>Make sure your Mikrotik accessible from PHPNuxBill</li>
|
||||
<li>{Lang::T('Make sure you use API Port, Default 8728')}</li>
|
||||
<li>{Lang::T('Make sure Username and Password are correct')}</li>
|
||||
<li>{Lang::T('Make sure your hosting not blocking port to external')}</li>
|
||||
<li>{Lang::T('Make sure your Mikrotik accessible from PHPNuxBill')}</li>
|
||||
</ul>
|
||||
If you just update PHPNuxBill from upload files, try click Update Database
|
||||
{Lang::T('If you just update PHPNuxBill from upload files, try click Update')} Database
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||
<a href="./update.php?step=4" style="color: black;" class="btn btn-info btn-sm btn-block">Update Database</a>
|
||||
<a href="{$_url}community#update" style="color: black;" class="btn btn-success btn-sm btn-block">Update
|
||||
PHPNuxBill</a>
|
||||
<a href="./update.php?step=4" style="color: black;" class="btn btn-info btn-sm btn-block">{Lang::T('Update')} Database</a>
|
||||
<a href="{$_url}community#update" style="color: black;" class="btn btn-success btn-sm btn-block">{Lang::T('Update PHPNuxBill')}</a>
|
||||
</div>
|
||||
<br>
|
||||
<div class="btn-group btn-group-justified" role="group" aria-label="...">
|
||||
<a href="https://github.com/hotspotbilling/phpnuxbill/discussions" target="_blank"
|
||||
class="btn btn-success btn-sm btn-block" style="color: black;">Ask Github Community</a>
|
||||
class="btn btn-success btn-sm btn-block" style="color: black;">{Lang::T('Ask Github Community')}</a>
|
||||
<a href="https://t.me/phpnuxbill" target="_blank"
|
||||
class="btn btn-primary btn-sm btn-block">Ask Telegram Community</a>
|
||||
class="btn btn-primary btn-sm btn-block">{Lang::T('Ask Telegram Community')}</a>
|
||||
</div>
|
||||
<br><br>
|
||||
<a href="javascript::history.back()" onclick="history.back()"
|
||||
class="btn btn-warning btn-block">back</a>
|
||||
class="btn btn-warning btn-block">{Lang::T('Back')}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -83,4 +82,4 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@ -12,10 +12,10 @@
|
||||
<label class="col-md-2 control-label">{Lang::T('Status')}</label>
|
||||
<div class="col-md-10">
|
||||
<label class="radio-inline warning">
|
||||
<input type="radio" checked name="enabled" value="1"> Enable
|
||||
<input type="radio" checked name="enabled" value="1"> {Lang::T('Enable')}
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="enabled" value="0"> Disable
|
||||
<input type="radio" name="enabled" value="0"> {Lang::T('Disable')}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@ -56,7 +56,7 @@
|
||||
<div class="form-group row">
|
||||
<label class="col-md-2 control-label"></label>
|
||||
<div class="col-md-6">
|
||||
<label><input type="checkbox" checked name="testIt" value="yes"> Test Connection</label>
|
||||
<label><input type="checkbox" checked name="testIt" value="yes"> {Lang::T('Test Connection')}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@ -73,4 +73,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -12,11 +12,11 @@
|
||||
<label class="col-md-2 control-label">{Lang::T('Status')}</label>
|
||||
<div class="col-md-10">
|
||||
<label class="radio-inline warning">
|
||||
<input type="radio" {if $d['enabled'] == 1}checked{/if} name="enabled" value="1"> Enable
|
||||
<input type="radio" {if $d['enabled'] == 1}checked{/if} name="enabled" value="1"> {Lang::T('Enable')}
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" {if $d['enabled'] == 0}checked{/if} name="enabled" value="0">
|
||||
Disable
|
||||
{Lang::T('Disable')}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@ -148,4 +148,4 @@
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
@ -58,7 +58,7 @@
|
||||
<td>{$ds['ip_address']}</td>
|
||||
<td>{$ds['username']}</td>
|
||||
<td>{$ds['description']}</td>
|
||||
<td>{if $ds['enabled'] == 1}Enabled{else}Disabled{/if}</td>
|
||||
<td>{if $ds['enabled'] == 1}{Lang::T('Enabled')}{else}{Lang::T('Disabled')}{/if}</td>
|
||||
<td>
|
||||
<a href="{$_url}routers/edit/{$ds['id']}"
|
||||
class="btn btn-info btn-xs">{Lang::T('Edit')}</a>
|
||||
@ -78,4 +78,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
{include file="sections/footer.tpl"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user