Fixes for MDL-7861.

This commit is contained in:
vyshane 2007-01-10 02:33:09 +00:00
parent b7b50143f3
commit fff50475bd

View File

@ -1,6 +1,6 @@
<tr valign="top">
<td align="right" nowrap="nowrap">
<td align="right" style="white-space:nowrap;">
<script type="text/javascript">
@ -58,7 +58,7 @@
<div id="windowsettings">
<table align="center">
<table class="boxaligncenter">
<tr valign="top">
@ -76,9 +76,11 @@
return lockoptions('form', 'windowpopup[1]', popupitems);" />
<b title="<?php print_string('pagedisplay', 'resource') ?>"><?php print_string('pagewindow', 'resource') ?></b>
<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>
@ -92,6 +94,7 @@
return lockoptions('form', 'windowpopup[1]', popupitems);" />
<b title="<?php p($strnewwindowopen) ?>"><?php p($strnewwindow) ?></b>
<blockquote>
<fieldset class="invisiblefieldset">
<?php
foreach ($window as $name => $value) {
if ($name == "height" or $name == "width") {
@ -118,6 +121,7 @@
echo "\n//]]>\n</script>";
}
?>
</fieldset>
</blockquote>
</td>
</tr>