translation bands complete
这个提交包含在:
父节点
9472207e09
当前提交
a6d3832e74
共有 3 个文件被更改,包括 20 次插入 和 15 次删除
|
|
@ -21,32 +21,32 @@
|
|||
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label for="bandInput">Band</label>
|
||||
<label for="bandInput"><?php echo lang('gen_hamradio_band'); ?></label>
|
||||
<input type="text" class="form-control" name="band" id="bandInput" aria-describedby="bandInputHelp" required>
|
||||
<small id="bandInputHelp" class="form-text text-muted">Band name</small>
|
||||
<small id="bandInputHelp" class="form-text text-muted"><?php echo lang('options_bands_name_band'); ?></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="bandGroup">Bandgroup</label>
|
||||
<label for="bandGroup"><?php echo lang('gen_hamradio_bandgroup'); ?></label>
|
||||
<input type="text" class="form-control" name="bandgroup" id="bandGroup" aria-describedby="bandgroupInputHelp" required>
|
||||
<small id="bandgroupInputHelp" class="form-text text-muted">Name of bandgroup (E.g. hf, vhf, uhf, shf)</small>
|
||||
<small id="bandgroupInputHelp" class="form-text text-muted"><?php echo lang('options_bands_name_bandgroup'); ?></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="ssbqrg">SSB QRG</label>
|
||||
<label for="ssbqrg"><?php echo lang('options_bands_ssb_qrg'); ?></label>
|
||||
<input type="text" class="form-control" name="ssbqrg" id="ssbqrg" aria-describedby="ssbqrgInputHelp" required>
|
||||
<small id="ssbqrgInputHelp" class="form-text text-muted">Frequency for SSB QRG in band (must be in Hz)</small>
|
||||
<small id="ssbqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_ssb_qrg_hint'); ?></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dataqrg">DATA QRG</label>
|
||||
<label for="dataqrg"><?php echo lang('options_bands_data_qrg'); ?></label>
|
||||
<input type="text" class="form-control" name="dataqrg" id="dataqrg" aria-describedby="dataqrgInputHelp" required>
|
||||
<small id="dataqrgInputHelp" class="form-text text-muted">Frequency for DATA QRG in band (must be in Hz)</small>
|
||||
<small id="dataqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_data_qrg_hint'); ?></small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cwqrg">CW QRG</label>
|
||||
<label for="cwqrg"><?php echo lang('options_bands_cw_qrg'); ?></label>
|
||||
<input type="text" class="form-control" name="cwqrg" id="cwqrg" aria-describedby="cwqrgInputHelp" required>
|
||||
<small id="cwqrgInputHelp" class="form-text text-muted">Frequency for CW QRG in band (must be in Hz)</small>
|
||||
<small id="cwqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_cw_qrg_hint'); ?></small>
|
||||
</div>
|
||||
|
||||
<button type="button" onclick="createBand(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> Create band</button>
|
||||
<button type="button" onclick="createBand(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?php echo lang('options_save'); ?></button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -120,6 +120,11 @@ $wwff = 0;
|
|||
<br/>
|
||||
<p>
|
||||
<?php if($this->session->userdata('user_type') == '99') { ?>
|
||||
<script>
|
||||
var lang_options_bands_edit = '<?php echo lang('options_bands_edit'); ?>';
|
||||
var lang_options_bands_create = '<?php echo lang('options_bands_create'); ?>';
|
||||
var lang_admin_close = '<?php echo lang('admin_close'); ?>';
|
||||
</script>
|
||||
<button onclick="createBandDialog();" class="btn btn-primary btn-sm"><i class="fas fa-plus"></i> <?php echo lang('options_bands_create'); ?></button>
|
||||
<button onclick="activateAllBands();" class="btn btn-primary btn-sm"><?php echo lang('options_bands_activate_all'); ?></button>
|
||||
<button onclick="deactivateAllBands();" class="btn btn-primary btn-sm"><?php echo lang('options_bands_deactivate_all'); ?></button>
|
||||
|
|
|
|||
|
|
@ -42,13 +42,13 @@ function createBandDialog() {
|
|||
type: 'post',
|
||||
success: function (html) {
|
||||
BootstrapDialog.show({
|
||||
title: 'Create band',
|
||||
title: lang_options_bands_create,
|
||||
size: BootstrapDialog.SIZE_NORMAL,
|
||||
cssClass: 'create-band-dialog',
|
||||
nl2br: false,
|
||||
message: html,
|
||||
buttons: [{
|
||||
label: 'Close',
|
||||
label: lang_admin_close,
|
||||
action: function (dialogItself) {
|
||||
dialogItself.close();
|
||||
}
|
||||
|
|
@ -90,13 +90,13 @@ function editBandDialog(id) {
|
|||
},
|
||||
success: function (html) {
|
||||
BootstrapDialog.show({
|
||||
title: 'Edit band',
|
||||
title: lang_options_bands_edit,
|
||||
size: BootstrapDialog.SIZE_NORMAL,
|
||||
cssClass: 'edit-band-dialog',
|
||||
nl2br: false,
|
||||
message: html,
|
||||
buttons: [{
|
||||
label: 'Close',
|
||||
label: lang_admin_close,
|
||||
action: function (dialogItself) {
|
||||
dialogItself.close();
|
||||
}
|
||||
|
|
|
|||
正在加载…
在新工单中引用