Merge pull request #382 from ahmadhusein17/Development

Language fixes
This commit is contained in:
iBNu Maksum 2025-01-19 15:31:36 +07:00 committed by GitHub
commit 3502be2c78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
24 changed files with 95 additions and 95 deletions

View File

@ -46,7 +46,7 @@
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the balance top-up process?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the balance top-up process?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}services/balance">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -55,7 +55,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the process of changing the balance contents?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the process of changing the balance contents?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}services/balance">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -69,7 +69,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the Bandwidth addition process?')" type="submit">{Lang::T('Save')}</button>
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the Bandwidth addition process?")}')" type="submit">{Lang::T('Save')}</button>
Or <a href="{$_url}bandwidth/list">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -81,13 +81,13 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<small>{Lang::T('Editing Bandwidth will not automatically update the plan, you need to edit the plan then save again')}</small>
<small>{Lang::T('Editing Bandwidth will not automatically update the package, you need to edit the package then save again')}</small>
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the Bandwidth change process?')" type="submit">{Lang::T('Save Change')}</button>
Or <a href="{$_url}bandwidth/list">{Lang::T('Cancel')}</a>
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the Bandwidth change process?")}')" type="submit">{Lang::T('Save Change')}</button>
{Lang::T("Or")} <a href="{$_url}bandwidth/list">{Lang::T('Cancel')}</a>
</div>
</div>
</form>

View File

@ -38,7 +38,7 @@
<div class="form-group">
<label class="col-md-2 control-label">{Lang::T('Discount Value')}</label>
<div class="col-md-6">
<input type="number" class="form-control" name="value" id="value" step="0.01" placeholder="Enter amount" required>
<input type="number" class="form-control" name="value" id="value" step="0.01" placeholder="{Lang::T("Enter amoun")}" required>
<p class="help-block"><small id="value-help">{Lang::T('Value of the discount (amount or percentage)')}</small></p>
</div>
</div>
@ -132,11 +132,11 @@
if (type === 'percent') {
valueInput.setAttribute('max', '100');
valueInput.setAttribute('placeholder', 'Enter percentage');
valueInput.setAttribute('placeholder', '{Lang::T("Enter percentage")}');
helpText.textContent = '{Lang::T('Value of the discount (percentage, max 100)')}';
} else {
valueInput.removeAttribute('max');
valueInput.setAttribute('placeholder', 'Enter amount');
valueInput.setAttribute('placeholder', '{Lang::T("Enter amount")}');
helpText.textContent = '{Lang::T('Value of the discount (amount)')}';
}
}
@ -150,4 +150,4 @@
{include file="sections/footer.tpl"}
{include file="sections/footer.tpl"}

View File

@ -134,11 +134,11 @@
if (type === 'percent') {
valueInput.setAttribute('max', '100');
valueInput.setAttribute('placeholder', 'Enter percentage');
valueInput.setAttribute('placeholder', '{Lang::T("Enter percentage")}');
helpText.textContent = '{Lang::T('Value of the discount(percentage, max 100)')}';
} else {
valueInput.removeAttribute('max');
valueInput.setAttribute('placeholder', 'Enter amount');
valueInput.setAttribute('placeholder', '{Lang::T("Enter amount")}');
helpText.textContent = '{Lang::T('Value of the discount(amount)')}';
}
}
@ -146,4 +146,4 @@
{include file="sections/footer.tpl"}
{include file="sections/footer.tpl"}

View File

@ -19,7 +19,7 @@
class="glyphicon glyphicon-user"></i></span>
{/if}
<input type="text" class="form-control" name="username" required
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Username')}{/if}">
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Usernames')}{/if}">
</div>
</div>
</div>
@ -59,7 +59,7 @@
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Address')}</label>
<label class="col-md-3 control-label">{Lang::T('Home Address')}</label>
<div class="col-md-9">
<textarea name="address" id="address" class="form-control"></textarea>
</div>
@ -72,7 +72,7 @@
</option>
<option value="PPPoE">PPPoE</option>
<option value="VPN">VPN</option>
<option value="Others">{Lang::T('Others')}</option>
<option value="Others">{Lang::T('Other')}</option>
</select>
</div>
</div>
@ -95,10 +95,10 @@
</div>
</div>
</div>
<div class="panel-heading">PPPOE</div>
<div class="panel-heading">PPPoE</div>
<div class="panel-body">
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Username')} <span class="label label-danger" id="warning_username"></span></label>
<label class="col-md-3 control-label">{Lang::T('Usernames')} <span class="label label-danger" id="warning_username"></span></label>
<div class="col-md-9">
<input type="username" class="form-control" id="pppoe_username" name="pppoe_username" onkeyup="checkUsername(this, '0')">
<span class="help-block">{Lang::T('Not Working for freeradius')}</span>
@ -125,7 +125,7 @@
<div class="panel-heading"></div>
<div class="panel-body">
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Send Welcome Message')}</label>
<label class="col-md-3 control-label">{Lang::T('Send welcome message')}</label>
<div class="col-md-9">
<label class="switch">
<input type="checkbox" id="send_welcome_message" value="1" name="send_welcome_message">
@ -134,7 +134,7 @@
</div>
</div>
<div class="form-group" id="method" style="display: none;">
<label class="col-md-3 control-label">{Lang::T('Method')}</label>
<label class="col-md-3 control-label">{Lang::T('Notification via')}</label>
<label class="col-md-3 control-label"><input type="checkbox" name="sms" value="1">
{Lang::T('SMS')}</label>
<label class="col-md-2 control-label"><input type="checkbox" name="wa" value="1">
@ -204,7 +204,7 @@
</div>
</div>
<center>
<button class="btn btn-primary" onclick="return ask(this, 'Continue the process of adding Customer Data?')" type="submit">
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the process of adding Customer Data?")}')" type="submit">
{Lang::T('Save Changes')}
</button>
<br><a href="{$_url}customers/list" class="btn btn-link">{Lang::T('Cancel')}</a>
@ -236,7 +236,7 @@
if (!oneChecked) {
event.preventDefault();
alert('Please choose at least one method.');
alert('Please choose at least one method notification.');
methodSection.focus();
}
}

View File

@ -11,7 +11,7 @@
<center>
<img src="{$UPLOAD_PATH}{$d['photo']}.thumb.jpg" width="200"
onerror="this.src='{$UPLOAD_PATH}/user.default.jpg'" class="img-circle img-responsive"
alt="Foto" onclick="return deletePhoto({$d['id']})">
alt="Photo" onclick="return deletePhoto({$d['id']})">
</center><br>
<input type="hidden" name="id" value="{$d['id']}">
<div class="form-group">
@ -20,11 +20,11 @@
<input type="file" class="form-control" name="photo" accept="image/*">
</div>
<div class="form-group col-md-3 col-xs-4" title="Not always Working">
<label class=""><input type="checkbox" checked name="faceDetect" value="yes"> Facedetect</label>
<label class=""><input type="checkbox" checked name="faceDetect" value="yes"> {Lang::T("Face Detection")}</label>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Username')}</label>
<label class="col-md-3 control-label">{Lang::T('Usernames')}</label>
<div class="col-md-9">
<div class="input-group">
{if $_c['country_code_phone']!= ''}
@ -36,7 +36,7 @@
{/if}
<input type="text" class="form-control" name="username" value="{$d['username']}"
required
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Username')}{/if}">
placeholder="{if $_c['country_code_phone']!= ''}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Usernames')}{/if}">
</div>
</div>
</div>
@ -78,7 +78,7 @@
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Address')}</label>
<label class="col-md-3 control-label">{Lang::T('Home Address')}</label>
<div class="col-md-9">
<textarea name="address" id="address" class="form-control">{$d['address']}</textarea>
</div>
@ -91,7 +91,7 @@
</option>
<option value="PPPoE" {if $d['service_type'] eq 'PPPoE' }selected{/if}>PPPoE</option>
<option value="VPN" {if $d['service_type'] eq 'VPN' }selected{/if}>VPN</option>
<option value="Others" {if $d['service_type'] eq 'Others' }selected{/if}>Others</option>
<option value="Others" {if $d['service_type'] eq 'Others' }selected{/if}>{Lang::T("Other")}</option>
</select>
</div>
</div>
@ -99,9 +99,9 @@
<label class="col-md-3 control-label">{Lang::T('Account Type')}</label>
<div class="col-md-9">
<select class="form-control" id="account_type" name="account_type">
<option value="Personal" {if $d['account_type'] eq 'Personal' }selected{/if}>Personal
<option value="Personal" {if $d['account_type'] eq 'Personal' }selected{/if}>{Lang::T("Personal")}
</option>
<option value="Business" {if $d['account_type'] eq 'Business' }selected{/if}>Business
<option value="Business" {if $d['account_type'] eq 'Business' }selected{/if}>{Lang::T("Business")}
</option>
</select>
</div>
@ -126,16 +126,16 @@
<span class="help-block">
{Lang::T('Banned')}: {Lang::T('Customer cannot login again')}.<br>
{Lang::T('Disabled')}:
{Lang::T('Customer can login but cannot buy internet plan, Admin cannot recharge customer')}.<br>
{Lang::T('Don\'t forget to deactivate all active plan too')}.
{Lang::T('Customer can login but cannot buy internet package, Admin cannot recharge customer')}.<br>
{Lang::T("Don't forget to deactivate all active package too")}.
</span>
</div>
</div>
</div>
<div class="panel-heading">PPPOE</div>
<div class="panel-heading">PPPoE</div>
<div class="panel-body">
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Username')} <span class="label label-danger"
<label class="col-md-3 control-label">{Lang::T('Usernames')} <span class="label label-danger"
id="warning_username"></span></label>
<div class="col-md-9">
<input type="username" class="form-control" id="pppoe_username" name="pppoe_username"
@ -232,7 +232,7 @@
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Zip')}</label>
<label class="col-md-3 control-label">{Lang::T('Zip Code')}</label>
<div class="col-md-9">
<input type="text" class="form-control" id="zip" name="zip" value="{$d['zip']}">
<small class="form-text text-muted">{Lang::T('Zip Code')}</small>
@ -243,7 +243,7 @@
</div>
</div>
<center>
<button class="btn btn-primary" onclick="return ask(this, 'Continue the Customer Data change process?')"
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the Customer Data change process?")}')"
type="submit">
{Lang::T('Save Changes')}
</button>
@ -336,4 +336,4 @@
}
</script>
{include file="sections/footer.tpl"}
{include file="sections/footer.tpl"}

View File

@ -10,7 +10,7 @@
<label class="col-md-2 control-label">{Lang::T('Status')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Customer cannot buy disabled Package, but admin can recharge it, use it if you want only admin recharge it">?</a>
data-content="{Lang::T("Customer cannot buy disabled Package, but admin can recharge it, use it if you want only admin recharge it")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" name="enabled" value="1" checked> {Lang::T('Active')}
@ -21,7 +21,7 @@
<label class="col-md-2 control-label">{Lang::T('Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Postpaid will have fix expired date">?</a>
data-content="{Lang::T("Postpaid will have fix expired date")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" name="prepaid" onclick="prePaid()" value="yes" checked> {Lang::T('Prepaid')}
@ -33,7 +33,7 @@
<label class="col-md-2 control-label">{Lang::T('Package Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Personal Plan will only show to personal Customer, Business package will only show to Business Customer">?</a>
data-content="{Lang::T("Personal Plan will only show to personal Customer, Business package will only show to Business Customer")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" name="plan_type" value="Personal" checked> {Lang::T('Personal')}
@ -45,7 +45,7 @@
<label class="col-md-2 control-label">Radius
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="If you enable Radius, choose device to radius, except if you have custom device.">?</a>
data-content="{Lang::T("If you enable Radius, choose device to radius, except if you have custom device.")}">?</a>
</label>
<div class="col-md-6">
<label class="radio-inline">
@ -59,7 +59,7 @@
<label class="col-md-2 control-label">{Lang::T('Device')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices">?</a>
data-content="{Lang::T("This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices")}">?</a>
</label>
<div class="col-md-6">
<select class="form-control" id="device" name="device">
@ -158,7 +158,7 @@
<label class="col-md-2 control-label">{Lang::T('Shared Users')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="How many devices can online in one Customer account">?</a>
data-content="{Lang::T("How many devices can online in one Customer account")}">?</a>
</label>
<div class="col-md-6">
<input type="text" class="form-control" id="sharedusers" name="sharedusers" value="1">
@ -180,7 +180,7 @@
<label class="col-md-2 control-label">{Lang::T('Expired Date')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Expired will be this date every month">?</a>
data-content="{Lang::T("Expired will be this date every month")}">?</a>
</label>
<div class="col-md-6">
<input type="number" class="form-control" name="expired_date" maxlength="2" value="20" min="1" max="28" step="1" >
@ -203,7 +203,7 @@
</span>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the Hotspot Package creation process?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the Hotspot Package creation process?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}services/hotspot">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -12,7 +12,7 @@
<label class="col-md-3 control-label">{Lang::T('Status')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
data-content="{Lang::T("Customer cannot buy disabled Package, but admin can recharge it, use it if you want only admin recharge it")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="enabled" value="1" {if $d['enabled'] == 1}checked{/if}> {Lang::T('Active')}
@ -23,7 +23,7 @@
<label class="col-md-3 control-label">{Lang::T('Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Postpaid will have fix expired date">?</a>
data-content="{Lang::T("Postpaid will have fix expired date")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="prepaid" onclick="prePaid()" value="yes"
@ -37,7 +37,7 @@
<label class="col-md-3 control-label">{Lang::T('Package Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Personal Plan will only show to personal Customer, Business plan will only show to Business Customer">?</a>
data-content="{Lang::T("Personal Package will only show to personal Customer, Business package will only show to Business Customer")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="plan_type" value="Personal"
@ -52,7 +52,7 @@
<label class="col-md-3 control-label">Radius
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="If you enable Radius, choose device to radius, except if you have custom device.">?</a>
data-content="{Lang::T("If you enable Radius, choose device to radius, except if you have custom device.")}">?</a>
</label>
<div class="col-md-9">
<label class="label label-primary">RADIUS</label>
@ -63,7 +63,7 @@
<label class="col-md-3 control-label">{Lang::T('Device')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices">?</a>
data-content="{Lang::T("This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices")}">?</a>
</label>
<div class="col-md-9">
<select class="form-control" id="device" name="device">
@ -183,7 +183,7 @@
<label class="col-md-3 control-label">{Lang::T('Shared Users')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="How many devices can online in one Customer account">?</a>
data-content="{Lang::T("How many devices can online in one Customer account")}">?</a>
</label>
<div class="col-md-9">
<input type="text" class="form-control" id="sharedusers" name="sharedusers"
@ -220,7 +220,7 @@
<label class="col-md-3 control-label">{Lang::T('Expired Date')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Expired will be this date every month">?</a>
data-content="{Lang::T("Expired will be this date every month")}">?</a>
</label>
<div class="col-md-9">
<input type="number" class="form-control" name="expired_date" maxlength="2"
@ -278,8 +278,8 @@
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-9">
<button class="btn btn-success" onclick="return ask(this, 'Continue the process of changing Hotspot Package data?')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}services/hotspot">{Lang::T('Cancel')}</a>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the process of changing Hotspot Package data?")}')" type="submit">{Lang::T('Save Changes')}</button>
{Lang::T("Or")} <a href="{$_url}services/hotspot">{Lang::T('Cancel')}</a>
</div>
</div>
</form>

View File

@ -18,7 +18,7 @@
{/foreach}
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the process of adding Languages?')"
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the process of adding Languages?")}')"
type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}settings/localisation">{Lang::T('Cancel')}</a>
</div>

View File

@ -40,7 +40,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the Pool addition process?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the Pool addition process?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}pool/list">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -38,7 +38,7 @@
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the Port change process?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the Port change process?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}pool/list">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -37,7 +37,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the process of adding Ports?')" type="submit">{Lang::T('Save')}</button>
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the process of adding Ports?")}')" type="submit">{Lang::T('Save')}</button>
Or <a href="{$_url}pool/port">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -35,7 +35,7 @@
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the Port change process?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the Port change process?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}pool/port">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -10,7 +10,7 @@
<label class="col-md-2 control-label">{Lang::T('Status')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
data-content="{Lang::T("Customer cannot buy disabled Package, but admin can recharge it, use it if you want only admin recharge it")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" checked name="enabled" value="1"> {Lang::T('Enable')}
@ -21,7 +21,7 @@
<label class="col-md-2 control-label">{Lang::T('Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Postpaid will have fix expired date">?</a>
data-content="{Lang::T("Postpaid will have fix expired date")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" name="prepaid" onclick="prePaid()" value="yes" checked> {Lang::T('Prepaid')}
@ -32,7 +32,7 @@
<label class="col-md-2 control-label">{Lang::T('Plan Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Personal Plan will only show to personal Customer, Business plan will only show to Business Customer">?</a>
data-content="{Lang::T("Personal Package will only show to personal Customer, Business package will only show to Business Customer")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" name="plan_type" value="Personal" checked> {Lang::T('Personal')}
@ -44,7 +44,7 @@
<label class="col-md-2 control-label">Radius
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="If you enable Radius, choose device to radius, except if you have custom device.">?</a>
data-content="{Lang::T("If you enable Radius, choose device to radius, except if you have custom device.")}">?</a>
</label>
<div class="col-md-6">
<input type="checkbox" name="radius" onclick="isRadius(this)" value="1"> Radius Plan
@ -56,7 +56,7 @@
<label class="col-md-2 control-label">{Lang::T('Device')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices">?</a>
data-content="{Lang::T("This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices")}">?</a>
</label>
<div class="col-md-6">
<select class="form-control" id="device" name="device">
@ -118,7 +118,7 @@
<label class="col-md-2 control-label">{Lang::T('Expired Date')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Expired will be this date every month">?</a>
data-content="{Lang::T("Expired will be this date every month")}">?</a>
</label>
<div class="col-md-6">
<input type="number" class="form-control" name="expired_date" maxlength="2" value="20" min="1" max="28" step="1" >
@ -147,7 +147,7 @@
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the process of adding the PPPoE Package?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the process of adding the PPPoE Package?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}services/pppoe">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -11,7 +11,7 @@
<label class="col-md-3 control-label">{Lang::T('Status')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
data-content="{Lang::T("Customer cannot buy disabled Package, but admin can recharge it, use it if you want only admin recharge it")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="enabled" value="1" {if $d['enabled'] == 1}checked{/if}> {Lang::T('Enable')}
@ -22,7 +22,7 @@
<label class="col-md-3 control-label">{Lang::T('Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Postpaid will have fix expired date">?</a>
data-content="{Lang::T("Postpaid will have fix expired date")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="prepaid" onclick="prePaid()" value="yes"
@ -36,7 +36,7 @@
<label class="col-md-3 control-label">{Lang::T('Plan Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Personal Plan will only show to personal Customer, Business plan will only show to Business Customer">?</a>
data-content="{Lang::T("Personal Package will only show to personal Customer, Business Package will only show to Business Customer")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="plan_type" value="Personal"
@ -51,7 +51,7 @@
<label class="col-md-3 control-label">Radius
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="If you enable Radius, choose device to radius, except if you have custom device.">?</a>
data-content="{Lang::T("If you enable Radius, choose device to radius, except if you have custom device.")}">?</a>
</label>
<div class="col-md-9">
<label class="label label-primary">RADIUS</label>
@ -62,7 +62,7 @@
<label class="col-md-3 control-label">{Lang::T('Device')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices">?</a>
data-content="{Lang::T("This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices")}">?</a>
</label>
<div class="col-md-9">
<select class="form-control" id="device" name="device">
@ -73,7 +73,7 @@
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">{Lang::T('Plan Name')}</label>
<label class="col-md-3 control-label">{Lang::T('Package Name')}</label>
<div class="col-md-9">
<input type="text" class="form-control" id="name_plan" maxlength="40" name="name_plan"
value="{$d['name_plan']}">
@ -92,7 +92,7 @@
</div>
</div>
<div class="form-group has-success">
<label class="col-md-3 control-label">{Lang::T('Plan Price')}</label>
<label class="col-md-3 control-label">{Lang::T('Package Price')}</label>
<div class="col-md-9">
<div class="input-group">
<span class="input-group-addon">{$_c['currency_code']}</span>
@ -149,7 +149,7 @@
<label class="col-md-3 control-label">{Lang::T('Expired Date')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Expired will be this date every month">?</a>
data-content="{Lang::T("Expired will be this date every month")}">?</a>
</label>
<div class="col-md-9">
<input type="number" class="form-control" name="expired_date" maxlength="2"
@ -214,7 +214,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the PPPoE Package change process?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the PPPoE Package change process?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}services/pppoe">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -71,7 +71,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the process of adding Radius NAS?')"
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the process of adding Radius NAS?")}')"
type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}radius/nas-list">{Lang::T('Cancel')}</a>
</div>

View File

@ -71,7 +71,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the process of changing the Radius of the NAS?')"
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the process of changing the Radius of the NAS?")}')"
type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}radius/nas-list">{Lang::T('Cancel')}</a>
</div>

View File

@ -61,7 +61,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the process of adding Routers?')"
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the process of adding Routers?")}')"
type="submit">{Lang::T('Save')}</button>
Or <a href="{$_url}routers/list">{Lang::T('Cancel')}</a>
</div>

View File

@ -78,7 +78,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the process of changing Routers?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the process of changing Routers?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}routers/list">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -81,7 +81,7 @@
<div class="form-group" id="printers" style="display:none;">
<label class="col-md-2 control-label">{Lang::T('Vouchers Per Page')}</label>
<div class="col-md-6">
<input type="text" id="voucher-print" class="form-control" name="voucher_per_page" value="36" placeholder="Vouchers Per Page (default 36)">
<input type="text" id="voucher-print" class="form-control" name="voucher_per_page" value="36" placeholder="{Lang::T("Vouchers Per Page")} (default 36)">
</div>
<p class="help-block col-md-4">
{Lang::T('Vouchers Per Page')} (default 36)
@ -89,7 +89,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the Voucher creation process?')" type="submit">{Lang::T('Generate')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the Voucher creation process?")}')" type="submit">{Lang::T('Generate')}</button>
</div>
</div>
</form>
@ -117,4 +117,4 @@
}
</script>
{include file="sections/footer.tpl"}
{include file="sections/footer.tpl"}

View File

@ -10,7 +10,7 @@
<label class="col-md-2 control-label">{Lang::T('Status')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
data-content="{Lang::T("Customer cannot buy disabled Package, but admin can recharge it, use it if you want only admin recharge it")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" checked name="enabled" value="1"> {Lang::T('Enable')}
@ -21,7 +21,7 @@
<label class="col-md-2 control-label">{Lang::T('Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Postpaid will have fix expired date">?</a>
data-content="{Lang::T("Postpaid will have fix expired date")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" name="prepaid" onclick="prePaid()" value="yes" checked> {Lang::T('Prepaid')}
@ -32,7 +32,7 @@
<label class="col-md-2 control-label">{Lang::T('Plan Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Personal Plan will only show to personal Customer, Business plan will only show to Business Customer">?</a>
data-content="{Lang::T("Personal Package will only show to personal Customer, Business Package will only show to Business Customer")}">?</a>
</label>
<div class="col-md-10">
<input type="radio" name="plan_type" value="Personal" checked> {Lang::T('Personal')}
@ -43,7 +43,7 @@
<label class="col-md-2 control-label">{Lang::T('Device')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices">?</a>
data-content="{Lang::T("This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices")}">?</a>
</label>
<div class="col-md-6">
<select class="form-control" id="device" name="device">
@ -105,7 +105,7 @@
<label class="col-md-2 control-label">{Lang::T('Expired Date')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Expired will be this date every month">?</a>
data-content="{Lang::T("Expired will be this date every month")}">?</a>
</label>
<div class="col-md-6">
<input type="number" class="form-control" name="expired_date" maxlength="2" value="20" min="1" max="28" step="1" >
@ -134,7 +134,7 @@
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<button class="btn btn-primary" onclick="return ask(this, 'Continue the VPN creation process?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-primary" onclick="return ask(this, '{Lang::T("Continue the VPN creation process?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}services/pppoe">{Lang::T('Cancel')}</a>
</div>
</div>

View File

@ -11,7 +11,7 @@
<label class="col-md-3 control-label">{Lang::T('Status')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Customer cannot buy disabled Plan, but admin can recharge it, use it if you want only admin recharge it">?</a>
data-content="{Lang::T("Customer cannot buy disabled Package, but admin can recharge it, use it if you want only admin recharge it")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="enabled" value="1" {if $d['enabled'] == 1}checked{/if}> {Lang::T('Enable')}
@ -22,7 +22,7 @@
<label class="col-md-3 control-label">{Lang::T('Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Postpaid will have fix expired date">?</a>
data-content="{Lang::T("Postpaid will have fix expired date")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="prepaid" onclick="prePaid()" value="yes"
@ -36,7 +36,7 @@
<label class="col-md-3 control-label">{Lang::T('Plan Type')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Personal Plan will only show to personal Customer, Business plan will only show to Business Customer">?</a>
data-content="{Lang::T("Personal Package will only show to personal Customer, Business Package will only show to Business Customer")}">?</a>
</label>
<div class="col-md-9">
<input type="radio" name="plan_type" value="Personal"
@ -51,7 +51,7 @@
<label class="col-md-3 control-label">Radius
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="If you enable Radius, choose device to radius, except if you have custom device.">?</a>
data-content="{Lang::T("If you enable Radius, choose device to radius, except if you have custom device.")}">?</a>
</label>
<div class="col-md-9">
<label class="label label-primary">RADIUS</label>
@ -62,7 +62,7 @@
<label class="col-md-3 control-label">{Lang::T('Device')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices">?</a>
data-content="{Lang::T("This Device are the logic how PHPNuxBill Communicate with Mikrotik or other Devices")}">?</a>
</label>
<div class="col-md-9">
<select class="form-control" id="device" name="device">
@ -149,7 +149,7 @@
<label class="col-md-3 control-label">{Lang::T('Expired Date')}
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="Expired will be this date every month">?</a>
data-content="{Lang::T("Expired will be this date every month")}">?</a>
</label>
<div class="col-md-9">
<input type="number" class="form-control" name="expired_date" maxlength="2"
@ -214,7 +214,7 @@
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-success" onclick="return ask(this, 'Continue the VPN creation process?')" type="submit">{Lang::T('Save Changes')}</button>
<button class="btn btn-success" onclick="return ask(this, '{Lang::T("Continue the VPN creation process?")}')" type="submit">{Lang::T('Save Changes')}</button>
Or <a href="{$_url}services/vpn">{Lang::T('Cancel')}</a>
</div>
</div>