Location: PHPKode > projects > ZenTrack - project/bug tracking software > zentrack_2.6.4/www/actions/agreement_delete.php
<?
  /*
  **  Action: delete contact
  */
  $id = NULL;
  include_once("../contact_header.php");
  $page_title = tr("Agreements");
  $page_section = "Agreements";
  $expand_agreement = 1;
  
  
  include("$libDir/nav.php");


	if(isset($id)){	
      $res = $zen->delete_contact($id,"ZENTRACK_AGREEMENT","agree_id");
      $res = $zen->delete_contact($id,"ZENTRACK_AGREEMENT_ITEM","agree_id");
      print "Deleted agreement ".$id."<br>\n" ; 
	} else {
			print "No agreement selected";
	}
	
  include("$templateDir/agreementView.php");

  include("$libDir/footer.php");
?>
Return current item: ZenTrack - project/bug tracking software