[LON-CAPA-cvs] cvs: loncom /imspackages imsimport.pm imsimportdocs.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 23 Mar 2006 23:17:47 -0000


This is a MIME encoded message

--albertel1143155867
Content-Type: text/plain

albertel		Thu Mar 23 18:17:47 2006 EDT

  Modified files:              
    /loncom/imspackages	imsimport.pm imsimportdocs.pm 
  Log:
  xhtml
  
  
--albertel1143155867
Content-Type: text/plain
Content-Disposition: attachment; filename="albertel-20060323181747.txt"

Index: loncom/imspackages/imsimport.pm
diff -u loncom/imspackages/imsimport.pm:1.14 loncom/imspackages/imsimport.pm:1.15
--- loncom/imspackages/imsimport.pm:1.14	Thu Mar 23 18:12:21 2006
+++ loncom/imspackages/imsimport.pm	Thu Mar 23 18:17:46 2006
@@ -78,10 +78,10 @@
   newWindow.document.write("<tr><td width='2'>&nbsp;</td><td width='3'>&nbsp;</td>\\n")
   newWindow.document.write("<td><form name='fileaction' action='/adm/cfile' method='post'>\\n")
   newWindow.document.write("<font face='arial,helvetica,sans-serif'>Enter the name of the new directory where you will store the contents of your IMS package.<br /><br />")
-  newWindow.document.write("<input type='hidden' name='filename' value='$fullpath'>")
-  newWindow.document.write("<input type='hidden' name='action' value='newdir'>")
-  newWindow.document.write("<input type='hidden' name='callingmode' value='imsimport'>")
-  newWindow.document.write("$fullpath<input type='text' name='newfilename' value=''/>")
+  newWindow.document.write("<input type='hidden' name='filename' value='$fullpath' />")
+  newWindow.document.write("<input type='hidden' name='action' value='newdir' />")
+  newWindow.document.write("<input type='hidden' name='callingmode' value='imsimport' />")
+  newWindow.document.write("$fullpath<input type='text' name='newfilename' value='' />")
   newWindow.document.write("<input type='button' value='Go' onClick='document.fileaction.submit();' />")
   newWindow.document.write("</td></tr>\\n")
   newWindow.document.write("</table>")
@@ -300,11 +300,11 @@
         <font face='Arial,Helvetica,sans-serif'>
 Please choose the CMS used to create your IMS content package.&nbsp;&nbsp;
         <select name="source">
-         <option value='-1' selected="true">Please select
-         <option value='bb5'>Blackboard 5
-         <option value='bb6'>Blackboard 6
-         <option value='angel'>ANGEL
-         <option value='webct4'>WebCT 4
+         <option value='-1' selected="true">Please select</option>
+         <option value='bb5'>Blackboard 5</option>
+         <option value='bb6'>Blackboard 6</option>
+         <option value='angel'>ANGEL</option>
+         <option value='webct4'>WebCT 4</option>
         </select>
         </font>
        </td>
@@ -327,7 +327,7 @@
        <td>&nbsp;</td>
        <td>
         <font face='Arial,Helvetica,sans-serif'>
-Please choose a destination LON-CAPA directory in which to store the contents of the IMS package file. <input type="button" name="createdir" value="Create Directory" onClick="javascript:createWin()"><input type="hidden" name="newdir" value=""></font>
+Please choose a destination LON-CAPA directory in which to store the contents of the IMS package file. <input type="button" name="createdir" value="Create Directory" onClick="javascript:createWin()" /><input type="hidden" name="newdir" value="" /></font>
        </td>
       </tr>
       <tr>
@@ -339,9 +339,9 @@
       </tr>
       <tr>
        <td colspan='2'>
-          <input type="hidden" name="uploaduname" value="$uname">
-          <input type="hidden" name="filename" value="$fn">
-          <input type="hidden" name="phase" value="three">
+          <input type="hidden" name="uploaduname" value="$uname" />
+          <input type="hidden" name="filename" value="$fn" />
+          <input type="hidden" name="phase" value="three" />
        </td>
       </tr>
       <tr>
@@ -352,10 +352,10 @@
         <table border='0' cellspacing='0' cellpadding='0' width="100%">
          <tr>
           <td align='left'>
-           <input type='button' name='exitpage' value='Exit now' onClick="javascript:location.href='$fullpath'">
+           <input type='button' name='exitpage' value='Exit now' onClick="javascript:location.href='$fullpath'" />
           </td>
           <td align='right'>
-           <input type="button" name="nextpage" value="Proceed" onClick="javascript:nextPage()">
+           <input type="button" name="nextpage" value="Proceed" onClick="javascript:nextPage()" />
           </td>
          </tr>
         </table>
@@ -490,13 +490,13 @@
                     if ($area eq 'board') {
                         $r->print("            <td align='left'><font face='arial,helvetica,sans-serif'>&nbsp;&nbsp;
                  <select name='db_handling'>
-                  <option value='-2'>&lt;-- Check Import first
+                  <option value='-2'>&lt;-- Check Import first</option>
                  </select></font>
                 </td>");
                     } elsif ($area eq 'users') {
                         $r->print("            <td align='left'><font face='arial,helvetica,sans-serif'>&nbsp;&nbsp;
                  <select name='user_handling'>
-                  <option value='-2'>&lt;-- Check Import first
+                  <option value='-2'>&lt;-- Check Import first</option>
                  </select>
                  </font>        
                 </td>");
@@ -543,7 +543,7 @@
 <br /><br />
 Choose course:&nbsp;&nbsp;
                  <select name='targetcourse'>
-                  <option value='-1'>Not required
+                  <option value='-1'>Not required</option>
                  </select></font>
        </td>
       </tr>
@@ -587,10 +587,10 @@
         <table border='0' cellspacing='0' cellpadding='0' width="100%">
          <tr>
           <td align='left'>
-           <input type='button' name='exitpage' value='Exit now' onClick="javascript:location.href='$fullpath'">
+           <input type='button' name='exitpage' value='Exit now' onClick="javascript:location.href='$fullpath'" />
           </td>
           <td align='right'>
-           <input type="button" name="nextpage" value="Import package" onClick="javascript:nextPage($counter)">
+           <input type="button" name="nextpage" value="Import package" onClick="javascript:nextPage($counter)" />
           </td>
          </tr>
         </table>
Index: loncom/imspackages/imsimportdocs.pm
diff -u loncom/imspackages/imsimportdocs.pm:1.15 loncom/imspackages/imsimportdocs.pm:1.16
--- loncom/imspackages/imsimportdocs.pm:1.15	Thu Mar 23 18:12:21 2006
+++ loncom/imspackages/imsimportdocs.pm	Thu Mar 23 18:17:46 2006
@@ -226,11 +226,11 @@
         <font face='Arial,Helvetica,sans-serif'>
 Please choose the CMS used to create your IMS content package.&nbsp;&nbsp;
         <select name="source">
-         <option value='-1' selected="true">Please select
-         <option value='bb5'>Blackboard 5
-         <option value='bb6'>Blackboard 6
-         <option value='angel'>ANGEL
-         <option value='webct4'>WebCT 4
+         <option value='-1' selected="true">Please select</option>
+         <option value='bb5'>Blackboard 5</option>
+         <option value='bb6'>Blackboard 6</option>
+         <option value='angel'>ANGEL</option>
+         <option value='webct4'>WebCT 4</option>
         </select>
         </font>
        </td>
@@ -274,10 +274,10 @@
         <table border='0' cellspacing='0' cellpadding='0' width="100%">
          <tr>
           <td align='left'>
-           <input type="button" name="exitpage" value="Exit now" onClick="javascript:self.close()">
+           <input type="button" name="exitpage" value="Exit now" onClick="javascript:self.close()" />
           </td>
           <td align='right'>
-           <input type="button" name="nextpage" value="Upload IMS package" onClick="javascript:nextPage()">
+           <input type="button" name="nextpage" value="Upload IMS package" onClick="javascript:nextPage()" />
           </td>
          </tr>
         </table>
@@ -399,13 +399,13 @@
                     if ($area eq 'board') {
                         $r->print("            <td align='left'><font face='arial,helvetica,sans-serif'>&nbsp;&nbsp;
                  <select name='db_handling'>
-                  <option value='-2'>&lt;-- Check Import first
+                  <option value='-2'>&lt;-- Check Import first</option>
                  </select></font>
                 </td>");
                     } elsif ($area eq 'users') {
                         $r->print("            <td align='left'><font face='arial,helvetica,sans-serif'>&nbsp;&nbsp;
                  <select name='user_handling'>
-                  <option value='-2'>&lt;-- Check Import first
+                  <option value='-2'>&lt;-- Check Import first</option>
                  </select>
                  </font>        
                 </td>");
@@ -445,10 +445,10 @@
        <td>
         <table border='0'>
          <tr>
-          <td><font face='arial,helvetica,sans-serif'><input type="radio" name="toplevel" value="newfolder" />Display listing of contents in a new folder, with folder name:&nbsp;&nbsp;&nbsp;<input type="text" name="foldername" size="15" value="Type Name Here" /></font></td>
+          <td><font face='arial,helvetica,sans-serif'><label><input type="radio" name="toplevel" value="newfolder" />Display listing of contents in a new folder, with folder name:</label>&nbsp;&nbsp;&nbsp;<input type="text" name="foldername" size="15" value="Type Name Here" /></font></td>
          </tr>
          <tr>
-          <td><font face='arial,helvetica,sans-serif'><input type="radio" name="toplevel" value="oldfolder" />Append listing of contents of top level of package to contents list for the current folder.</font></td>
+          <td><font face='arial,helvetica,sans-serif'><label><input type="radio" name="toplevel" value="oldfolder" />Append listing of contents of top level of package to contents list for the current folder.</label></font></td>
          </tr>
         </table>
        </td>
@@ -473,10 +473,10 @@
         <table border='0' cellspacing='0' cellpadding='0' width="100%">
          <tr>
           <td align='left'>
-           <input type='button' name='exitpage' value='Exit now' onClick="javascript:self.close()">
+           <input type='button' name='exitpage' value='Exit now' onClick="javascript:self.close()" />
           </td>
           <td align='right'>
-           <input type="button" name="nextpage" value="Complete Import" onClick="javascript:nextPage($counter)">
+           <input type="button" name="nextpage" value="Complete Import" onClick="javascript:nextPage($counter)" />
           </td>
          </tr>
         </table>
@@ -686,7 +686,7 @@
            <input type="hidden" name="$env{'request.role'}" value="1" />
            <input type="button" value="|;
     $initblock .= &mt('re-initializing course');
-    $initblock .= qq|" onClick="javascript:init(this.form)"/>|;
+    $initblock .= qq|" onClick="javascript:init(this.form)" />|;
     $initblock .= ', '.&mt('or the next time you log in.');
     $initblock .= qq|</font></h3></form>|;  
     $r->print($initblock);

--albertel1143155867--