getID())) { exit_permission_denied('','tracker'); } if (getStringFromRequest('add_at')) { $res=new ArtifactTypeHtml($group); if (!$res->create($name,$description,0,0,$email_all,$email_address, $due_period,$use_resolution,$submit_instructions,$browse_instructions)) { exit_error($res->getErrorMessage(),'tracker'); } else { $feedback .= _('Tracker created successfully'); $feedback .= '
'; $feedback .= _('Please configure also the roles (by default, it\'s \'No Access\')'); } $group->normalizeAllRoles () ; } } // // Display existing artifact types // $atf = new ArtifactTypeFactoryHtml($group); if (!$atf || !is_object($atf) || $atf->isError()) { exit_error(_('Could Not Get ArtifactTypeFactory'),'tracker'); } // Only keep the Artifacts where the user has admin rights. $arr = $atf->getArtifactTypes(); $i=0; for ($j = 0; $j < count($arr); $j++) { if (forge_check_perm ('tracker', $arr[$j]->getID(), 'manager')) { $at_arr[$i++] =& $arr[$j]; } } // If no more tracker now, if ($i==0 && $j>0) { exit_permission_denied('','tracker'); } //required params for site_project_header(); $params['group']=$group_id; $params['toptab']='tracker'; if(isset($page_title)){ $params['title'] = $page_title; } else { $params['title'] = ''; } $atf->header( array('title' => _('Trackers Administration'))); echo $HTML->subMenu( array( _('Report'), _('Admin') ), array( '/tracker/reporting/?group_id='.$group_id, '/tracker/admin/?group_id='.$group_id ), array( array('title' => _('Various graph about statistics'), 'class' => 'tabtitle-nw'), array('title' => _('Global administration for trackers. Create, clone, workflow, fields ...'), 'class' => 'tabtitle') ) ); if (!isset($at_arr) || !$at_arr || count($at_arr) < 1) { echo '
'._('No trackers found').'
'; } else { echo '

'._('Choose a data type and you can set up prefs, categories, groups, users, and permissions').'.

'; /* Put the result set (list of forums for this group) into a column with folders */ $tablearr=array(_('Tracker'),_('Description')); echo $HTML->listTableTop($tablearr); for ($j = 0; $j < count($at_arr); $j++) { echo ' boxGetAltRowStyle($j) . '> ' . html_image("ic/tracker20w.png","20","20") . '  '. $at_arr[$j]->getName() .' '.$at_arr[$j]->getDescription() .' '; } echo $HTML->listTableBottom(); } // // Set up blank ArtifactType // if (forge_check_perm ('tracker_admin', $group->getID())) { ?>Create a new tracker

You can use this system to track virtually any kind of data, with each tracker having separate user, group, category, and permission lists. You can also easily move items between trackers when needed.

Trackers are referred to as "Artifact Types" and individual pieces of data are "Artifacts". "Bugs" might be an Artifact Type, whiles a bug report would be an Artifact. You can create as many Artifact Types as you want, but remember you need to set up categories, groups, and permission for each type, which can get time-consuming.

') ?>

Name: (examples: meeting minutes, test results, RFP Docs)') ?>

:

:

:

:

:

:

footer(); // Local Variables: // mode: php // c-file-style: "bsd" // End: ?>