/
settings.php
64 lines (51 loc) · 1.3 KB
/
settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* More settings
*
*/
?>
<div class="bg">
<?php
if ($form_error) {
?>
<!-- red-box -->
<div class="red-box">
<h3><?php echo Kohana::lang('ui_main.error');?></h3>
<ul>
<?php
foreach ($errors as $error_item => $error_description)
{
// print "<li>" . $error_description . "</li>";
print (!$error_description) ? '' : "<li>" . $error_description . "</li>";
}
?>
</ul>
</div>
<?php
}
if ($form_saved) {
?>
<!-- green-box -->
<div class="green-box">
<h3><?php echo Kohana::lang('ui_main.saved') ?></h3>
</div>
<?php
}
?>
<h2>Set highlighted location</h2>
<!-- tab -->
<div class="tab">
<?php print form::open(NULL,array('enctype' => 'multipart/form-data',
'id' => 'layerMain', 'name' => 'layerMain')); ?>
<div class="tab_form_item">
Upload KML File:
<?php print form::upload('file', '', ''); ?>
</div>
<div style="clear:both"></div>
<div class="tab_form_item">
This layer will be shown on the map on "Submit a report" page<br /><br/>
<input type="image" src="<?php echo url::base() ?>media/img/admin/btn-save.gif" class="save-rep-btn" />
</div>
<?php print form::close(); ?>
</div>
</div>