mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed problem with openlayer
Former-commit-id: 91eb396d550cd6a90c9c3ba4cbb0ec12c2c51c6e
This commit is contained in:
parent
dcd5ab6317
commit
faecabb1cc
@ -1736,10 +1736,6 @@ function ui_process_page_head($string, $bitfield)
|
|||||||
// Include countdown library
|
// Include countdown library
|
||||||
$config['jquery']['countdown'] = 'include/javascript/jquery.countdown.js';
|
$config['jquery']['countdown'] = 'include/javascript/jquery.countdown.js';
|
||||||
|
|
||||||
// Include timezone user map library
|
|
||||||
$config['jquery']['OpenLayers'] = 'include/javascript/OpenLayers.js';
|
|
||||||
$config['jquery']['jquery.timezone-picker'] = 'include/javascript/jquery.timezone-picker.js';
|
|
||||||
|
|
||||||
// Then add each script as necessary
|
// Then add each script as necessary
|
||||||
$loaded = [''];
|
$loaded = [''];
|
||||||
foreach ($config['jquery'] as $name => $filename) {
|
foreach ($config['jquery'] as $name => $filename) {
|
||||||
|
@ -734,6 +734,10 @@ if (!defined('METACONSOLE')) {
|
|||||||
<?php
|
<?php
|
||||||
// Closes no meta condition.
|
// Closes no meta condition.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Include OpenLayers and timezone user map library.
|
||||||
|
echo '<script type="text/javascript" src="'.ui_get_full_url('include/javascript/OpenLayers.js').'"></script>'."\n\t";
|
||||||
|
echo '<script type="text/javascript" src="'.ui_get_full_url('include/javascript/jquery.timezone-picker.js').'"></script>'."\n\t";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script language="javascript" type="text/javascript">
|
<script language="javascript" type="text/javascript">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user