Changeset 3715 for branches/2.2/workflow/inc/smarty
- Timestamp:
- 01/21/11 15:10:18 (13 years ago)
- 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
r3167 r3715 37 37 'hide_sectors' => false, 38 38 'onlyVisibleAccounts' => true, 39 'useGlobalSearch' => false, 39 40 'rows'=> 2); 40 41 $extractParams = array( … … 45 46 'cols', 46 47 'rows', 47 'onlyVisibleAccounts'); 48 'onlyVisibleAccounts', 49 'useGlobalSearch'); 48 50 49 51 /* verifica se todos os parâmetros obrigatórios foram passados */ … … 100 102 else 101 103 $extraParams .= "&onlyVisibleAccounts=true"; 104 if (empty($useGlobalSearch) || $useGlobalSearch === 'false') 105 $extraParams .= "&useGlobalSearch=false"; 106 else 107 $extraParams .= "&useGlobalSearch=true"; 102 108 103 109 $image = Factory::getInstance('TemplateServer')->generateImageLink('add_user.png'); -
branches/2.2/workflow/inc/smarty/wf_plugins/function.wf_select_users.php
r3704 r3715 27 27 'hide_sectors' => false, 28 28 'onlyVisibleAccounts' => true, 29 'useGlobalSearch' => false, 29 30 'get_email' => false, 30 31 'value' => array()); … … 32 33 'name', 33 34 'value', 34 'onlyVisibleAccounts'); 35 'onlyVisibleAccounts', 36 'useGlobalSearch'); 35 37 36 38 /* verifica se todos os parâmetros obrigatórios foram passados */ … … 66 68 else 67 69 $extraParams .= "&onlyVisibleAccounts=true"; 70 if (empty($useGlobalSearch) || $useGlobalSearch === 'false') 71 $extraParams .= "&useGlobalSearch=false"; 72 else 73 $extraParams .= "&useGlobalSearch=true"; 68 74 69 75 $output = '<table border="0"><tr><td>';
Note: See TracChangeset
for help on using the changeset viewer.