mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added link for export map
This commit is contained in:
@@ -440,6 +440,7 @@ class Stationsetup extends CI_Controller {
|
||||
$container = $this->stationsetup_model->getContainer(xss_clean($this->input->post('id', true)))->row();
|
||||
$slug = $container->public_slug;
|
||||
$data['logbookid'] = xss_clean($this->input->post('id', true));
|
||||
$data['slug'] = $slug;
|
||||
|
||||
$exportmapoptions['gridsquare_layer'] = $this->user_options_model->get_options('ExportMapOptions',array('option_name'=>'gridsquare_layer','option_key'=>$slug))->row();
|
||||
$exportmapoptions['path_lines'] = $this->user_options_model->get_options('ExportMapOptions',array('option_name'=>'path_lines','option_key'=>$slug))->row();
|
||||
|
||||
@@ -41,3 +41,9 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php if($slug !== "") { ?>
|
||||
<div id="slugLink" class="alert alert-info" role="alert" style="margin-top: 20px;">
|
||||
<p>Visit export map:</p>
|
||||
<p><a href="<?php echo site_url('visitor/exportmap'); ?>/<?php echo $slug; ?>" target="_blank"><?php echo site_url('visitor/exportmap'); ?>/<?php echo $slug; ?></a></p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user