Exemplo n.º 1
0
//
pagehead('Add project auditor.');
$page_opening = "Add project auditor to a project. prj_id {$prj_id} milestone {$milestone} prjm_id {$prjm_id}";
$nav = new Navigation($tutor_navtable, basename($PHP_SELF), $page_opening);
$nav->setInterestMap($tabInterestCount);
echo $nav->show();
?>
<div id='navmain' style='padding:1em;'>
<p>Add a project auditor to a project /group.</p>
<p>Project auditors have the privilege to access the groups resources such as svn and trac. Use case: extra 
    readers of project artifacts without having to add (empty) project groups with these readers as tutor.
</p>
  <?php 
echo $prjSel->getWidget();
$studentPicker->setPresentQuery("select snummer from project_auditor where prjm_id={$prjm_id}");
$studentPicker->show();
$sql = "select snummer,achternaam,roepnaam,voorvoegsel from student where snummer={$newauditor}";
$resultSet = $dbConn->Execute($sql);
extract($resultSet->fields, EXTR_PREFIX_ALL, 'auditor');
if ($newauditor != 0) {
    ?>
<fieldset><legend>Select groups to audit.</legend>
<form name='set auditgroups' method='post' action='<?php 
    echo $PHP_SELF;
    ?>
'>
<p>Choose groups in project <b><?php 
    echo $afko;
    ?>
 <?php 
    echo $year;