Merge branch 'Development' into TemplateRedesigned

This commit is contained in:
Ibnu Maksum 2024-08-19 11:57:35 +07:00
commit cb3caef529
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
7 changed files with 23 additions and 23 deletions

View file

@ -440,7 +440,7 @@ switch ($action) {
// Send welcome message // Send welcome message
if (isset($_POST['send_welcome_message']) && $_POST['send_welcome_message'] == true) { if (isset($_POST['send_welcome_message']) && $_POST['send_welcome_message'] == true) {
$welcomeMessage = Lang::getNotifText('welcome_message'); $welcomeMessage = Lang::getNotifText('welcome_message');
$welcomeMessage = str_replace('[[company_name]]', $config['CompanyName'], $welcomeMessage); $welcomeMessage = str_replace('[[company]]', $config['CompanyName'], $welcomeMessage);
$welcomeMessage = str_replace('[[name]]', $d['fullname'], $welcomeMessage); $welcomeMessage = str_replace('[[name]]', $d['fullname'], $welcomeMessage);
$welcomeMessage = str_replace('[[username]]', $d['username'], $welcomeMessage); $welcomeMessage = str_replace('[[username]]', $d['username'], $welcomeMessage);
$welcomeMessage = str_replace('[[password]]', $d['password'], $welcomeMessage); $welcomeMessage = str_replace('[[password]]', $d['password'], $welcomeMessage);

View file

@ -31,7 +31,7 @@
<tr> <tr>
<th>{Lang::T('Bandwidth Name')}</th> <th>{Lang::T('Bandwidth Name')}</th>
<th>{Lang::T('Rate')}</th> <th>{Lang::T('Rate')}</th>
<th>{Lang::T('Burst')}</th> <th>Burst</th>
<th>{Lang::T('Manage')}</th> <th>{Lang::T('Manage')}</th>
</tr> </tr>
</thead> </thead>
@ -57,7 +57,7 @@
</div> </div>
{include file="pagination.tpl"} {include file="pagination.tpl"}
<div class="bs-callout bs-callout-info" id="callout-navbar-role"> <div class="bs-callout bs-callout-info" id="callout-navbar-role">
<h4>{Lang::T('Create Bandwitdh Plan for expired Internet Plan')}</h4> <h4>{Lang::T('Create Bandwidth Plan for expired Internet Plan')}</h4>
<p>{Lang::T('When customer expired, you can move it to Expired Internet Plan')}</p> <p>{Lang::T('When customer expired, you can move it to Expired Internet Plan')}</p>
</div> </div>
</div> </div>

View file

@ -3,7 +3,7 @@
<div class="row"> <div class="row">
<div class="col-sm-7"> <div class="col-sm-7">
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading">Backup Database</div> <div class="panel-heading">{Lang::T('Backup Database')}</div>
<form method="post" action="{$_url}settings/dbbackup"> <form method="post" action="{$_url}settings/dbbackup">
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-bordered"> <table class="table table-bordered">
@ -27,7 +27,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-md-6">Dont select logs if it failed</div> <div class="col-md-6">{Lang::T('Dont select logs if it failed')}</div>
<div class="col-md-4 text-right"> <div class="col-md-4 text-right">
<button type="submit" class="btn btn-primary btn-xs btn-block"><i <button type="submit" class="btn btn-primary btn-xs btn-block"><i
class="fa fa-download"></i> class="fa fa-download"></i>
@ -53,7 +53,7 @@
</div> </div>
</div> </div>
</form> </form>
<div class="panel-footer">Restoring database will clean up data and then restore all the data</div> <div class="panel-footer">{Lang::T('Restoring database will clean up data and then restore all the data')}</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -13,8 +13,8 @@
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a> data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
</label> </label>
<div class="col-md-10"> <div class="col-md-10">
<input type="radio" name="enabled" value="1" checked> Enable <input type="radio" name="enabled" value="1" checked> {Lang::T('Enable')}
<input type="radio" name="enabled" value="0"> Disable <input type="radio" name="enabled" value="0"> {Lang::T('Disable')}
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">

View file

@ -174,8 +174,8 @@
<div class="panel-footer"> <div class="panel-footer">
{include file="pagination.tpl"} {include file="pagination.tpl"}
<div class="bs-callout bs-callout-info" id="callout-navbar-role"> <div class="bs-callout bs-callout-info" id="callout-navbar-role">
<h4>Create expired Internet Plan</h4> <h4>{Lang::T('Create expired Internet Plan')}</h4>
<p>When customer expired, you can move it to Expired Internet Plan</p> <p>{Lang::T('When customer expired, you can move it to Expired Internet Plan')}</p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -29,7 +29,7 @@
{/if} {/if}
<button type="submit" class="btn btn-primary btn-block">SAVE</button> <button type="submit" class="btn btn-primary btn-block">SAVE</button>
<br> <br>
<p class="help-block">{Lang::T("Sometimes you need to refresh 3 times until content change")}</p> <p class="help-block">{Lang::T('Sometimes you need to refresh 3 times until content change')}</p>
<input type="text" class="form-control" onclick="this.select()" readonly <input type="text" class="form-control" onclick="this.select()" readonly
value="{$app_url}/pages/{$PageFile}.html"> value="{$app_url}/pages/{$PageFile}.html">
</div> </div>
@ -41,11 +41,11 @@
{if $PageFile=='Voucher'} {if $PageFile=='Voucher'}
<div class="panel-footer"> <div class="panel-footer">
<p class="help-block"> <p class="help-block">
<b>[[company_name]]</b> Your Company Name at Settings.<br> <b>[[company_name]]</b> {Lang::T('Your Company Name at Settings')}.<br>
<b>[[price]]</b> Plan Price.<br> <b>[[price]]</b> {Lang::T('Plan Price')}.<br>
<b>[[voucher_code]]</b> Voucher Code.<br> <b>[[voucher_code]]</b> {Lang::T('Voucher Code')}.<br>
<b>[[plan]]</b> Voucher Plan.<br> <b>[[plan]]</b> {Lang::T('Voucher Plan')}.<br>
<b>[[counter]]</b> Counter.<br> <b>[[counter]]</b> {Lang::T('Counter')}.<br>
</p> </p>
</div> </div>
{/if} {/if}

View file

@ -137,8 +137,8 @@
{include file="pagination.tpl"} {include file="pagination.tpl"}
<div class="bs-callout bs-callout-warning bg-gray"> <div class="bs-callout bs-callout-warning bg-gray">
<h4>Information</h4> <h4>{Lang::T('Information')}</h4>
<p>Export and Print will show all data without pagination.</p> <p>{Lang::T('Export and Print will show all data without pagination')}.</p>
</div> </div>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.5.1/dist/chart.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/chart.js@3.5.1/dist/chart.min.js"></script>