Changeset 2552 for sandbox/workflow/branches/993/inc/smarty
- Timestamp:
- 04/15/10 16:40:45 (14 years ago)
- Location:
- sandbox/workflow/branches/993/inc/smarty/wf_plugins
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_ajax_init.php
r795 r2552 20 20 $wf_ajax_init = true; 21 21 22 $serverPath = $GLOBALS['phpgw_info']['server']['webserver_url'];22 $serverPath = EGW_BASE_URL; 23 23 $localPath = PHPGW_SERVER_ROOT; 24 24 -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_autocomplete_input_init.php
r1428 r2552 11 11 function smarty_function_wf_autocomplete_input_init($params, &$smarty) 12 12 { 13 $jsEffects = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/scriptaculous/effects.js';14 $jsControls = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/scriptaculous/controls.js';15 $jsJson = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/nano/JSON.js';16 $jsSha1 = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/sha1.js';17 $jsAutocomplete = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/wf_autocomplete_input.js';13 $jsEffects = WF_BASE_URL . SEP . 'js' . SEP . 'scriptaculous' . SEP . 'effects.js'; 14 $jsControls = WF_BASE_URL . SEP . 'js' . SEP . 'scriptaculous' . SEP . 'controls.js'; 15 $jsJson = WF_BASE_URL . SEP . 'js' . SEP . 'nano' . SEP . 'JSON.js'; 16 $jsSha1 = WF_BASE_URL . SEP . 'js' . SEP . 'jscode' . SEP . 'sha1.js'; 17 $jsAutocomplete = WF_BASE_URL . SEP . 'js' . SEP . 'jscode' . SEP . 'wf_autocomplete_input.js'; 18 18 $output = <<<EOF 19 19 <script type="text/javascript" src="$jsEffects"></script> -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_calendar_init.php
r795 r2552 21 21 $path = $params['path'] . "/"; 22 22 else 23 $path = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscalendar/';23 $path = WF_SERVER_URL . SEP . 'js' . SEP . 'jscalendar' . SEP; 24 24 $defaults = array( 25 25 'css' => $path . 'calendar-blue.css', -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_fckeditor.php
r795 r2552 58 58 59 59 // BasePath must be specified once. 60 $base_arguments['BasePath'] = $GLOBALS['phpgw_info']['server']['webserver_url'] . SEP . 'workflow'. SEP . 'js' . SEP . 'fckeditor' . SEP;60 $base_arguments['BasePath'] = WF_BASE_URL . SEP . 'js' . SEP . 'fckeditor' . SEP; 61 61 62 62 $base_arguments['InstanceName'] = $params['InstanceName']; -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_file_upload_init.php
r795 r2552 11 11 function smarty_function_wf_file_upload_init($params, &$smarty) 12 12 { 13 $jsFile = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/wf_file_upload.js';13 $jsFile = WF_BASE_URL . SEP . 'js' . SEP . 'jscode' . SEP . 'wf_file_upload.js'; 14 14 $output = <<<EOF 15 15 <script language="javascript1.2" src="$jsFile"></script> -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_generic_select_init.php
r795 r2552 11 11 function smarty_function_wf_generic_select_init($params, &$smarty) 12 12 { 13 $jsFile = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/generic_select.js';13 $jsFile = WF_BASE_URL . SEP . 'js' . SEP . 'jscode' . SEP . 'generic_select.js'; 14 14 $output = <<<EOF 15 15 <script language="javascript1.2" src="$jsFile"></script> -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_make_link.php
r795 r2552 43 43 $back_url = $url; 44 44 } else { 45 $back_url = ''; 46 $back_url = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/index.php?start_tab=' . $tab;45 $back_url = ''; 46 $back_url = WF_BASE_URL . SEP . 'index.php?start_tab=' . $tab; 47 47 } 48 48 -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_redir_menu.php
r2492 r2552 30 30 $$extract = $params[$extract]; 31 31 32 $base_url = $GLOBALS['phpgw_info']['server']['webserver_url'];32 $base_url = EGW_BASAE_URL; 33 33 $user_activities = $GLOBALS['workflow']['wf_user_activities']['data']; 34 34 $pid = $GLOBALS['workflow']['wf_process_id']; -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_rtf_init.php
r795 r2552 11 11 function smarty_function_wf_rtf_init($params, &$smarty) 12 12 { 13 $jsFile = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/rtf.js';13 $jsFile = WF_BASE_URL . SEP .'js' . SEP . 'jscode' . SEP . 'rtf.js'; 14 14 $output = <<<EOF 15 15 <script language="javascript1.2" src="$jsFile"></script> -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_select_city_init.php
r795 r2552 11 11 function smarty_function_wf_select_city_init($params, &$smarty) 12 12 { 13 $webServer = $GLOBALS['phpgw_info']['server']['webserver_url'];14 $jsFilePath = $webServer . '/workflow/js';13 $webServer = EGW_BASE_URL; 14 $jsFilePath = WF_BASE_URL . SEP . 'js'; 15 15 $localFile = PHPGW_SERVER_ROOT . SEP . 'workflow' . SEP . 'js' . SEP . 'jscode' . SEP . 'connector.js'; 16 16 $size = 0; -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_select_duplex_init.php
r795 r2552 11 11 function smarty_function_wf_select_duplex_init($params, &$smarty) 12 12 { 13 $jsFile = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/wf_select_duplex.js';13 $jsFile = WF_BASE_URL . SEP . 'js' . SEP . 'jscode' . SEP . 'wf_select_duplex.js'; 14 14 $output = <<<EOF 15 15 <script language="javascript1.2" src="$jsFile"></script> -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_select_ldap_users_init.php
r795 r2552 11 11 function smarty_function_wf_select_ldap_users_init($params, &$smarty) 12 12 { 13 $webServer = $GLOBALS['phpgw_info']['server']['webserver_url'];14 $jsFilePath = $webServer . '/workflow/js';15 $localFile = PHPGW_SERVER_ROOT . SEP . 'workflow'. SEP . 'js' . SEP . 'jscode' . SEP . 'connector.js';13 $webServer = EGW_BASE_URL; 14 $jsFilePath = WF_BASE_URL . SEP . 'js'; 15 $localFile = WF_SERVER_ROOT . SEP . 'js' . SEP . 'jscode' . SEP . 'connector.js'; 16 16 $size = 0; 17 17 if (@file_exists($localFile)) -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_select_option_multiple_init.php
r795 r2552 11 11 function smarty_function_wf_select_option_multiple_init($params, &$smarty) 12 12 { 13 $jsFile = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/wf_select_option_multiple.js';13 $jsFile = WF_BASE_URL . SEP . 'js' . SEP . 'jscode' . SEP . 'wf_select_option_multiple.js'; 14 14 $output = <<<EOF 15 15 <script language="javascript1.2" src="$jsFile"></script> -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_select_user_init.php
r795 r2552 11 11 function smarty_function_wf_select_user_init($params, &$smarty) 12 12 { 13 $jsFile = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/participants.js';13 $jsFile = WF_BASE_URL . SEP . 'js' . SEP . 'jscode' . SEP . 'participants.js'; 14 14 $output = <<<EOF 15 15 <script language="javascript1.2" src="$jsFile"></script> -
sandbox/workflow/branches/993/inc/smarty/wf_plugins/function.wf_select_users_init.php
r795 r2552 11 11 function smarty_function_wf_select_users_init($params, &$smarty) 12 12 { 13 $jsFile = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/workflow/js/jscode/userControl.js';13 $jsFile = WF_BASE_URL . SEP . 'js' . SEP .'jscode' . SEP . 'userControl.js'; 14 14 $output = <<<EOF 15 15 <script language="javascript1.2" src="$jsFile"></script>
Note: See TracChangeset
for help on using the changeset viewer.