'Browse Tasks','pagename'=>$pagename,'group_project_id'=>$group_project_id,'sectionvals'=>$g->getPublicName())); ?> getTechnicians(); $tech_id_arr=util_result_column_to_array($res_tech,0); $tech_id_arr[]='0'; //this will be the 'any' row $tech_name_arr=util_result_column_to_array($res_tech,1); $tech_name_arr[]='Any'; $tech_box=html_build_select_box_from_arrays ($tech_id_arr,$tech_name_arr,'_assigned_to',$_assigned_to,true,'Unassigned'); /* creating a custom category box which includes "any" and "none" */ $res_cat=$pg->getCategories(); $cat_id_arr=util_result_column_to_array($res_cat,0); $cat_id_arr[]='0'; //this will be the 'any' row $cat_name_arr=util_result_column_to_array($res_cat,1); $cat_name_arr[]='Any'; $cat_box=html_build_select_box_from_arrays ($cat_id_arr,$cat_name_arr,'_category_id',$_category_id,true,'None'); /* Creating a custom sort box */ $title_arr=array(); $title_arr[]='Task ID'; $title_arr[]='Summary'; $title_arr[]='Start Date'; $title_arr[]='End Date'; $title_arr[]='Percent Complete'; $order_col_arr=array(); $order_col_arr[]='project_task_id'; $order_col_arr[]='summary'; $order_col_arr[]='start_date'; $order_col_arr[]='end_date'; $order_col_arr[]='percent_complete'; $order_box=html_build_select_box_from_arrays ($order_col_arr,$title_arr,'_order',$_order,false); $dispres_title_arr=array(); $dispres_title_arr[]='Months'; $dispres_title_arr[]='Weeks'; $dispres_title_arr[]='Days'; if (!$_resolution) { $_resolution='Weeks'; } $dispres_box=html_build_select_box_from_arrays ($dispres_title_arr,$dispres_title_arr,'_resolution',$_resolution,false); /* Graph Size Box */ $size_col_arr=array(); $size_col_arr[]=640; $size_col_arr[]=800; $size_col_arr[]=1024; $size_col_arr[]=1600; $size_title_arr=array(); $size_title_arr[]='640 x 480'; $size_title_arr[]='800 x 600'; $size_title_arr[]='1024 x 768'; $size_title_arr[]='1600 x 1200'; if (!$_size) { $_size='800'; } $size_box=html_build_select_box_from_arrays ($size_col_arr,$size_title_arr,'_size',$_size,false); /* Show the new pop-up boxes to select assigned to and/or status */ echo '
Assignee:
'. $tech_box .'
Status:
'. $pg->statusBox('_status',$_status,'Any') .'
Category:
'. $cat_box .'
Sort On:
'. $order_box .'
Resolution:
'. $dispres_box .'
Size:
'. $size_box .'
'; echo ''; //pm_footer(array()); ?>