X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FsearchEngine%2Fhtml%2Findex.html;h=fa91efcffbc9dada5665f5827f6691ce8b59d774;hb=ac7687ce66526f905874ed99a845223c853c558a;hp=e7b73b5d2eed625b1be717c6957d7d0e28ecdaae;hpb=dedb202eeeac7293c51dbf31a302d0d3dd24af95;p=helm.git diff --git a/helm/searchEngine/html/index.html b/helm/searchEngine/html/index.html index e7b73b5d2..fa91efcff 100644 --- a/helm/searchEngine/html/index.html +++ b/helm/searchEngine/html/index.html @@ -16,7 +16,7 @@ var wrong=0; var ricordaliaslist=0; var actinput=0; var numeroazioniannullate=0; -var terminecic="";var listaliases="";var choices;var vlds=new Array();//contengono i parametri per dialogare col server in caso di ambiguità nella Match Conclusion. +var terminecic="";var listaliases="";var choices="";var interpretation_choices="";var vlds=new Array();//contengono i parametri per dialogare col server in caso di ambiguità nella Match Conclusion. aliasglob=new Array();//per conservare la lista degli alias function initialize() { @@ -45,12 +45,7 @@ function initialize() // @variable@ will be substituted by the searchEngine with the param.variable // argument value var processorURL="@processorURL@"; -var getterURL="@getterURL@"; var thkeys="@thkeys@"; -var proofcheckerURL="@proofcheckerURL@"; -var draw_graphURL="@draw_graphURL@"; -var uri_set_queueURL="@uri_set_queueURL@"; -var UNICODEvsSYMBOL="@UNICODEvsSYMBOL@"; var keys="@keys@"; var thkeys="@thkeys@"; var embedkeys="@embedkeys@"; @@ -59,40 +54,31 @@ var encoding="@encoding@"; var thencoding="@thencoding@"; var media_type="@media-type@"; var thmedia_type="@thmedia-type@"; -var interfaceURL="@interfaceURL@"; -var thinterfaceURL="@thinterfaceURL@"; var CICURI="@CICURI@"; var naturalLanguage="@naturalLanguage@"; var annotations="@annotations@"; -var interface_topurl="@topurl@"; function ask_uwobo(url) { return (top.topurl+"/ask_uwobo?url="+ - escape(processorURL + "apply?" + - "xmluri=" + escape(url) + - "&keys=" + escape(thkeys) + - "¶m.processorURL=" + escape(processorURL) + - "¶m.getterURL=" + escape(getterURL) + - "¶m.proofcheckerURL=" + escape(proofcheckerURL) + - "¶m.draw_graphURL=" + escape(draw_graphURL) + - "¶m.uri_set_queueURL=" + escape(uri_set_queueURL) + - "¶m.UNICODEvsSYMBOL=" + escape(UNICODEvsSYMBOL) + - "¶m.keys=" + escape(keys) + - "¶m.thkeys=" + escape(thkeys) + - "¶m.embedkeys=" + escape(embedkeys) + - "¶m.doctype-public=" + escape(doctype_public) + - "¶m.encoding=" + escape(encoding) + - "¶m.thencoding=" + escape(thencoding) + - "¶m.media-type=" + escape(media_type) + - "¶m.thmedia-type=" + escape(thmedia_type) + - "¶m.interfaceURL=" + escape(interfaceURL) + - "¶m.thinterfaceURL=" + escape(thinterfaceURL) + - "¶m.CICURI=" + escape(CICURI) + - "¶m.naturalLanguage=" + escape(naturalLanguage) + - "¶m.annotations=" + escape(annotations) + - "¶m.topurl=" + escape(interface_topurl) + - "&prop.method=html")); + encodeURIComponent(processorURL + "apply?" + + "xmluri=" + encodeURIComponent(url) + + "&profile=default" + + "¶m.profile=default" + + "&keys=" + encodeURIComponent(thkeys) + + "¶m.keys=" + encodeURIComponent(keys) + + "¶m.thkeys=" + encodeURIComponent(thkeys) + + "¶m.embedkeys=" + encodeURIComponent(embedkeys) + + "¶m.doctype-public=" + encodeURIComponent(doctype_public) + + "¶m.encoding=" + encodeURIComponent(encoding) + + "¶m.thencoding=" + encodeURIComponent(thencoding) + + "¶m.media-type=" + encodeURIComponent(media_type) + + "¶m.thmedia-type=" + encodeURIComponent(thmedia_type) + + "¶m.CICURI=" + encodeURIComponent(CICURI) + + "¶m.naturalLanguage=" + encodeURIComponent(naturalLanguage) + + "¶m.annotations=" + encodeURIComponent(annotations) + + "&prop.method=html" + + "¶m.expandasking=" + encodeURIComponent(top.topurl))); } function help(w) // quando invocata, visualizza l' help relativo ad un oggetto. Di solito è legata ad un evento onFocus o onMouseOver. { @@ -499,11 +485,11 @@ function templateambigpdq1_invia(document,top,elenco,ident) top.vlds[top.vlds.length]=";"; for (j=0;j