private function linkDuplicates($occidStr, $dupTitle) { $status = ''; $dupManager = new OccurrenceDuplicate(); $dupManager->linkDuplicates($this->occid, $occidStr, $dupTitle); return $status; }
$dupArr = $dupeManager->getDupeList($lastName, $collNum, $collDate, $catNum, $queryOccid, $currentOccid); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?> "> <title><?php echo $defaultTitle; ?> Occurrence Editor</title> <script> <?php if ($action == 'Link as Duplicate') { $dupeManager->linkDuplicates($currentOccid, $dupeOccid, $dupeTitle); echo 'window.opener.document.getElementById("dupeRefreshForm").submit();'; echo 'self.close();'; } ?> function validateDupeForm(f){ return true; } function openIndWindow(occid){ $url = "../../individual/index.php?occid="+occid; indWindow=open($url,"indlist","resizable=1,scrollbars=1,toolbar=1,width=1000,height=800,left=100,top=100"); }