get_registry(); require($registry->get('GV_RootPath') . "www/thesaurus2/xmlhttp.php"); $request = http_request::getInstance(); $parm = $request->get_parms( "bid" , "piv" , "id" , "typ" , "dlg" ); $lng = $app['locale']; if ($parm["dlg"]) { $opener = "window.dialogArguments.win"; } else { $opener = "opener"; } ?> <?php echo p4string::MakeString(_('thesaurus:: Proprietes')) ?> \n"); $dom = xmlhttp($url); printf("
id: %s
\n", $parm["id"]); $fullpath = $dom->getElementsByTagName("fullpath_html")->item(0)->firstChild->nodeValue; print("

" . $fullpath . "


\n"); if ($parm["typ"] == "CT") { // printf("present dans %s fiche(s).
\n", $dom->getElementsByTagName("hits")->item(0)->firstChild->nodeValue ); print("
\n"); } elseif ($parm["typ"] == "TH") { echo p4string::MakeString(sprintf(_('thesaurus:: %s reponses retournees'), $dom->getElementsByTagName("allhits")->item(0)->firstChild->nodeValue)); print("
\n"); print("
\n"); } ?>
     
getElementsByTagName("sy_list")->item(0); $nsy = 0; for ($n = $sy_list->firstChild; $n; $n = $n->nextSibling) { printf("\t\t\t\t\t\t\n", $id = $n->getAttribute("id"), $n->getAttribute("hits")); printf("\t\t\t\t\t\t\t\n"); printf("\t\t\t\t\t\t\t\n"); if (($lng = $n->getAttribute("lng"))) printf("\t\t\t\t\t\t\t\n", $n->getAttribute("id"), $lng); else printf("\t\t\t\t\t\t\t\n", $n->getAttribute("id")); printf("\t\t\t\t\t\t\t\n", $n->getAttribute("t")); printf("\t\t\t\t\t\t\t\n", $n->getAttribute("hits")); printf("\t\t\t\t\t\t\t\n", $id); // printf("\n"); print("\t\t\t\t\t\t\n"); $nsy ++; } // if($parm["typ"]=="TH") // { // print("\n"); // } ?>
\n"); if ($nsy > 0) printf("\t\t\t\t\t\t\t\t\n"); if ($nsy > 0 && $n->nextSibling) print(" "); if ($n->nextSibling) printf("\t\t\t\t\t\t\t\t%s%s%s
nouveau synonyme...
%s\n", htmlentities($dom->saveXML())); } ?>