[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages/annotator admannotations.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 10 Apr 2006 23:32:57 -0000


albertel		Mon Apr 10 19:32:57 2006 EDT

  Modified files:              
    /loncom/html/res/adm/pages/annotator	admannotations.pm 
  Log:
  - xhtmlize
  
  
Index: loncom/html/res/adm/pages/annotator/admannotations.pm
diff -u loncom/html/res/adm/pages/annotator/admannotations.pm:1.21 loncom/html/res/adm/pages/annotator/admannotations.pm:1.22
--- loncom/html/res/adm/pages/annotator/admannotations.pm:1.21	Mon Apr 10 19:28:52 2006
+++ loncom/html/res/adm/pages/annotator/admannotations.pm	Mon Apr 10 19:32:53 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # This will take annotations and then plug them into a page.
 #
-# $Id: admannotations.pm,v 1.21 2006/04/10 23:28:52 albertel Exp $
+# $Id: admannotations.pm,v 1.22 2006/04/10 23:32:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -85,15 +85,15 @@
     return(<<END_HTML)
 $start_page
  <center>
-  <FORM name="annotInfo" method="post" action="/adm/annotations">
-    <TEXTAREA NAME="annotation" WRAP=ON ROWS=12 COLS=36>$annotation</TEXTAREA><br>
-    <INPUT TYPE="hidden" name="urlold" value="$urlnew">
-    <INPUT TYPE="hidden" name="urlnew" value="">
-    <INPUT TYPE=button name=send value="Save and Update"
-  onClick=
-"javascript:this.form.urlnew.value=window.opener.clientwindow.location.href;this.form.submit();">
-    <INPUT TYPE=button name="close" value="Close (no save)" onClick="javascript:window.close();">
-  </FORM>
+  <form name="annotInfo" method="post" action="/adm/annotations">
+    <textarea name="annotation" wrap="on" rows="12" cols="36">$annotation</textarea><br />
+    <input type="hidden" name="urlold" value="$urlnew" />
+    <input type="hidden" name="urlnew" value="" />
+    <input type="button" name="send" value="Save and Update"
+           onclick="javascript:this.form.urlnew.value=window.opener.clientwindow.location.href;this.form.submit();" />
+    <input type="button" name="close" value="Close (no save)" 
+           onclick="javascript:window.close();" />
+  </form>
  </center>
 $end_page
 END_HTML
@@ -110,21 +110,21 @@
     return(<<END_HTML2)
 $start_page
  <center>
-  <FORM name="annotInfo" method="post" action="/adm/annotations">
+  <form name="annotInfo" method="post" action="/adm/annotations">
 <table bgcolor="#FFFFFF" width="100%" height="90%" align="center">
 <td>
-<font size=+1><i>
+<font size="+1"><i>
 $annot_error
 </i></font>
 </td>
 </table>
-    <INPUT TYPE="hidden" name="urlold" value="">
-    <INPUT TYPE="hidden" name="urlnew" value="">
-    <INPUT TYPE=button name=send value="$button_name"
-  onClick=
-"javascript:this.form.urlnew.value=window.opener.clientwindow.location.href;this.form.submit();">
-    <INPUT TYPE=button name="close" value="Close" onClick="javascript:window.close();">
-  </FORM>
+    <input type="hidden" name="urlold" value="" />
+    <input type="hidden" name="urlnew" value="" />
+    <input type="button" name="send" value="$button_name"
+           onclick="javascript:this.form.urlnew.value=window.opener.clientwindow.location.href;this.form.submit();" />
+    <input type="button" name="close" value="Close" 
+           onclick="javascript:window.close();" />
+  </form>
  </center>
 $end_page
 END_HTML2