]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed xhtml for MDL-7861.
authorvyshane <vyshane>
Tue, 9 Jan 2007 12:01:17 +0000 (12:01 +0000)
committervyshane <vyshane>
Tue, 9 Jan 2007 12:01:17 +0000 (12:01 +0000)
mod/resource/type/text/text.html

index 1789778a2c64a2e6cc421799fe3dae9bfef03d2f..b4b71cff4b6dfad17db73565ce81e2ba64af44d4 100644 (file)
@@ -32,7 +32,7 @@
     </td>
 </tr>
 <tr valign="top">
-    <td align="right" nowrap="nowrap">
+    <td align="right" style="white-space:nowrap;">
 
 
         <b><?php print_string("fulltext", "resource") ?>:</b><br />
@@ -44,7 +44,7 @@
     </td>
 </tr> 
 <tr valign="top">
-    <td align="right" nowrap="nowrap">
+    <td align="right" style="white-space:nowrap;">
         <b><?php print_string("formattexttype") ?>:</b><br />
     </td>
     <td>
@@ -71,7 +71,7 @@
 
     <div id="windowsettings">
         
-<table align="center">
+<table class="boxaligncenter">
         
 
 <tr valign="top">
             var allitems = [<?php echo $alloptions; ?>];
         //]]>
         </script>
+        
         <input type="radio" name="windowpopup" value="0" alt="<?php print_string("pagewindow", "resource") ?>" <?php echo ($windowtype != "popup") ? 'checked="checked"' : '' ?> 
         onclick="lockoptions('form', 'windowpopup[0]', blockitem);
         return lockoptions('form', 'windowpopup[1]', popupitems);" />
         <b title="<?php print_string("pagedisplay", "resource") ?>"><?php print_string("pagewindow", "resource") ?></b>
         <?php print_string("pagedisplay", "resource") ?>
         <blockquote>
+            <fieldset class="invisiblefieldset">
             <input type="hidden" name="hblockdisplay" value="0" />
             <input type="checkbox" name="blockdisplay" value="1" <?php echo ($form->options == "showblocks") ? "checked=\"checked\"" : "" ?> alt="<?php print_string('showcourseblocks', 'resource') ?>" />
             <?php print_string("showcourseblocks", "resource") ?>
+            </fieldset>
         </blockquote>
-
+        
     </td>
 </tr>
 
         <b title="<?php p($strnewwindowopen) ?>"><?php p($strnewwindow) ?></b>
         <?php p($strnewwindowopen) ?>
         <blockquote>
+        <fieldset class="invisiblefieldset">
         <?php
             foreach ($window as $name => $value) {
                 if ($name == "height" or $name == "width") {
                 echo "\n//]]>\n</script>";
             }
         ?>
+        </fieldset>
         </blockquote>
     </td>
 </tr>