-
Notifications
You must be signed in to change notification settings - Fork 0
/
global_js.php
28 lines (23 loc) · 1.11 KB
/
global_js.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
<?php
/* Copyright 2015, 2016 Transition Network ltd
* This program is distributed under the terms of the GNU General Public License
* as detailed in the COPYING file included in the root of this plugin
*/
?>
/*
<?php
require_once( IIRS__COMMON_DIR . 'utility.php');
require_once( IIRS__COMMON_DIR . 'framework_abstraction_layer.php');
require_once( IIRS__COMMON_DIR . 'environment.php');
?>
*/
<?php
IIRS_0_print_javascript_variable('g_sLangCode', $lang_code); //for sending through to subsequent AJAX loads
IIRS_0_print_javascript_variable('g_sDomainStem', $IIRS_domain_stem);
IIRS_0_print_javascript_variable('g_sIIRSURLStem', $IIRS_URL_stem);
IIRS_0_print_javascript_variable('g_sIIRSURLCommonStem', $IIRS_URL_common_stem);
IIRS_0_print_javascript_variable('g_sIIRSURLProcessStem',$IIRS_URL_process_stem);
IIRS_0_print_javascript_variable('g_sIIRSURLImageStem', $IIRS_URL_image_stem);
IIRS_0_print_javascript_variable('g_sGoogleAPIKey', IIRS_GOOGLE_API_KEY);
IIRS_0_print_javascript_variable('g_sThrobber', '<img id="IIRS_0_throbber" src="' . "$IIRS_URL_image_stem/throbber-active" . '" />');
?>