kopia lustrzana https://github.com/magicbug/Cloudlog
added multilanguage support
rodzic
d8b6ad0a9d
commit
0eaefcbf4a
|
@ -1,13 +1,13 @@
|
|||
<div class="container">
|
||||
<h1><?php echo $page_title; ?></h1>
|
||||
<h1><?php echo lang('statistics_timeline'); ?></h1>
|
||||
|
||||
<form class="form" action="<?php echo site_url('timeline'); ?>" method="post" enctype="multipart/form-data">
|
||||
<!-- Select Basic -->
|
||||
<div class="form-group row">
|
||||
<label class="col-md-1 control-label" for="band">Band</label>
|
||||
<label class="col-md-1 control-label" for="band"><?php echo lang('gen_hamradio_band') ?></label>
|
||||
<div class="col-md-3">
|
||||
<select id="band" name="band" class="form-control custom-select">
|
||||
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> >All</option>
|
||||
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all') ?></option>
|
||||
<?php foreach($worked_bands as $band) {
|
||||
echo '<option value="' . $band . '"';
|
||||
if ($this->input->post('band') == $band) echo ' selected';
|
||||
|
@ -16,10 +16,10 @@
|
|||
</select>
|
||||
</div>
|
||||
|
||||
<label class="col-md-1 control-label" for="mode">Mode</label>
|
||||
<label class="col-md-1 control-label" for="mode"><?php echo lang('gen_hamradio_mode') ?></label>
|
||||
<div class="col-md-3">
|
||||
<select id="mode" name="mode" class="form-control custom-select">
|
||||
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> >All</option>
|
||||
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all') ?></option>
|
||||
<?php
|
||||
foreach($modes->result() as $mode){
|
||||
if ($mode->submode == null) {
|
||||
|
@ -38,7 +38,7 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-md-1 control-label" for="award">Award</label>
|
||||
<label class="col-md-1 control-label" for="award"><?php echo lang('gen_hamradio_award') ?></label>
|
||||
<div class="col-md-3">
|
||||
<select id="award" name="award" class="form-control custom-select">
|
||||
<option value="dxcc" <?php if ($this->input->post('award') == "dxcc") echo ' selected'; ?> >DX Century Club (DXCC)</option>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<option value="vucc" <?php if ($this->input->post('award') == "vucc") echo ' selected'; ?> >VHF / UHF Century Club (VUCC)</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-1 control-label">Confirmation</div>
|
||||
<div class="col-md-1 control-label"><?php echo lang('general_word_confirmation') ?></div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="qsl" value="1" id="qsl" <?php if ($this->input->post('qsl')) echo ' checked="checked"'; ?> >
|
||||
|
@ -68,7 +68,7 @@
|
|||
<div class="form-group row">
|
||||
<label class="col-md-1 control-label" for="button1id"></label>
|
||||
<div class="col-md-10">
|
||||
<button id="button1id" type="submit" name="button1id" class="btn btn-primary">Show</button>
|
||||
<button id="button1id" type="submit" name="button1id" class="btn btn-primary"><?php echo lang('filter_options_show') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -113,11 +113,11 @@ function write_dxcc_timeline($timeline_array, $custom_date_format, $bandselect,
|
|||
<tr>
|
||||
<td>#</td>
|
||||
<td>'.$ci->lang->line('general_word_date').'</td>
|
||||
<td>Prefix</td>
|
||||
<td>'.$ci->lang->line('gen_hamradio_prefix').'</td>
|
||||
<td>'.$ci->lang->line('general_word_country').'</td>
|
||||
<td>Status</td>
|
||||
<td>End Date</td>
|
||||
<td>Show QSOs</td>
|
||||
<td>'.$ci->lang->line('station_logbooks_status').'</td>
|
||||
<td>'.$ci->lang->line('general_word_enddate').'</td>
|
||||
<td>'.$ci->lang->line('gridsquares_show_qsos').'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
|
@ -148,7 +148,7 @@ function write_was_timeline($timeline_array, $custom_date_format, $bandselect, $
|
|||
<td>#</td>
|
||||
<td>'.$ci->lang->line('general_word_date').'</td>
|
||||
<td>'.$ci->lang->line('gen_hamradio_state').'</td>
|
||||
<td>Show QSOs</td>
|
||||
<td>'.$ci->lang->line('gridsquares_show_qsos').'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
|
@ -159,7 +159,7 @@ function write_was_timeline($timeline_array, $custom_date_format, $bandselect, $
|
|||
<td>' . $i-- . '</td>
|
||||
<td>' . date($custom_date_format, $date_as_timestamp) . '</td>
|
||||
<td>' . $line->col_state . '</td>
|
||||
<td><a href=javascript:displayTimelineContacts("' . $line->col_state . '","'. $bandselect . '","'. $modeselect . '","' . $award .'")>Show</a></td>
|
||||
<td><a href=javascript:displayTimelineContacts("' . $line->col_state . '","'. $bandselect . '","'. $modeselect . '","' . $award .'")>'.$ci->lang->line('filter_options_show').'</a></td>
|
||||
</tr>';
|
||||
}
|
||||
echo '</tfoot></table></div>';
|
||||
|
@ -173,10 +173,10 @@ function write_iota_timeline($timeline_array, $custom_date_format, $bandselect,
|
|||
<tr>
|
||||
<td>#</td>
|
||||
<td>'.$ci->lang->line('general_word_date').'</td>
|
||||
<td>IOTA</td>
|
||||
<td>Name</td>
|
||||
<td>Prefix</td>
|
||||
<td>Show QSOs</td>
|
||||
<td>'.$ci->lang->line('gen_hamradio_iota').'</td>
|
||||
<td>'.$ci->lang->line('general_word_name').'</td>
|
||||
<td>'.$ci->lang->line('gen_hamradio_prefix').'</td>
|
||||
<td>'.$ci->lang->line('gridsquares_show_qsos').'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
|
@ -203,8 +203,8 @@ function write_waz_timeline($timeline_array, $custom_date_format, $bandselect, $
|
|||
<tr>
|
||||
<td>#</td>
|
||||
<td>'.$ci->lang->line('general_word_date').'</td>
|
||||
<td>CQ Zone</td>
|
||||
<td>Show QSOs</td>
|
||||
<td>'.$ci->lang->line('gen_hamradio_cqzone').'</td>
|
||||
<td>'.$ci->lang->line('gridsquares_show_qsos').'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
|
@ -230,7 +230,7 @@ function write_vucc_timeline($timeline_array, $custom_date_format, $bandselect,
|
|||
<td>#</td>
|
||||
<td>'.$ci->lang->line('general_word_date').'</td>
|
||||
<td>'.$ci->lang->line('gen_hamradio_gridsquare').'</td>
|
||||
<td>Show QSOs</td>
|
||||
<td>'.$ci->lang->line('gridsquares_show_qsos').'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
|
|
Ładowanie…
Reference in New Issue