Merge pull request #705 from daccle/add_SIG_and_SIG_INFO_fields
Add the possibilty to log SIG and SIG_INFO
这个提交包含在:
		
						当前提交
						522d589527
					
				
					共有  7 个文件被更改,包括 56 次插入 和 2 次删除
				
			
		|  | @ -114,6 +114,10 @@ class AdifHelper { | ||||||
| 
 | 
 | ||||||
|         $line .= $this->getAdifFieldLine("MY_SIG_INFO", $qso->station_sig_info); |         $line .= $this->getAdifFieldLine("MY_SIG_INFO", $qso->station_sig_info); | ||||||
| 
 | 
 | ||||||
|  |         $line .= $this->getAdifFieldLine("SIG", $qso->COL_SIG); | ||||||
|  | 
 | ||||||
|  |         $line .= $this->getAdifFieldLine("SIG_INFO", $qso->COL_SIG_INFO); | ||||||
|  | 
 | ||||||
|         $line .= "<eor>\r\n"; |         $line .= "<eor>\r\n"; | ||||||
| 
 | 
 | ||||||
|         return $line; |         return $line; | ||||||
|  |  | ||||||
|  | @ -122,6 +122,8 @@ class Logbook_model extends CI_Model { | ||||||
|             'COL_CQZ' => $cqz, |             'COL_CQZ' => $cqz, | ||||||
|             'COL_STATE' => trim($this->input->post('usa_state')), |             'COL_STATE' => trim($this->input->post('usa_state')), | ||||||
|             'COL_SOTA_REF' => trim($this->input->post('sota_ref')), |             'COL_SOTA_REF' => trim($this->input->post('sota_ref')), | ||||||
|  |             'COL_SIG' => trim($this->input->post('sig')), | ||||||
|  |             'COL_SIG_INFO' => trim($this->input->post('sig_info')), | ||||||
|             'COL_DARC_DOK' => trim($this->input->post('darc_dok')), |             'COL_DARC_DOK' => trim($this->input->post('darc_dok')), | ||||||
| 	    'COL_NOTES' => $this->input->post('notes'), | 	    'COL_NOTES' => $this->input->post('notes'), | ||||||
|     ); |     ); | ||||||
|  | @ -605,6 +607,8 @@ class Logbook_model extends CI_Model { | ||||||
|        'COL_LOTW_QSL_RCVD' => $this->input->post('lotw_recv'), |        'COL_LOTW_QSL_RCVD' => $this->input->post('lotw_recv'), | ||||||
|        'COL_IOTA' => $this->input->post('iota_ref'), |        'COL_IOTA' => $this->input->post('iota_ref'), | ||||||
|        'COL_SOTA_REF' => $this->input->post('sota_ref'), |        'COL_SOTA_REF' => $this->input->post('sota_ref'), | ||||||
|  |        'COL_SIG' => $this->input->post('sig'), | ||||||
|  |        'COL_SIG_INFO' => $this->input->post('sig_info'), | ||||||
|        'COL_DARC_DOK' => $this->input->post('darc_dok'), |        'COL_DARC_DOK' => $this->input->post('darc_dok'), | ||||||
|        'COL_QTH' => $this->input->post('qth'), |        'COL_QTH' => $this->input->post('qth'), | ||||||
|        'COL_PROP_MODE' => $this->input->post('prop_mode'), |        'COL_PROP_MODE' => $this->input->post('prop_mode'), | ||||||
|  |  | ||||||
|  | @ -335,6 +335,16 @@ | ||||||
| 	                <input type="text" class="form-control" id="sota_ref" name="sota_ref" value="<?php echo $qso->COL_SOTA_REF; ?>"> | 	                <input type="text" class="form-control" id="sota_ref" name="sota_ref" value="<?php echo $qso->COL_SOTA_REF; ?>"> | ||||||
| 				</div> | 				</div> | ||||||
| 				 | 				 | ||||||
|  | 				<div class="form-group"> | ||||||
|  |                     <label for="sig">Sig</label> | ||||||
|  |                     <input type="text" class="form-control" id="sig" name="sig" value="<?php echo $qso->COL_SIG; ?>"> | ||||||
|  |                 </div> | ||||||
|  | 
 | ||||||
|  |                 <div class="form-group"> | ||||||
|  |                     <label for="sig_info">Sig Info</label> | ||||||
|  |                     <input type="text" class="form-control" id="sig_info" name="sig_info" value="<?php echo $qso->COL_SIG_INFO; ?>"> | ||||||
|  | 				</div> | ||||||
|  | 
 | ||||||
| 	            <div class="form-group"> | 	            <div class="form-group"> | ||||||
| 	            	<label for="darc_dok">DOK</label> | 	            	<label for="darc_dok">DOK</label> | ||||||
| 	                <input type="text" class="form-control" id="darc_dok" name="darc_dok" value="<?php echo $qso->COL_DARC_DOK; ?>"> | 	                <input type="text" class="form-control" id="darc_dok" name="darc_dok" value="<?php echo $qso->COL_DARC_DOK; ?>"> | ||||||
|  |  | ||||||
|  | @ -382,6 +382,16 @@ | ||||||
|                                     <input type="text" class="form-control" id="sota_ref" name="sota_ref" value="<?php echo $qso->COL_SOTA_REF; ?>"> |                                     <input type="text" class="form-control" id="sota_ref" name="sota_ref" value="<?php echo $qso->COL_SOTA_REF; ?>"> | ||||||
|                                 </div> |                                 </div> | ||||||
| 
 | 
 | ||||||
|  |                                 <div class="form-group"> | ||||||
|  |                                     <label for="sig">Sig</label> | ||||||
|  |                                     <input type="text" class="form-control" id="sig" name="sig" value="<?php echo $qso->COL_SIG; ?>"> | ||||||
|  |                                 </div> | ||||||
|  | 
 | ||||||
|  |                                 <div class="form-group"> | ||||||
|  |                                     <label for="sig_info">Sig Info</label> | ||||||
|  |                                     <input type="text" class="form-control" id="sig_info" name="sig_info" value="<?php echo $qso->COL_SIG_INFO; ?>"> | ||||||
|  |                                 </div> | ||||||
|  | 
 | ||||||
|                                 <div class="form-group"> |                                 <div class="form-group"> | ||||||
|                                     <label for="darc_dok">DOK</label> |                                     <label for="darc_dok">DOK</label> | ||||||
|                                     <input type="text" class="form-control" id="darc_dok" name="darc_dok" value="<?php echo $qso->COL_DARC_DOK; ?>"> |                                     <input type="text" class="form-control" id="darc_dok" name="darc_dok" value="<?php echo $qso->COL_DARC_DOK; ?>"> | ||||||
|  |  | ||||||
|  | @ -328,6 +328,18 @@ | ||||||
|               <small id="sotaRefHelp" class="form-text text-muted">For example: GM/NS-001</small> |               <small id="sotaRefHelp" class="form-text text-muted">For example: GM/NS-001</small> | ||||||
|             </div> |             </div> | ||||||
| 
 | 
 | ||||||
|  |             <div class="form-group"> | ||||||
|  |               <label for="sig">Sig</label> | ||||||
|  |               <input class="form-control" id="sig" type="text" name="sig" value="" /> | ||||||
|  |               <small id="sigHelp" class="form-text text-muted">For example: WWFF or POTA</small> | ||||||
|  |             </div> | ||||||
|  | 
 | ||||||
|  |             <div class="form-group"> | ||||||
|  |               <label for="sig_info">Sig Info</label> | ||||||
|  |               <input class="form-control" id="sig_info" type="text" name="sig_info" value="" /> | ||||||
|  |               <small id="sigInfoHelp" class="form-text text-muted">For example: DLFF-0029</small> | ||||||
|  |             </div> | ||||||
|  | 
 | ||||||
|             <div class="form-group"> |             <div class="form-group"> | ||||||
|               <label for="sota_ref">DOK</label> |               <label for="sota_ref">DOK</label> | ||||||
|               <input class="form-control" id="darc_dok" type="text" name="darc_dok" value="" /> |               <input class="form-control" id="darc_dok" type="text" name="darc_dok" value="" /> | ||||||
|  |  | ||||||
|  | @ -192,6 +192,20 @@ | ||||||
|                     </tr> |                     </tr> | ||||||
|                     <?php } ?>
 |                     <?php } ?>
 | ||||||
| 
 | 
 | ||||||
|  |                     <?php if($row->COL_SIG != null) { ?>
 | ||||||
|  |                     <tr> | ||||||
|  |                         <td>Sig:</td> | ||||||
|  |                         <td><?php echo $row->COL_SIG; ?></td>
 | ||||||
|  |                     </tr> | ||||||
|  |                     <?php } ?>
 | ||||||
|  | 
 | ||||||
|  |                     <?php if($row->COL_SIG_INFO != null) { ?>
 | ||||||
|  |                     <tr> | ||||||
|  |                         <td>Sig Info:</td> | ||||||
|  |                         <td><?php echo $row->COL_SIG_INFO; ?></td>
 | ||||||
|  |                     </tr> | ||||||
|  |                     <?php } ?>
 | ||||||
|  | 
 | ||||||
|                     <?php if($row->COL_DARC_DOK != null) { ?>
 |                     <?php if($row->COL_DARC_DOK != null) { ?>
 | ||||||
|                     <tr> |                     <tr> | ||||||
|                         <td>DOK:</td> |                         <td>DOK:</td> | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用