Changeset 2049
- Timestamp:
- 02/23/10 10:16:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.common.inc.php
r2015 r2049 1218 1218 include(PHPGW_INCLUDE_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['server']['template_set'] 1219 1219 . '/navbar.inc.php'); 1220 1221 if(!@is_object($GLOBALS['phpgw']->js)) 1222 { 1223 $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript'); 1224 } 1225 $GLOBALS['phpgw']->js->validate_file('expressoAjax','expressoAjax'); 1226 echo "<script type='text/javascript'>var URL_SERVER = '".$GLOBALS['phpgw_info']['server']['webserver_url']."';</script>"; 1227 1220 1228 if (!@$GLOBALS['phpgw_info']['flags']['nonavbar'] && !@$GLOBALS['phpgw_info']['flags']['navbar_target']) 1221 1229 { 1222 1230 echo parse_navbar(); 1223 1231 } 1224 1225 if(!@is_object($GLOBALS['phpgw']->js))1226 {1227 $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript');1228 }1229 $GLOBALS['phpgw']->js->validate_file('expressoAjax','expressoAjax');1230 echo "<script type='text/javascript'>var URL_SERVER = '".$GLOBALS['phpgw_info']['server']['webserver_url']."';</script>";1231 echo $GLOBALS['phpgw']->js->get_script_links();1232 1232 } 1233 1233
Note: See TracChangeset
for help on using the changeset viewer.