Ignore:
Timestamp:
03/12/10 10:59:32 (14 years ago)
Author:
pedroerp
Message:

Ticket #609 - Migração das classes do módulo workflow para a nova factory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/branches/609/inc/class.ui_adminactivities.inc.php

    r1710 r2233  
    374374                // fill proc_bar 
    375375                $this->t->set_var('proc_bar', $this->fill_proc_bar($proc_info)); 
    376                  
     376 
    377377                //collect some messages from used objects 
    378378                $this->message[] = $this->activity_manager->get_error(false, _DEBUG); 
     
    380380                $this->message[] = $this->role_manager->get_error(false, _DEBUG); 
    381381 
    382                 $templateServer = &$GLOBALS['workflow']['factory']->getInstance('TemplateServer'); 
     382                $templateServer = &Factory::getInstance('TemplateServer'); 
    383383 
    384384                // fill the general variables of the template 
     
    732732                        $this->translate_template('block_process_activities_header'); 
    733733                        $this->t->parse('process_activities_header', 'block_process_activities_header', True); 
    734                         $templateServer = &$GLOBALS['workflow']['factory']->getInstance('TemplateServer'); 
     734                        $templateServer = &Factory::getInstance('TemplateServer'); 
    735735                        foreach ($process_activities_data as $activity) 
    736736                        { 
     
    792792                                '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']), 
    793793                                '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'), 
    795795                                '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']), 
    796796                                'trans_actToName'       => $transition['wf_act_to_name'], 
     
    10361036                $image_name = $proc_info['wf_normalized_name'] . SEP . 'graph' . SEP . $proc_info['wf_normalized_name'] . '.png'; 
    10371037                $image = GALAXIA_PROCESSES . SEP . $image_name; 
    1038                 if ($GLOBALS['workflow']['factory']->getInstance('BrowserInfo')->isOpera()) 
     1038                if (Factory::getInstance('BrowserInfo')->isOpera()) 
    10391039                        $maximumDimension = 1000000; 
    10401040                else 
     
    10691069                } 
    10701070        } 
    1071          
     1071 
    10721072        /** 
    10731073         * Dislays the activity agents config rows 
     
    10901090                        } 
    10911091                        $this->translate_template('admin_agents'); 
    1092                                                                                                 $this->t->parse('agents_config_rows', 'admin_agents'); 
     1092                        $this->t->parse('agents_config_rows', 'admin_agents'); 
    10931093                } 
    10941094        } 
Note: See TracChangeset for help on using the changeset viewer.