[LoTW][Translate] Reformatted all the text to use lang files for translation

This commit is contained in:
Peter Goodhall
2021-01-11 16:05:15 +00:00
parent f507acde67
commit fa940894fe
6 changed files with 104 additions and 52 deletions

View File

@@ -1,11 +1,11 @@
<div class="container lotw">
<h2><?php echo $page_title; ?></h2>
<h2><?php echo $this->lang->line('lotw_title'); ?></h2>
<!-- Card Starts -->
<div class="card">
<div class="card-header">
Upload Logbook of the World .p12 Certificate
<?php echo $this->lang->line('lotw_title_upload_p12_cert'); ?>
</div>
<div class="card-body">
@@ -16,37 +16,36 @@
<?php } ?>
<div class="alert alert-info" role="alert">
<h5>Export .p12 File Instructions</h5>
<h5><?php echo $this->lang->line('lotw_title_export_p12_file_instruction'); ?></h5>
<ul>
<li>Open TQSL &amp; go to the Callsign Certificates Tab</li>
<li>Right click on desired Callsign</li>
<li>Click "Save Callsign Certificate File" and do not add a password</li>
<li>Upload File below.</li>
<li><?php echo $this->lang->line('lotw_p12_export_step_one'); ?></li>
<li><?php echo $this->lang->line('lotw_p12_export_step_two'); ?></li>
<li><?php echo $this->lang->line('lotw_p12_export_step_three'); ?></li>
<li><?php echo $this->lang->line('lotw_p12_export_step_four'); ?></li>
</ul>
</div>
<?php echo form_open_multipart('lotw/do_cert_upload');?>
<div class="form-group">
<label for="exampleFormControlFile1">Upload LoTW P12 File</label>
<label for="exampleFormControlFile1"><?php echo $this->lang->line('lotw_title_upload_p12_cert'); ?></label>
<input type="file" name="userfile" class="form-control-file" id="exampleFormControlFile1">
</div>
<div class="form-group">
<label for="stationDXCCInput">Certificate DXCC</label>
<?php if ($dxcc_list->num_rows() > 0) { ?>
<select class="form-control" id="dxcc_select" name="dxcc" aria-describedby="stationCallsignInputHelp">
<option value=""></option>
<?php foreach ($dxcc_list->result() as $dxcc) { ?>
<option value="<?php echo $dxcc->name; ?>"><?php echo $dxcc->name; ?></option>
<?php } ?>
</select>
<?php } ?>
<small id="stationDXCCInputHelp" class="form-text text-muted">Certificate DXCC entity. For example: Scotland</small>
</div>
<button type="submit" value="upload" class="btn btn-primary">Upload File</button>
<div class="form-group">
<label for="stationDXCCInput"><?php echo $this->lang->line('lotw_certificate_dxcc'); ?></label>
<?php if ($dxcc_list->num_rows() > 0) { ?>
<select class="form-control" id="dxcc_select" name="dxcc" aria-describedby="stationCallsignInputHelp">
<option value=""></option>
<?php foreach ($dxcc_list->result() as $dxcc) { ?>
<option value="<?php echo $dxcc->name; ?>"><?php echo $dxcc->name; ?></option>
<?php } ?>
</select>
<?php } ?>
<small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo $this->lang->line('lotw_certificate_dxcc_help_text'); ?></small>
</div>
<button type="submit" value="upload" class="btn btn-primary"><?php echo $this->lang->line('lotw_btn_upload_file'); ?></button>
</form>
</div>