X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FsearchEngine%2Fhtml%2Findex.html;h=879bdd646380e0807e17e3d51b891f920502aa4d;hb=9543a355016ed3c2abc5e75e4e5d24e8f4d9bb3a;hp=7e09b91f3710ef8e1f7bcbc970b336b62b677436;hpb=524d98c48e119440423b449127ae05415ee48753;p=helm.git diff --git a/helm/searchEngine/html/index.html b/helm/searchEngine/html/index.html index 7e09b91f3..879bdd646 100644 --- a/helm/searchEngine/html/index.html +++ b/helm/searchEngine/html/index.html @@ -42,6 +42,10 @@ function initialize() actinput=0; numeroazioniannullate=0; } +function ask_uwobo(url) + { + return (top.topurl+"/ask_uwobo?url="+escape("http://mowgli.cs.unibo.it:58080/apply?xmluri=" + escape(url) + "&keys=T1%2CT2%2CL%2CE¶m.processorURL=http%3A//mowgli.cs.unibo.it%3A58080/¶m.getterURL=http%3A//mowgli.cs.unibo.it%3A58081/¶m.proofcheckerURL=http%3A//mowgli.cs.unibo.it%3A58084/¶m.draw_graphURL=http%3A//mowgli.cs.unibo.it%3A58083/¶m.uri_set_queueURL=http%3A//mowgli.cs.unibo.it%3A58082/¶m.UNICODEvsSYMBOL=unicode¶m.keys=d_c%2CC1%2CHC2%2CL¶m.thkeys=T1%2CT2%2CL%2CE¶m.embedkeys=d_c%2CTC1%2CHC2%2CL¶m.doctype-public=-//W3C//DTD%20XHTML%201.0%20Transitional//EN¶m.encoding=iso-8859-1¶m.thencoding=iso-8859-1¶m.media-type=text/html¶m.thmedia-type=text/html¶m.interfaceURL=http%3A//helm.cs.unibo.it/helm/html/cic/index.html¶m.thinterfaceURL=http%3A//helm.cs.unibo.it/helm/html/theory/index.html¶m.CICURI=dummy:query_result¶m.naturalLanguage=yes¶m.annotations=no¶m.topurl=http://helm.cs.unibo.it/helm&prop.method=html")); + } function help(w) // quando invocata, visualizza l' help relativo ad un oggetto. Di solito รจ legata ad un evento onFocus o onMouseOver. { hw.document.close(); @@ -398,6 +402,137 @@ var topurl=document.location.protocol+'//'+document.location.host; //var topurl=""; var action="/getpage?url="; //var action=""; + + +// UTILITY FUNCTIONS FOR templateambigpdq1.html +function templateambigpdq1_armageddon() + { + top.initialize(); + top.window.open(top.topurl+top.action+"start.html","qw"); + top.window.open(top.topurl+top.action+"blank.html","cw"); + top.window.open(top.topurl+top.action+"blank.html","hw"); + top.window.open(top.topurl+top.action+"blank.html","gw"); + top.window.open(top.topurl+top.action+"blank.html","sw"); + } + +function templateambigpdq1_resetta() + { + if (confirm("This will erase your query and start a new one. Are you sure you want to do this?")) + {templateambigpdq1_armageddon();} + } + +function templateambigpdq1_listauri(document,elenco) + { + for (i=0;i "+elenco[i]+"
"); + } + } + +function templateambigpdq1_invia(document,top,elenco,ident) + { + vecchiavlds=top.vlds.length; + stringa=top.topurl+"/searchPattern?term="+top.terminecic; + stringa=stringa+"&aliases="+top.listaliases; + stringa=stringa+"&choices="; + var choices = ""; + top.vlds[top.vlds.length]=ident; + for (j=0;j "+labels[i]+"
"); + } + } + +function templateambigpdq2_invia(document,elenco) + { + stringa=top.topurl+"/searchPattern?term="+top.terminecic; + stringa=stringa+"&aliases="+(top.listaliases==""?"":"%20"); + controllo=stringa.length; + for (j=0;j