]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/searchEngine/html/aliaslist.html
This commit was manufactured by cvs2svn to create branch
[helm.git] / helm / searchEngine / html / aliaslist.html
diff --git a/helm/searchEngine/html/aliaslist.html b/helm/searchEngine/html/aliaslist.html
deleted file mode 100644 (file)
index d030ea4..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-<HTML>
-<HEAD>
-<SCRIPT language="Javascript">
-function invia()
-       {
-       stadd="";
-       for (num=0;num<parent.calias;num++)
-               {
-               stadd=stadd+parent.alist[num]+" ";
-               //alert(stadd);
-               }
-       //top.window.open(top.topurl+top.action+"editorpdq.html","sw");
-       top.window.sw.editalias(stadd);
-       //alert(parent.mcq);
-       parent.mcq=parent.mcq.replace("<font color=\"#ff0000\">[Alias list]</font>","");
-       //alert(parent.mcq);
-       //top.qw.document.close();
-       //top.qw.document.write(parent.mcq);
-       if (parent.mcq=="<font color=\"#ff0000\">[Alias list]</font> [Expr]")   
-               {
-               parent.mcq="[Expr]";
-               }
-       else 
-               {
-               parent.mcq=parent.mcq.replace("<font color=\"#ff0000\">","");
-               parent.mcq=parent.mcq.replace("</font>","");
-               }
-       parent.parse(parent.mcq);
-       }
-function rimuovialias()
-       {
-       //alert(document.aliaslist.elenco.value);
-       if (document.aliaslist.elenco.value!="")
-               {
-                       for (var i=document.aliaslist.elenco.length-1;i>-1;i--)
-                       {
-                       if (document.aliaslist.elenco.options[i].selected==true)
-                               {
-                               for (num=i;num<top.aliasglob.length;num++)
-                               {
-                               top.aliasglob[num]=top.aliasglob[num+1];
-                               }
-                               top.aliasglob.length--;
-                               //alert ("rimosso "+i);
-                               //parent.aggiorna();
-                               }
-                       }
-               top.window.open(top.topurl+top.action+"aliaslist.html",(top.cw.frames.length==0?"cw":"bw"));
-               }
-       }
-function listalias()
-       {
-       for (num=0;num<top.aliasglob.length;num++)
-               {
-               document.write("<OPTION value="+num+">"+top.aliasglob[num]);
-               //alert (top.aliasglob[num]);
-               }
-       }
-function addalias()
-       {
-       if (top.idcheck(document.aliaslist.idi.value)==1 && top.uricheck(document.aliaslist.uri.value)==1)
-               {
-               top.aliasglob[top.aliasglob.length]="alias "+document.aliaslist.idi.value+" "+document.aliaslist.uri.value;
-               //parent.aggiorna();
-               top.window.open(top.topurl+top.action+"aliaslist.html",(top.cw.frames.length==0?"cw":"bw"));
-               }
-       }
-function istruzioni()
-       {       
-       top.hw.document.close();
-       top.hw.document.write("You must now enter a list of alias. An Alias is the word 'alias' followed by an <a href='grammarpdq.html#Id' target='gw'>Id</a>, followed by an <a href='grammarpdq.html#Uri' target='gw'>Uri</a>.You may enter as many of them as you want, after each one click the button 'add alias' or press enter and it will be added. When you are done, click 'done'.");
-       }
-istruzioni();
-</SCRIPT>
-</HEAD>
-<BODY>
-<form name="aliaslist" action="Javascript:addalias();" method="get">
-alias
-<input name="idi" type=text size="15" value="">
-<input name="uri" type=text size="45" value="cic:/"><br>
-<input type=submit value="add alias"><input type=button value="delete selected" onClick="rimuovialias()";><br>
-<select name="elenco" multiple size=7>
-<SCRIPT language=Javascript> listalias(); document.aliaslist.idi.focus(); </SCRIPT>
-</select>
-<br>
-<input type=button value="Done" onClick="top.window.open(top.topurl+top.action+'blank.html','hw');top.window.open(top.topurl+top.action+'editorpdq.html','sw');invia();" ><br>
-</form>
-</BODY>
-</HTML>