Ignore:
Timestamp:
07/15/10 17:30:07 (14 years ago)
Author:
viani
Message:

Ticket #950 - Merged 2838:3056 /trunk/workflow em /sandbox/workflow/trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/trunk/inc/class.bo_userinterface.inc.php

    r2372 r3060  
    9191                                        $recset[$procname_ver]['useHTTPS'] = 0; 
    9292                        } 
    93                         $recset[$procname_ver][] = array('wf_activity_id'       => $line['wf_activity_id'], 
    94                                                                                 'wf_name'                       => $line['wf_name'], 
    95                                                                                 'wf_menu_path'          => $line['wf_menu_path'], 
    96                                                                                 'wf_type'                       => $line['wf_type'], 
    97                                                                                 'wf_is_autorouted'      => $line['wf_is_autorouted'], 
    98                                                                                 'wf_is_interactive' => $line['wf_is_interactive']); 
     93                        if (!is_dir(GALAXIA_PROCESSES . '/' . $line['wf_normalized_name'])) 
     94                        { 
     95                                $recset[$procname_ver]['wf_iconfile'] = $templateServer->generateImageLink('navbar_nocode.png'); 
     96                        } 
     97                        else 
     98                        { 
     99                                $recset[$procname_ver][] = array('wf_activity_id'       => $line['wf_activity_id'], 
     100                                                                                                'wf_name'                       => $line['wf_name'], 
     101                                                                                                'wf_menu_path'          => $line['wf_menu_path'], 
     102                                                                                                'wf_type'                       => $line['wf_type'], 
     103                                                                                                'wf_is_autorouted'      => $line['wf_is_autorouted'], 
     104                                                                                                'wf_is_interactive' => $line['wf_is_interactive']); 
     105                        } 
    99106                } 
    100107 
Note: See TracChangeset for help on using the changeset viewer.