Changeset 366 for dev/mods/xajax
- Timestamp:
- 12/18/08 00:28:21 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/mods/xajax/init.php
r365 r366 3 3 // templates/index.tpl 4 4 // you should not change anything in this file but the image generator / whatever bypass change the functions.php 5 6 5 // bypass some of the image generators.. 7 6 if ($page != "thumb" && $page != "mapview" && $page != "sig") 8 7 { 9 8 require_once('mods/xajax/xajax_core/xajax.inc.php'); 10 9 $xajax = new xajax(); 11 10 require_once('mods/xajax/functions.php'); 12 11 event::register('page_assembleheader', 'mod_xajax::insertHTML'); 13 12 … … 26 25 27 26 // on page assembly look wether xajax is needed or not 28 27 function insertHTML($obj) 29 28 { 30 global $mod_xajax_enable; 31 if (!isset($mod_xajax_enable)) 32 { 33 return; 34 } 29 global $mod_xajax_enable; 30 if (!isset($mod_xajax_enable)) 31 { 32 return; 33 } 34 if (IS_IGB) 35 { 36 return; 37 } 35 38 36 39 global $xajax; 37 40 $obj->addBody($xajax->getJavascript("mods/xajax/")); 38 41 }