[LON-CAPA-cvs] cvs: loncom /publisher publisher.html

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 15 Apr 2004 19:32:38 -0000


albertel		Thu Apr 15 15:32:38 2004 EDT

  Modified files:              
    /loncom/publisher	publisher.html 
  Log:
  - hey this version almost validates as xhtml 1.0 transitional
  
  
Index: loncom/publisher/publisher.html
diff -u loncom/publisher/publisher.html:1.37 loncom/publisher/publisher.html:1.38
--- loncom/publisher/publisher.html:1.37	Wed Apr  7 14:02:47 2004
+++ loncom/publisher/publisher.html	Thu Apr 15 15:32:37 2004
@@ -1,8 +1,8 @@
 <html>
 <head>
 <title>LON-CAPA Publishing Frame</title>
-<script language="JavaScript">
-
+<script type="text/javascript">
+//<!--
 function frameloc() {
     if (parent.LONCAPAToBePublished.location.pathname.indexOf("/~")!=-1) {
        parent.lastknownpriv=parent.LONCAPAToBePublished.location.pathname;
@@ -104,58 +104,58 @@
   document.printout.problemtype.value=getproblemtype();
   document.printout.submit();
 }
+//-->
 </script>
     </head>
     <body bgcolor="#ccffdd" text='#002200' link='#003333' vlink='#006666'>
-      <font size="-2">
 	<table border="0" align="center"><tr><th bgcolor="#004400" height="20">
 	      <table border="0" cellspacing="2" cellpadding="2"><tr valign="middle">
-		  <form name="publisher" action="/adm/publish" target="_parent" method="post">
-		    <td bgcolor="#ccddaa" align="center">
+		  <td bgcolor="#ccddaa" align="center">
+		    <form name="publisher" action="/adm/publish" target="_parent" method="post">
 		      <input type="hidden" name="filename" value="" />
-	              <input type="button" value="MT{Publish this Resource}" onClick="getfilename();" />
-		    </td>
-		  </form>
-		  <form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished" method="post">
-		    <td bgcolor="#ccddaa" align="center">
+	              <input type="button" value="MT{Publish this Resource}" onclick="getfilename();" />
+		    </form>
+		  </td>
+		  <td bgcolor="#ccddaa" align="center">
+		    <form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished" method="post">
 		      <input type="hidden" name="filename" value="" />
-		      <input type="button" value="MT{List Directory}" onClick="getdfilename();" />
-		    </td>
-		  </form>
-		  <form name="upublisher" action="/adm/upload" target="_parent"
+		      <input type="button" value="MT{List Directory}" onclick="getdfilename();" />
+		    </form>
+		  </td>
+		  <td bgcolor="#ccddaa" valign="top" align="center">
+		    <form name="upublisher" action="/adm/upload" target="_parent"
 			method="post" enctype="multipart/form-data">
-		    <td bgcolor="#ccddaa" valign="top" align="center">
 		      <input type="hidden" name="filename" value="" />
 		      <input type="file" name="upfile" size="20" />
-		      <input type="button" value="MT{Upload file}"  onClick="getufilename();" />
-		    </td>
-		  </form>
-		  <form name="printout" target="_parent" action="/adm/printout" target="LONCAPAToBePublished" method="post" onSubmit="getpostdata();">
-		    <td rowspan="2" bgcolor="#ccddaa" align="center">
+		      <input type="button" value="MT{Upload file}"  onclick="getufilename();" />
+		    </form>
+		  </td>
+		  <td rowspan="2" bgcolor="#ccddaa" align="center">
+		    <form name="printout" target="_parent" action="/adm/printout" method="post" onsubmit="getpostdata();">
 		      <input type="hidden" name="postdata" value="" />
 		      <input type="hidden" name="curseed" value="" />
 		      <input type="hidden" name="problemtype" value="" />
-		      <input type="button" value="MT{Print}" onClick="getpostdata();" />
-		    </td>
-		  </form>
+		      <input type="button" value="MT{Print}" onclick="getpostdata();" />
+		    </form>
+		  </td>
 
 		</tr>
 		<tr valign="middle">
-		  <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post">
-		    <td bgcolor="#ccddaa" align="center">
+		  <td bgcolor="#ccddaa" align="center">
+		    <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post">
 		      <input type="hidden" name="filename" value="" />
-		      <input type="button" value="MT{Retrieve Old Version}" onClick="getrfilename();" />
-		    </td>
-		  </form>
-		  <form name="del" action="/adm/cfile" target="_parent" method="post">
-		    <td bgcolor="#ccddaa">
+		      <input type="button" value="MT{Retrieve Old Version}" onclick="getrfilename();" />
+		    </form>
+		  </td>
+		  <td bgcolor="#ccddaa">
+		    <form name="del" action="/adm/cfile" target="_parent" method="post">
 		      <input type="hidden" name="filename" value="" />
 		      <input type="hidden" name="action" value="delete" />
-	              <input type="button" value="MT{Delete}" onClick="getdelfilename();" />
-		    </td>
-		  </form>
-		  <form name="fileaction" action="/adm/cfile" target="_parent" method="post" onSubmit="getactionfilename();">
-		    <td bgcolor="#ccddaa" align="center">
+	              <input type="button" value="MT{Delete}" onclick="getdelfilename();" />
+		    </form>
+		  </td>
+		  <td bgcolor="#ccddaa" align="center">
+		    <form name="fileaction" action="/adm/cfile" target="_parent" method="post" onsubmit="getactionfilename();">
 		      <nobr>
 			<input type="hidden" name="filename" value="" />
 			  <select name="action">
@@ -171,17 +171,14 @@
 			    <option value="rename">MT{Rename current file to}:</option>
 			    <option value="move">MT{Move current file to}:</option>
 			    <option value="copy">MT{Copy current file to}:</option>
-			  </select>&nbsp;<input type="text" name="newfilename" value="MT{Type Name Here}" onFocus="if (this.value == 'MT{Type Name Here}') this.value=''" />&nbsp;<input type="button" value="MT{Go}" onClick="getactionfilename();" />
+			  </select>&nbsp;<input type="text" name="newfilename" value="MT{Type Name Here}" onfocus="if (this.value == 'MT{Type Name Here}') this.value=''" />&nbsp;<input type="button" value="MT{Go}" onclick="getactionfilename();" />
 		      </nobr>
-		    </td>
-		  </form>
-		</td>
-		</form>
+		    </form>
+		   </td>
 		</tr>
 	      </table>
 	    </th>
 	  </tr>
 	</table>
-      </font>
     </body>
   </html>