forked from leonardoxc/leonardoxc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUI_browser.php
59 lines (52 loc) · 1.63 KB
/
GUI_browser.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
<?
//************************************************************************
// Leonardo XC Server, http://www.leonardoxc.net
//
// Copyright (c) 2004-2010 by Andreadakis Manolis
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_browser.php,v 1.1 2010/03/16 21:26:25 manolis Exp $
//
//************************************************************************
?>
<?
$titleString=_FLIGHT_BROSWER;
$imgStr="<img src='$moduleRelPath/img/icons1/geicon.gif' align='absmiddle'> ";
openMain("<div style='width:100%;font-size:12px;clear:none;display:block;float:left'>$imgStr$titleString</div>",0,'');
?>
<style type="text/css">
<!--
.gmaps_container {
position: relative;
height: 500px;
width: 100%;
}
.gmaps_container-fullscreen {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
}
-->
</style>
<script type="text/javascript">
function toogleGmapsFullScreen () {
$("#gmaps_container").toggleClass("gmaps_container-fullscreen");
}
</script>
<div class='gmaps_container' id='gmaps_container'>
<? if ( $CONF_google_maps_api_key ) { ?>
<iframe src="<? echo "http://".$_SERVER['SERVER_NAME'].getRelMainDir()."EXT_google_maps_browser.php"; ?>"
title="Google Map" width="100%" height="100%" scrolling="no" frameborder="0">
Sorry. If you're seeing this, your browser doesn't support IFRAMEs.
You should upgrade to a more current browser.
</iframe>
<? } ?>
</div>
<?
closeMain();
?>