Changeset 1710 for trunk/workflow/inc/class.ui_adminactivities.inc.php
- Timestamp:
- 11/26/09 13:59:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.ui_adminactivities.inc.php
r795 r1710 129 129 $this->t->set_block('admin_activities', 'block_process_roles', 'process_roles'); 130 130 $this->t->set_block('admin_activities', 'block_activity_agents', 'activity_agents'); 131 $this->t->set_block('admin_activities', 'block_default_roles', 'default_roles'); 131 132 $this->t->set_block('admin_activities', 'block_select_agents', 'select_agents'); 132 133 … … 519 520 )); 520 521 522 $this->t->set_var(array( 523 'default_user_option_checked_0' => ($activity_info['wf_default_user'][0] != 'p')? "checked='checked'": '', 524 'default_user_option_checked_1' => ($activity_info['wf_default_user'][0] == 'p')? "checked='checked'": '', 525 )); 526 521 527 // fill process roles 522 528 foreach ($process_roles['data'] as $role) … … 528 534 $this->t->parse('process_roles', 'block_process_roles', True); 529 535 } 530 536 537 // fill process roles for activity default role 538 foreach ($process_roles['data'] as $role) 539 { 540 $role_id = 'p' . $role['wf_role_id']; 541 $this->t->set_var(array( 542 'proc_roleId' => $role_id, 543 'proc_role_selected' => ($role_id == $activity_info['wf_default_user'])? 'selected="selected"' : '', 544 'proc_roleName' => $role['wf_name'] 545 )); 546 $this->t->parse('default_roles', 'block_default_roles', true); 547 } 548 531 549 // fill agents select 532 550 foreach ($agents_list as $agent)
Note: See TracChangeset
for help on using the changeset viewer.