- Timestamp:
- 03/12/10 10:59:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/class.ui_adminactivities.inc.php
r1710 r2233 374 374 // fill proc_bar 375 375 $this->t->set_var('proc_bar', $this->fill_proc_bar($proc_info)); 376 376 377 377 //collect some messages from used objects 378 378 $this->message[] = $this->activity_manager->get_error(false, _DEBUG); … … 380 380 $this->message[] = $this->role_manager->get_error(false, _DEBUG); 381 381 382 $templateServer = & $GLOBALS['workflow']['factory']->getInstance('TemplateServer');382 $templateServer = &Factory::getInstance('TemplateServer'); 383 383 384 384 // fill the general variables of the template … … 732 732 $this->translate_template('block_process_activities_header'); 733 733 $this->t->parse('process_activities_header', 'block_process_activities_header', True); 734 $templateServer = & $GLOBALS['workflow']['factory']->getInstance('TemplateServer');734 $templateServer = &Factory::getInstance('TemplateServer'); 735 735 foreach ($process_activities_data as $activity) 736 736 { … … 792 792 'trans_href_from' => $GLOBALS['phpgw']->link('/index.php', 'menuaction=workflow.ui_adminactivities.form&where2='. $where2 .'&sort_mode2='. $sort_mode2 .'&p_id='. $this->wf_p_id .'&find='. $find .'&where='. $where .'&sort_mode='. $this->sort_mode .'&activity_id='. $transition['wf_act_from_id']), 793 793 'trans_actFromName' => $transition['wf_act_from_name'], 794 'trans_arrow' => $GLOBALS['workflow']['factory']->getInstance('TemplateServer')->generateImageLink('next.gif'),794 'trans_arrow' => Factory::getInstance('TemplateServer')->generateImageLink('next.gif'), 795 795 'trans_href_to' => $GLOBALS['phpgw']->link('/index.php', 'menuaction=workflow.ui_adminactivities.form&where2='. $where2 .'&sort_mode2='. $sort_mode2 .'&p_id='. $this->wf_p_id .'&find='. $find .'&where='. $where .'&sort_mode='. $this->sort_mode .'&activity_id='. $transition['wf_act_to_id']), 796 796 'trans_actToName' => $transition['wf_act_to_name'], … … 1036 1036 $image_name = $proc_info['wf_normalized_name'] . SEP . 'graph' . SEP . $proc_info['wf_normalized_name'] . '.png'; 1037 1037 $image = GALAXIA_PROCESSES . SEP . $image_name; 1038 if ( $GLOBALS['workflow']['factory']->getInstance('BrowserInfo')->isOpera())1038 if (Factory::getInstance('BrowserInfo')->isOpera()) 1039 1039 $maximumDimension = 1000000; 1040 1040 else … … 1069 1069 } 1070 1070 } 1071 1071 1072 1072 /** 1073 1073 * Dislays the activity agents config rows … … 1090 1090 } 1091 1091 $this->translate_template('admin_agents'); 1092 1092 $this->t->parse('agents_config_rows', 'admin_agents'); 1093 1093 } 1094 1094 }
Note: See TracChangeset
for help on using the changeset viewer.