Location: PHPKode > projects > ZenTrack - project/bug tracking software > zentrack_2.6.4/includes/templates/editAgreementForm.php
<?
if( !ZT_DEFINED ) { die("Illegal Access"); }

  $skip = 0;
  
  $agreement = $zen->get_contact($id,"ZENTRACK_AGREEMENT","agree_id");
  //print_r($contact);
    if( !is_array($agreement) ) {
      $errs[] = tr("Contact #? could not be found",array($id));
    } else {
      $skip = 1;
      
      extract($agreement);
      
      $description = preg_replace("@<br ?/?>@","",$description); 
      
			include("$templateDir/newAgreementForm.php");

  	} 
  if( !$skip ) {
    $zen->printErrors($errs);
  }
?>
Return current item: ZenTrack - project/bug tracking software