Ignore:
Timestamp:
02/02/11 15:28:29 (13 years ago)
Author:
asaikawa
Message:

Ticket #1524 - Adicionado o parametro useCCParams nos componentes, indicando que serao usados os parametros do CC

Location:
branches/2.2/workflow/inc/smarty/wf_plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/workflow/inc/smarty/wf_plugins/function.wf_select_user.php

    r3715 r3729  
    3838                'onlyVisibleAccounts' => true, 
    3939                'useGlobalSearch' => false, 
     40                'useCCParams' => false, 
    4041                'rows'=> 2); 
    4142        $extractParams = array( 
     
    106107        else 
    107108                $extraParams .= "&useGlobalSearch=true"; 
     109        if (!empty($params['useCCParams']) && $params['useCCParams'] !== 'false') 
     110                $extraParams .= "&useCCParams=true"; 
    108111 
    109112        $image = Factory::getInstance('TemplateServer')->generateImageLink('add_user.png'); 
  • branches/2.2/workflow/inc/smarty/wf_plugins/function.wf_select_users.php

    r3715 r3729  
    2828                'onlyVisibleAccounts' => true, 
    2929                'useGlobalSearch' => false, 
     30                'useCCParams' => false, 
    3031                'get_email' => false, 
    3132                'value' => array()); 
     
    7273        else 
    7374                $extraParams .= "&useGlobalSearch=true"; 
     75        if (!empty($params['useCCParams']) && $params['useCCParams'] !== 'false') 
     76                $extraParams .= "&useCCParams=true"; 
    7477 
    7578        $output = '<table border="0"><tr><td>'; 
Note: See TracChangeset for help on using the changeset viewer.