| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 require_once(dirname(__FILE__) . SEP . 'class.bo_workflow_forms.inc.php'); 3 4 class bo_user_forms extends bo_workflow_forms 5 { 6 function bo_user_forms($template) 7 { 8 parent::bo_workflow_forms($template); 9 } 10 11 function show_user_tabs($activtab) 12 { 13 $this->t->set_file('user_tabs_tpl', 'user_tabs.tpl'); 14 //stylesheet 15 $this->t->set_var('link_tab_css', $this->get_css_link('user_tabs')); 16 //tab class, depends on active form 17 $this->t->set_var(array( 18 'class_tab_new_instances' => ($activtab=='useropeninstance')? 'active_tab': 'inactive_tab', 19 'class_tab_global_activities' => ($activtab=='userglobalactivities')? 'active_tab': 'inactive_tab', 20 'class_tab_my_processes' => ($activtab=='userprocesses')? 'active_tab': 'inactive_tab', 21 'class_tab_my_activities' => ($activtab=='useractivities')? 'active_tab': 'inactive_tab', 22 'class_tab_my_instances' => (($activtab=='userinstances') || ($activtab=='userviewinstance'))? 'active_tab': 'inactive_tab', 23 'link_new_instances' => $GLOBALS['egw']->link('/index.php','menuaction=workflow.ui_useropeninstance.form'), 24 'link_global_activities' => $GLOBALS['egw']->link('/index.php',array( 25 'menuaction' => 'workflow.ui_useractivities.form', 26 'show_globals' => 1,)), 27 'link_my_processes' => $GLOBALS['egw']->link('/index.php','menuaction=workflow.ui_userprocesses.form'), 28 'link_my_activities' => $GLOBALS['egw']->link('/index.php','menuaction=workflow.ui_useractivities.form'), 29 'link_my_instances' => $GLOBALS['egw']->link('/index.php','menuaction=workflow.ui_userinstances.form'), 30 )); 31 $this->translate_template('user_tabs_tpl'); 32 return $this->t->parse('user_tabs', 'user_tabs_tpl'); 33 } 34 } 35 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |