]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed many xhtml errors
authornicolasconnault <nicolasconnault>
Fri, 20 Apr 2007 07:54:42 +0000 (07:54 +0000)
committernicolasconnault <nicolasconnault>
Fri, 20 Apr 2007 07:54:42 +0000 (07:54 +0000)
47 files changed:
admin/auth_config.php
admin/block.php
admin/filter.php
admin/mnet/index.php
admin/mnet/mnet_review.html
admin/module.php
admin/roles/allowassign.php
admin/roles/allowoverride.php
auth/cas/config.html
auth/cas/index_form.html
auth/db/config.html
auth/email/config.html
auth/fc/config.html
auth/imap/config.html
auth/ldap/config.html
auth/manual/config.html
auth/nntp/config.html
auth/none/config.html
auth/pam/config.html
auth/pop3/config.html
auth/radius/config.html
auth/shibboleth/config.html
blocks/blog_tags/config_instance.html
blocks/mentees/config_instance.html
blocks/search/config_global.html
enrol/flatfile/config.html
enrol/imsenterprise/config.html
enrol/paypal/config.html
filter/censor/filterconfig.html
lang/en_utf8/auth.php
lang/en_utf8/help/assignroles.html
lang/en_utf8/help/install.html
lang/en_utf8/help/quiz/adaptive.html
lang/en_utf8/help/quiz/grademethod.html
lang/en_utf8/help/quiz/popup.html
lang/en_utf8/help/roles.html
mod/assignment/config.html
mod/chat/config.html
mod/data/config.html
mod/forum/config.html
mod/glossary/config.html
mod/hotpot/config.html
mod/lams/config.html
mod/quiz/config.html
mod/scorm/config.html
theme/index.php
theme/standard/styles_layout.css

index 4dd597625356a845e156a124d4771404755f9d60..7a65ba4ea0581264fb958e16b08dca598ac4ef57 100644 (file)
@@ -63,6 +63,7 @@ admin_externalpage_print_header($adminroot);
 
 // choose an authentication method
 echo "<form $CFG->frametarget id=\"authmenu\" method=\"post\" action=\"auth_config.php\">\n";
+echo "<div>\n";
 echo "<input type=\"hidden\" name=\"sesskey\" value=\"".$USER->sesskey."\" />\n";
 echo "<input type=\"hidden\" name=\"auth\" value=\"".$auth."\" />\n";
 
@@ -75,7 +76,8 @@ print_simple_box_end();
 echo "<hr />\n";
 $authplugin->config_form($frm, $err, $user_fields);
 print_simple_box_end();
-echo '<center><p><input type="submit" value="' . get_string("savechanges") . "\" /></p></center>\n";
+echo '<p style="text-align: center"><input type="submit" value="' . get_string("savechanges") . "\" /></p>\n";
+echo "</div>\n";
 echo "</form>\n";
 
 admin_externalpage_print_footer($adminroot);
@@ -146,7 +148,7 @@ function print_auth_lock_options ($auth, $user_fields, $helptext, $retrieveopts,
             echo '</td><td>';
 
             echo "<input id=\"lockconfig_{$varname}\" name=\"lockconfig_{$varname}\" type=\"text\" size=\"30\" value=\"{$pluginconfig->$varname}\" />";
-            echo '<div align="right">';
+            echo '<div style="text-align: right">';
             echo '<label for="menulockconfig_field_updatelocal_'.$field.'">'.get_string('auth_updatelocal', 'auth') . '</label>&nbsp;';
             choose_from_menu($updatelocaloptions, "lockconfig_field_updatelocal_{$field}", $pluginconfig->{"field_updatelocal_$field"}, "");
             echo '<br />';
index 7690e81c3e7e8adb2fa056a9b8886cd0195383db..2b580ef5a57eba65c588acb1a0f2441c9c5d4e77 100644 (file)
@@ -59,7 +59,7 @@
 
     print_heading($strblockname);
 
-    print_simple_box('<center>'.get_string('configwarning', 'admin').'</center>', 'center', '50%');
+    print_simple_box(get_string('configwarning', 'admin'), 'center', '50%');
     echo '<br />';
 
     echo '<form method="post" action="block.php">';
index 6fb383b4396db6544be714c3269960c525866315..f65627d30ff162431d1701ca3b326d87c029bebb 100644 (file)
     admin_externalpage_print_header($adminroot);
     print_heading( $filtername );
 
-    print_simple_box("<center>".get_string("configwarning", "admin")."</center>", "center", "50%");
+    print_simple_box(get_string("configwarning", "admin"), "center", "50%");
     echo "<br />";
 
     print_simple_box_start("center",'');
 
     ?>
     <form action="filter.php?filter=<?php echo urlencode($param->filter); ?>" method="post">
+    <div style="text-align: center">
     <input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
 
     <?php include "$CFG->dirroot/$param->filter/filterconfig.html"; ?>
 
-    <center>
         <input type="submit" name="submit" value="<?php print_string('savechanges'); ?>" />
         <input type="submit" name="reset" value="<?php echo print_string('resettodefaults'); ?>" />
-    </center>
+    </div>
     </form>
 
     <?php
index 90212f2cca5336427f5878130fa480b338ed3d28..0e5fab69479a67e03d2a6c163aac5ba3a9c559f7 100644 (file)
                 <tr valign="top">
                     <td align="right"><?php print_string('net', 'mnet'); ?>:</td>
                     <td><input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
-                        <input type="radio" name="mode" value="off" <?php echo ("off" == $CFG->mnet_dispatcher_mode)? 'checked="true"' : '' ?> /> <?php print_string('off', 'mnet'); ?> <br />
-                        <input type="radio" name="mode" value="strict" <?php echo ("strict" == $CFG->mnet_dispatcher_mode)? 'checked="true"' : '' ?> /> <?php print_string('on', 'mnet'); ?><br />
+                        <input type="radio" name="mode" value="off" <?php echo ("off" == $CFG->mnet_dispatcher_mode)? 'checked="checked"' : '' ?> /> <?php print_string('off', 'mnet'); ?> <br />
+                        <input type="radio" name="mode" value="strict" <?php echo ("strict" == $CFG->mnet_dispatcher_mode)? 'checked="checked"' : '' ?> /> <?php print_string('on', 'mnet'); ?><br />
                         <input type="submit" name="submit" value="<?php print_string('savechanges'); ?>" />
                     </td>
                 </tr>
index 8733b51661d7627773fb597284b1268cb39bab7b..52d99f6ddae3cf3b834b84a0d0ac05b8a0d3d4a0 100644 (file)
@@ -102,7 +102,7 @@ if (isset($mnet_peer->deleted) && $mnet_peer->deleted > 0){
     <tr>
         <td align="right" valign="top"><?php print_string('deleted'); ?>:</td>
         <td valign="top">
-            <input type="radio" name="deleted" value="0" checked="true" /> <?php print_string('reenableserver','mnet'); ?><br />
+            <input type="radio" name="deleted" value="0" checked="checked" /> <?php print_string('reenableserver','mnet'); ?><br />
             <input type="radio" name="deleted" value="1"  /> <?php print_string('yes'); ?><br />
         </td>
     </tr>
index c80f16978adc108c34da19b15c4fb36a5b0c1726..314e57788aefa73417c898ae890f0b46d20ac1d5 100644 (file)
@@ -55,7 +55,7 @@
 
     print_heading($strmodulename);
 
-    print_simple_box("<center>".get_string("configwarning", 'admin')."</center>", "center", "60%");
+    print_simple_box(get_string("configwarning", 'admin'), "center", "60%");
     echo "<br />";
 
     print_simple_box_start("center", "");
index c871ef421d74aa04276a0fadf7545b63e6d4e795..7354095efa7646ca9f29621a102aa632854c56c1 100755 (executable)
@@ -80,9 +80,9 @@
 
     echo '<form action="allowassign.php" method="post">';
     print_table($table);
-    echo '<div class="buttons"><input type="submit" value="'.get_string('savechanges').'"/></div>';
+    echo '<div class="buttons"><input type="submit" value="'.get_string('savechanges').'"/>';
     echo '<input type="hidden" name="dummy" value="1" />'; // this is needed otherwise we do not know a form has been submitted
-    echo '</form>';
+    echo '</div></form>';
 
     admin_externalpage_print_footer($adminroot);
 
index 3d7e7119f9635017dd22d5a7ac846310d4a78f77..cd2615880cb12b842aaf9a5a2396ec06e26f30b9 100755 (executable)
@@ -78,9 +78,9 @@
 
     echo '<form action="allowoverride.php" method="post">';
     print_table($table);
-    echo '<div class="buttons"><input type="submit" value="'.get_string('savechanges').'"/></div>';
+    echo '<div class="buttons"><input type="submit" value="'.get_string('savechanges').'"/>';
     echo '<input type="hidden" name="dummy" value="1" />'; // this is needed otherwise we do not know a form has been submitted
-    echo '</form>';
+    echo '</div></form>';
 
     admin_externalpage_print_footer($adminroot);
 
index d666ce1283e2b708a3212b8526160da985947640..8ce11b4b7a4247ae538ab1ddd16b012353e93c44 100644 (file)
@@ -36,7 +36,7 @@
     }
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr>
    <td colspan="2">
index 2e1fa1ca69f0a575c17450cfe71476434303883a..5a1c85e2e39b55d00de88f6f2dfb5722d806ea31 100644 (file)
@@ -1,11 +1,11 @@
-<table width="90%" border="0" cellspacing="10" cellpadding="5" align="center">
+<table width="90%" border="0" cellspacing="10" cellpadding="5" >
   <tr>
 <?php if ($show_instructions) { ?>
     <td width="50%" class="headingblock">
-      <p align="center"><b><font size="3"><?php  print_string("returningtosite") ?></font></b></p>
+      <p><b><?php  print_string("returningtosite") ?></b></p>
     </td>
     <td width="50%" class="headingblock">
-      <p align="center"><b><font size="3"><?php  print_string("firsttime") ?></font></b></p>
+      <p><b><?php  print_string("firsttime") ?></b></p>
     </td>
 <?php } ?>
   </tr>
@@ -16,7 +16,8 @@
          <?php helpbutton("cookies", get_string("cookiesenabled"))?><br /><?php formerr($errormsg) ?>
       </p>
       <form action="index.php" method="post" id="login">
-        <table border="0" align="center" style="font-size: small">
+        <div>
+        <table border="0" style="font-size: small">
         <tr>
           <td width="100%">
             <input type="hidden" name="username" id="username" value="cas" />
           </td>
         </tr>
         </table>
+        </div>
       </form>
 <?php if ($CFG->guestloginbutton) {  ?>
       <hr width="80%" />
       <p><?php print_string("someallowguest") ?>:</p>
         <form action="index.php" method="post" id="guestlogin">
+          <div>
           <input type="hidden" name="username" value="guest" />
           <input type="hidden" name="password" value="guest" />
           <input type="submit" value="<?php print_string("loginguest") ?>" />
+          </div>
         </form>
 <?php } ?>
 
@@ -43,7 +47,7 @@
       <hr width="80%" />
       <p><?php print_string("forgotten") ?></p>
         <form action="<?php p($changepassword) ?>" method="get" id="changepassword">
-          <input type="submit" value="<?php p($changebuttonname) ?>" />
+          <div><input type="submit" value="<?php p($changebuttonname) ?>" /></div>
         </form>
 <?php } ?>
 
               case "email":
                  print_string("loginsteps", "", "signup.php");
 ?>
-                 <div align="center">
                    <form action="signup.php" method="get" id="signup">
-                   <input type="submit" value="<?php print_string("startsignup") ?>" />
+                       <div><input type="submit" value="<?php print_string("startsignup") ?>" /></div>
                    </form>
-                 </div>
 <?php            break;
                case "none":
                  print_string("loginstepsnone");
                  if (!empty($authplugin->config->user_create) and method_exists($authplugin, 'user_create')) {
 ?>
 
-                 <div align="center">
                     <form action="signup.php" method="get" id="signup">
-                    <input type="submit" value="<?php print_string("startsignup") ?>" />
+                       <div><input type="submit" value="<?php print_string("startsignup") ?>" /></div>
                     </form>
-                 </div>
 
 <?php            }
           }
index 0712137cda8cdd2939eecec06a265f026417850d..e4ccbe3bf920697facca8fae2781b9d93d40c17b 100644 (file)
@@ -50,7 +50,7 @@
     $yesno = array( get_string('no'), get_string('yes') );
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr valign="top" class="required">
     <td align="right"><label for="host"><?php print_string("auth_dbhost_key", "auth") ?></label></td>
index da2b148f554ea36d0b7cc9c5dd1179f1ba90d665..a2c1bcd5fa1838d5b23194a88c7b4ff6ebd9d897 100644 (file)
@@ -1,7 +1,7 @@
 <!-- No config needed -->
-<div align="center"><?php print_string('none'); ?></div>
+<div style="text-align: center"><?php print_string('none'); ?></div>
 
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 <?php
 
 print_auth_lock_options('email', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
index 12787bd4a6e83a3d572330e35c3e14f2af4df72c..3bf9457b9f3a914382fea7ba22d0c6ec0db9a3da 100644 (file)
@@ -24,7 +24,7 @@
     }
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr valign="top" class="required">
        <td align="right"><?php  print_string("auth_fchost_key", "auth") ?>:</td>
index e2b2311fd964e9998ad02b3b89da63b29e28e48b..bbb9723f72cc718939cfe2b4df8f91def358fcc9 100644 (file)
@@ -15,7 +15,7 @@ if (!isset($config->changepasswordurl)) {
 }
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr valign="top" class="required">
     <td align="right"><?php print_string('auth_imaphost_key', 'auth') ?>: </td>
index a1a1f24fe93974052ff30d673d37489f3ccf3d3a..c4ca71203d84acbd403e985aacc740bb5f771560 100644 (file)
@@ -63,7 +63,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
 }
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr>
    <td colspan="2">
index 14e4de41754f255e402d0ea30eb0e9cf5c55d5ea..05459fa172f4caceca791bd1d6853a78edbe26ef 100644 (file)
@@ -1,7 +1,7 @@
 <!-- No config needed -->
-<div align="center"><?php print_string('none'); ?></div>
+<div style="text-align:center"><?php print_string('none'); ?></div>
 
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 <?php
 
 print_auth_lock_options('manual', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
index 2da7bbaeeb0aac0af777a984ff4a40004268d9cc..59683099c708170594971282cc8eb99bb5478d27 100644 (file)
@@ -12,7 +12,7 @@ if (!isset($config->changepasswordurl)) {
 }
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr valign="top" class="required">
     <td align="right"><?php print_string('auth_nntphost_key', 'auth') ?>: </td>
index cdc7ff7962f125078f277aae9a0226916deb6e90..abeada05246ccbb0e752b1aeb34609682a8008f1 100644 (file)
@@ -1,7 +1,7 @@
 <!-- No config needed -->
-<div align="center"><?php print_string('none'); ?></div>
+<div style="text-align: center"><?php print_string('none'); ?></div>
 
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 <?php
 
 print_auth_lock_options('none', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
index 5252f18ca5c32356e6a1d225d8fb61b5f3902209..f2f6f1a46f3fda7801240413fb2094f2065a09e3 100644 (file)
@@ -1,7 +1,7 @@
 <!-- No config needed -->
-<div align="center"><?php print_string('none'); ?></div>
+<div style="text-align: center"><?php print_string('none'); ?></div>
 
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 <?php
 
 print_auth_lock_options('pam', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
index 6031d304d3c8e33123333064a21e6fa6870dda05..464094d6cca342a9dd21683b8b9a33b7bc8db1e2 100644 (file)
@@ -18,7 +18,7 @@ if (!isset($config->changepasswordurl)) {
 }
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr valign="top" class="required">
     <td align="right"><?php print_string('auth_pop3host_key', 'auth') ?>: </td>
index f0b6b8f08794e8f894ac764411a2e0de1922c21f..449f0c06944bb8fa80d74114403469a5a06af01a 100644 (file)
@@ -3,8 +3,8 @@
 // TODO: this generates broken file errors, needs safer test -JH
 
 // Is Auth/RADIUS really there?
-if ((!include_once('Auth/RADIUS.php')) or (!class_exists(Auth_RADIUS_PAP))) {
-    print '<p align="center"><font color="red"><strong>Warning: The Auth_RADIUS module does not seem to be present. Please ensure it is installed and enabled.</strong></font></p>';
+if (!defined('Auth_RADIUS_PAP') or !class_exists(Auth_RADIUS_PAP) or !include_once('Auth/RADIUS.php')) {
+    print '<p style="text-align:center; color: red"><strong>Warning: The Auth_RADIUS module does not seem to be present. Please ensure it is installed and enabled.</strong></p>';
 }
 
 // set to defaults if undefined
@@ -22,7 +22,7 @@ if (!isset($config->changepasswordurl)) {
 }
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr valign="top">
     <td align="right"><?php print_string('auth_radiushost_key', 'auth') ?>: </td>
index 51ef924b34238cc47b0fba772fbe5069c73e6700..073666b757ea8d93c3e8c5435f29205224dcfdca 100755 (executable)
@@ -17,7 +17,7 @@
     }
 
 ?>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
+<table cellspacing="0" cellpadding="5" border="0">
 
 <tr valign="top" class="required">
     <td align="right"><?php print_string("username") ?>:</td>
index f5ffcefdff474ae7be9f50b91f3884a0cb6f234a..dd1eb665b4bc839eead6696a0e0abafa1c106c8c 100644 (file)
     }
 ?>
 
-<table cellpadding="9" cellspacing="0">
+<table cellpadding="9" cellspacing="0" class="blockconfigtable">
 
-<tr valign=top>
-<td align=right><?php print_string("blocktitle","blog") ?>:</td>
+<tr valign="top">
+<td align="right"><?php print_string("blocktitle","blog") ?>:</td>
 <td><input type="text" name="title" size="50" value="<?php p($this->config->title) ?>" /></td>
 </tr>
 
-<tr valign=top>
-<td align=right><?php print_string("numberoftags","blog") ?>:</td>
+<tr valign="top">
+<td align="right"><?php print_string("numberoftags","blog") ?>:</td>
 <td><?php choose_from_menu($numberoftags,"numberoftags",$this->config->numberoftags) ?></td>
 </tr>
 
-<tr valign=top>
-<td align=right><?php print_string("timewithin","blog") ?>:</td>
+<tr valign="top">
+<td align="right"><?php print_string("timewithin","blog") ?>:</td>
 <td><?php choose_from_menu($timewithin,"timewithin",$this->config->timewithin) ?></td>
 </tr>
 
-<tr valign=top>
-<td align=right><?php print_string("tagsort","blog") ?>:</td>
+<tr valign="top">
+<td align="right"><?php print_string("tagsort","blog") ?>:</td>
 <td><?php choose_from_menu($sort,"sort",$this->config->sort) ?></td>
 </tr>
 
 <tr>
-    <td colspan="2" align="center"><input type="submit" value="<?php print_string("savechanges") ?>"></td>
+    <td colspan="2" align="center"><input type="submit" value="<?php print_string("savechanges") ?>" /></td>
 </tr>
 
 </table>
index 6379df82a3349be47116fed9d6bb7ef56e56f6b8..09f765c29d651cd381dfae68f010ab8ac7761631 100755 (executable)
@@ -1,4 +1,4 @@
-<table cellpadding="9" cellspacing="0">
+<table cellpadding="9" cellspacing="0" class="blockconfigtable">
 <tr valign="top">
     <td align="right"><?php print_string('configtitle', 'block_mentees'); ?>:</td>
     <td><input type="text" name="title" size="30" value="<?php echo isset($this->config->title)?p($this->config->title):''; ?>" /> (<?php print_string('leaveblanktohide', 'block_mentees'); ?>)</td>
index b16c2f4503188e54a825355b97b0c23123cfb9a2..4f69a7da169b7129009d301d2f0e888bc76da52d 100644 (file)
@@ -1,6 +1,6 @@
 <div style="text-align:center;">
   <label for="block_search_text">Search label</label>
-  <input type="text" name="block_search_text" value="<?php 
+  <input id="block_search_text" type="text" name="block_search_text" value="<?php 
     if(isset($CFG->block_search_text)) {
         p($CFG->block_search_text);
     } else {
@@ -8,7 +8,7 @@
     } ?>"/><br/>
   
   <label for="block_search_button">Button label</label>
-  <input type="text" name="block_search_button" value="<?php 
+  <input id="block_search_button" type="text" name="block_search_button" value="<?php 
     if(isset($CFG->block_search_button)) {
         p($CFG->block_search_button);
     } else {
@@ -16,4 +16,4 @@
     } ?>"/><br/><br/>
   
   <input type="submit" value="<?php print_string('savechanges'); ?>" />
-</div>
\ No newline at end of file
+</div>
index bb27df8bc0883b5a55767a81c01034b5e6eca7ba..e91df2f1aa2bc5ede637f320c8fc8fc66bd449e9 100644 (file)
@@ -13,7 +13,7 @@
 <tr valign="top">
     <td align="right">enrol_mailstudents:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php  print_string("mailstudents") ?>
@@ -23,7 +23,7 @@
 <tr valign="top">
     <td align="right">enrol_mailteachers:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php  print_string("mailteachers") ?>
@@ -33,7 +33,7 @@
 <tr valign="top">
     <td align="right">enrol_mailadmins:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php  print_string("mailadmins") ?>
index 8a37b58453867bf68f55ca52841a782d54db0d03..73215ec2467374b4cbcacb54057264d749ebf304 100644 (file)
@@ -21,7 +21,7 @@
 <tr valign="top">
     <td align="right"><?php  print_string('mailadmins', 'enrol_imsenterprise') ?>:</td>
     <td style="width:10px">
-        <input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     
@@ -35,7 +35,7 @@
 <tr valign="top">
     <td align="right"><?php  print_string('createnewusers', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_createnewusers" <?php if ($frm->enrol_createnewusers) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_createnewusers" <?php if ($frm->enrol_createnewusers) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php helpbutton('createnewusers', 'More detail about this option', 'enrol/imsenterprise'); ?>
@@ -45,7 +45,7 @@
 <tr valign="top">
     <td align="right"><?php  print_string('deleteusers', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_imsdeleteusers" <?php if ($frm->enrol_imsdeleteusers) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_imsdeleteusers" <?php if ($frm->enrol_imsdeleteusers) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php helpbutton('deleteusers', 'More detail about this option', 'enrol/imsenterprise'); ?>
@@ -55,7 +55,7 @@
 <tr valign="top">
     <td align="right"><?php  print_string('fixcaseusernames', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_fixcaseusernames" <?php if ($frm->enrol_fixcaseusernames) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_fixcaseusernames" <?php if ($frm->enrol_fixcaseusernames) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     
@@ -65,7 +65,7 @@
 <tr valign="top">
     <td align="right"><?php  print_string('fixcasepersonalnames', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_fixcasepersonalnames" <?php if ($frm->enrol_fixcasepersonalnames) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_fixcasepersonalnames" <?php if ($frm->enrol_fixcasepersonalnames) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     
@@ -75,7 +75,7 @@
 <tr valign="top">
     <td align="right"><?php  print_string('sourcedidfallback', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_imssourcedidfallback" <?php if ($frm->enrol_imssourcedidfallback) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_imssourcedidfallback" <?php if ($frm->enrol_imssourcedidfallback) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php helpbutton('sourceddidfallback', 'More detail about this option', 'enrol/imsenterprise'); ?>    
@@ -87,7 +87,7 @@ Photo processing is deactivated until we hear from Moodle dev forum about modifi
 <tr valign="top">
     <td align="right"><?php  print_string('processphoto', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_processphoto" <?php if ($frm->enrol_processphoto) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_processphoto" <?php if ($frm->enrol_processphoto) echo "checked=\"checked\"" ?> />
     </td>
     <td>
         <?php  print_string('processphotowarning', 'enrol_imsenterprise') ?>
@@ -145,7 +145,7 @@ foreach($this->imsroles as $imsrolenum=>$imsrolename){
 <tr valign="top">
     <td align="right"><?php  print_string('createnewcourses', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_createnewcourses" <?php if ($frm->enrol_createnewcourses) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_createnewcourses" <?php if ($frm->enrol_createnewcourses) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php helpbutton('createnewcourses', 'More detail about this option', 'enrol/imsenterprise'); ?>
@@ -155,7 +155,7 @@ foreach($this->imsroles as $imsrolenum=>$imsrolename){
 <tr valign="top">
     <td align="right"><?php  print_string('createnewcategories', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_createnewcategories" <?php if ($frm->enrol_createnewcategories) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_createnewcategories" <?php if ($frm->enrol_createnewcategories) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php helpbutton('categorisation', 'More detail about this option', 'enrol/imsenterprise'); ?>
@@ -165,7 +165,7 @@ foreach($this->imsroles as $imsrolenum=>$imsrolename){
 <tr valign="top">
     <td align="right"><?php  print_string('allowunenrol', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_imsunenrol" <?php if ($frm->enrol_imsunenrol) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_imsunenrol" <?php if ($frm->enrol_imsunenrol) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php helpbutton('unenrol', 'More detail about this option', 'enrol/imsenterprise'); ?>
@@ -187,7 +187,7 @@ foreach($this->imsroles as $imsrolenum=>$imsrolename){
 <tr valign="top">
     <td align="right"><?php  print_string('usecapitafix', 'enrol_imsenterprise') ?>:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_imscapitafix" <?php if ($frm->enrol_imscapitafix) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_imscapitafix" <?php if ($frm->enrol_imscapitafix) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php helpbutton('capita', 'More detail about this option', 'enrol/imsenterprise'); ?>
@@ -196,4 +196,4 @@ foreach($this->imsroles as $imsrolenum=>$imsrolename){
 
 </table>
 
-<p><i><?php  print_string('aftersaving...', 'enrol_imsenterprise') ?> <a href="../enrol/imsenterprise/importnow.php"><?php  print_string('doitnow', 'enrol_imsenterprise') ?></a>.</i></p>
\ No newline at end of file
+<p><i><?php  print_string('aftersaving...', 'enrol_imsenterprise') ?> <a href="../enrol/imsenterprise/importnow.php"><?php  print_string('doitnow', 'enrol_imsenterprise') ?></a>.</i></p>
index be03a5c23128d4ba442a4d4b09f32f81db613389..73be98db06afd3cfa26db5f0ef26768c226b6933 100644 (file)
@@ -33,7 +33,7 @@
 <tr valign="top">
     <td align="right">enrol_mailstudents:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_mailstudents" <?php if ($frm->enrol_mailstudents) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php  print_string("mailstudents") ?>
@@ -43,7 +43,7 @@
 <tr valign="top">
     <td align="right">enrol_mailteachers:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_mailteachers" <?php if ($frm->enrol_mailteachers) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php  print_string("mailteachers") ?>
@@ -53,7 +53,7 @@
 <tr valign="top">
     <td align="right">enrol_mailadmins:</td>
     <td>
-        <input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"true\"" ?> />
+        <input type="checkbox" value="1" name="enrol_mailadmins" <?php if ($frm->enrol_mailadmins) echo "checked=\"checked\"" ?> />
     </td>
     <td>
     <?php  print_string("mailadmins") ?>
index 406ec5fec5f6a46628ab65eb7af528a2e4e55754..df551f5651b02c797c7678a589e9fe45b94c1f18 100644 (file)
@@ -18,7 +18,7 @@
 <table cellpadding="9" cellspacing="0">
     <tr valign="top">
         <td align="right"><?php echo $txt->badwordslist; ?></td>
-        <td><textarea type="text" name="filter_censor_badwords" cols="60" rows="10"><?php echo "$CFG->filter_censor_badwords"; ?></textarea></td>
+        <td><textarea name="filter_censor_badwords" cols="60" rows="10"><?php echo "$CFG->filter_censor_badwords"; ?></textarea></td>
     </tr>
     <tr>
         <td>&nbsp;</td>
index dd85a3879bec165dc1a165983e08fef152d4ea27..21a555d8eb2415390b495506c484a15bfe9ec76e 100644 (file)
@@ -244,7 +244,7 @@ $string['auth_nonedescription'] = 'Users can sign in and create valid accounts i
 $string['auth_nonetitle'] = 'No authentication';
 
 // PAM plugin
-$string['auth_pamdescription'] = 'This method uses PAM to access the native usernames on this server. You have to install <a href=\"http://www.math.ohio-state.edu/~ccunning/pam_auth/\" target=\"_blank\">PHP4 PAM Authentication</a> in order to use this module.';
+$string['auth_pamdescription'] = 'This method uses PAM to access the native usernames on this server. You have to install <a href=\"http://www.math.ohio-state.edu/~ccunning/pam_auth/\">PHP4 PAM Authentication</a> in order to use this module.';
 $string['auth_pamtitle'] = 'PAM (Pluggable Authentication Modules)';
 
 $string['auth_passwordisexpired'] = 'Your password is expired. Do you want change your password now?';
@@ -266,7 +266,7 @@ $string['auth_pop3host_key'] = 'Host';
 
 // RADIUS plugin
 $string['auth_radiustitle'] = 'RADIUS server';
-$string['auth_radiusdescription'] = 'This method uses a <a href=\"http://en.wikipedia.org/wiki/RADIUS\" target=\"_blank\">RADIUS</a> server to check whether a given username and password is valid.';
+$string['auth_radiusdescription'] = 'This method uses a <a href=\"http://en.wikipedia.org/wiki/RADIUS\">RADIUS</a> server to check whether a given username and password is valid.';
 $string['auth_radiushost'] = 'Address of the RADIUS server';
 $string['auth_radiusnasport'] = 'Port to use to connect';
 $string['auth_radiussecret'] = 'Shared secret';
@@ -276,7 +276,7 @@ $string['auth_radiushost_key'] = 'Host';
 $string['auth_radiussecret_key'] = 'Secret';
 
 // Shibboleth plugin
-$string['auth_shibbolethdescription'] = 'Using this method users are created and authenticated using <a href=\"http://shibboleth.internet2.edu/\" target=\"_blank\">Shibboleth</a>.<br/>Be sure to read the <a href=\"../auth/shibboleth/README.txt\" target=\"_blank\">README</a> for Shibboleth on how to set up your Moodle with Shibboleth';
+$string['auth_shibbolethdescription'] = 'Using this method users are created and authenticated using <a href=\"http://shibboleth.internet2.edu/\">Shibboleth</a>.<br/>Be sure to read the <a href=\"../auth/shibboleth/README.txt\">README</a> for Shibboleth on how to set up your Moodle with Shibboleth';
 $string['auth_shibbolethtitle'] = 'Shibboleth';
 $string['auth_shibboleth_login'] = 'Shibboleth Login';
 $string['auth_shibboleth_manual_login'] = 'Manual Login';
@@ -285,7 +285,7 @@ $string['auth_shib_only_description'] = 'Check this option if a Shibboleth authe
 $string['auth_shib_username_description'] = 'Name of the webserver Shibboleth environment variable that shall be used as Moodle username';
 $string['auth_shib_instructions'] = 'Use the <a href=\"$a\">Shibboleth login</a> to get access via Shibboleth, if your institution supports it.<br />Otherwise, use the normal login form shown here.';
 $string['auth_shib_convert_data'] = 'Data modification API';
-$string['auth_shib_convert_data_description'] = 'You can use this API to further modify the data provided by Shibboleth. Read the <a href=\"../auth/shibboleth/README.txt\" target=\"_blank\">README</a> for further instructions.';
+$string['auth_shib_convert_data_description'] = 'You can use this API to further modify the data provided by Shibboleth. Read the <a href=\"../auth/shibboleth/README.txt\">README</a> for further instructions.';
 $string['auth_shib_instructions_help'] = 'Here you should provide custom instructions for your users to explain Shibboleth.  It will be shown on the login page in the instructions section. The instructions must include a link to \"<b>$a</b>\" that users click when they want to log in.';
 $string['auth_shib_convert_data_warning'] = 'The file does not exist or is not readable by the webserver process!';
 $string['auth_shib_changepasswordurl'] = 'Password-change URL';
index 42cccbe79f741c220658a232f0ce86f8bffe544d..cbbb98bc6938c33919bef1e033085ca6a7273fd2 100644 (file)
@@ -9,13 +9,13 @@ in that role, for the current context and all
 
 <p>
 Contexts:
+</p>
 <ol>
 <li>Site/System</li>
 <li>Course Categories</li>
 <li>Courses</li>
 <li>Blocks and Activities</li>
 </ol>
-</p>
 
 <p>
 So for example, if you grant a Student role to a 
index bf7e5049cac5fa3973d017f5c2c89f3facc780fe..0ff1f86101b9c32faa71fe9ba6906745f3fe87e9 100644 (file)
@@ -1,12 +1,12 @@
 <h1>Installing Moodle</h1>
-<h2>Dont panic! <img src="http://moodle.org/pix/s/smiley.gif" /></h2>
+<h2>Don't panic! <img src="http://moodle.org/pix/s/smiley.gif" alt="don't panic!" /></h2>
 <blockquote>
   <p>This guide explains how to install Moodle for the first time.  For some of these steps it goes into a lot of detail to try and cover the majority of possible
      web server setups, so this document may look long and complicated.  Don't panic, once you know how to do it you can install Moodle in minutes!</p>
   <p>If you have problems please read this document carefully - most common issues are answered in here.
      If you still have trouble, you can seek help from 
-   <a target="_blank" href="http://moodle.org/help">Moodle Help</a></p>
-  <p>Another option is to contact a <a target="_blank" href="http://moodle.com/hosting/">web hosting company</a>
+   <a href="http://moodle.org/help">Moodle Help</a></p>
+  <p>Another option is to contact a <a href="http://moodle.com/hosting/">web hosting company</a>
      who can completely maintain Moodle for you, so that you can ignore all this and get straight into educating!
 </p>
   <p>&nbsp;  </p>
     and on Windows XP, Mac OS X and Netware 6 operating systems</p>
   <p>The requirements for Moodle are as follows:</p>
   <ol>
-    <li>Web server software. Most people use <a href="http://www.apache.org/" target="_blank">Apache</a>, 
+    <li>Web server software. Most people use <a href="http://www.apache.org/" >Apache</a>, 
       but Moodle should work fine under any web server that supports PHP, such 
       as IIS on Windows platforms.</li>
-    <li><a href="http://www.php.net/" target="_blank">PHP</a> scripting language (version 4.1.0 
+    <li><a href="http://www.php.net/">PHP</a> scripting language (version 4.1.0 
       or later). PHP 5 is supported as of Moodle 1.4. </li>
-    <li>a working database server: <a href="http://www.mysql.com/" target="_blank">MySQL</a> 
-      or <a href="http://www.postgresql.org/" target="_blank">PostgreSQL</a> are 
+    <li>a working database server: <a href="http://www.mysql.com/">MySQL</a> 
+      or <a href="http://www.postgresql.org/">PostgreSQL</a> are 
       completely supported and recommended for use with Moodle. </li>
   </ol>
   <p>Most web hosts support all of this by default. If you are signed up with 
@@ -53,7 +53,7 @@
 <h3 class="sectionheading"><a name="downloading"></a>2. Download and copy files into place </h3>
 <blockquote>
   <p>There are two ways to get Moodle, as a compressed package and via CVS. These 
-    are explained in detail on the download page: <a href="http://moodle.org/download/" target="_blank">http://moodle.org/download/</a></p>
+    are explained in detail on the download page: <a href="http://moodle.org/download/">http://moodle.org/download/</a></p>
   <p>After downloading and unpacking the archive, or checking out the files via 
     CVS, you will be left with a directory called &quot;moodle&quot;, containing 
     a number of files and folders.</p>
@@ -70,7 +70,7 @@
     you oriented:</p>
   <blockquote>
     <table><tr>
-      <td width="130" valign="top">config.php</td>
+      <td valign="top">config.php</td>
       <td valign="top">-</td>
       <td valign="top">
         contains basic settings. This file does not come with Moodle - you will create it. </td>
@@ -264,10 +264,10 @@ php_value post_max_size 2M
       unsigned NOT NULL default '0', enddate int(10) unsigned NOT NULL default 
       '0', timemodified int(10) unsigned NOT NULL default '0', PRIMARY KEY (id)) 
       TYPE=MyISAM</p>
-    <p><font color="#006600">SUCCESS</font></p>
+    <p style="color: #006600">SUCCESS</p>
   </blockquote>
-  <p>...and so on, followed by: <font color="#006600">Main databases set up 
-      successfully.</font> </p>
+  <p>...and so on, followed by: <span style="color: #006600">Main databases set up 
+      successfully.</span> </p>
   <blockquote>
     <p class="style3">If you don't see these, then there must have been some problem with the database 
         or the configuration settings you defined in config.php. Check that PHP isn't 
@@ -288,7 +288,7 @@ php_value post_max_size 2M
       This is easy to fix: just turn off the &quot;secureforms&quot; setting, then 
       try to continue again.</p>
   </blockquote>
-  <p>Next you will see more  pages that print lots of status messages as they set up all the tables required by the various Moodle module. As before, they should all be <font color="#006600">green</font>.</p>
+  <p>Next you will see more  pages that print lots of status messages as they set up all the tables required by the various Moodle module. As before, they should all be <span style="color:#006600">green</span>.</p>
   <p>Scroll down the very bottom of the page and press the &quot;Continue&quot; link.</p>
   <p>The next page is a form where you can define parameters for your Moodle site 
     and the front page, such as the name, format, description and so on. Fill 
@@ -357,7 +357,7 @@ php_value post_max_size 2M
     regularly.</p>
   <p><b>On Windows systems</b></p>
   <blockquote>
-    <p>The simplest way is to use this little package <a href="http://moodle.org/download/modules/moodle-cron-for-windows.zip" title="Click to download this package (150k)" target="_blank"><strong>moodle-cron-for-windows.zip</strong></a> which makes this whole thing very easy by installing a small Windows service. Run it and forget about it!</p>
+    <p>The simplest way is to use this little package <a href="http://moodle.org/download/modules/moodle-cron-for-windows.zip" title="Click to download this package (150k)"><strong>moodle-cron-for-windows.zip</strong></a> which makes this whole thing very easy by installing a small Windows service. Run it and forget about it!</p>
   </blockquote>
   <p><strong>On web hosting services</strong></p>
   <blockquote>
@@ -419,6 +419,6 @@ php_value post_max_size 2M
   <p>See the &quot;<a href="http://docs.moodle.org/en/Teacher_documentation">Teacher Documentation</a>&quot; for more details 
     on course-building.</p>
   <p>&nbsp;</p>
-  <p align="center"><strong>Happy exploring and happy Moodling!</strong></p>
-  <p align="center"><strong>If you like Moodle, please consider <a href="http://moodle.org/donations/" target="_blank">donating</a> to help us cover our costs! </strong></p>
+  <p style="text-align:center"><strong>Happy exploring and happy Moodling!</strong></p>
+  <p style="test-align:center"><strong>If you like Moodle, please consider <a href="http://moodle.org/donations/">donating</a> to help us cover our costs! </strong></p>
 </blockquote>
index 94c131651f67c8bb727d789500d9fcbb91aa76b1..037ee8a4b96f7be68de6609f88b8b656f161a90f 100644 (file)
@@ -5,8 +5,8 @@
 <p>This mode also allows adaptive questions that can change themselves in response to a student's answer. Here is how the IMS QTI specification defines adaptive questions (items):</p>
 
 <blockquote>
-An adaptive item is an item that adapts either its appearance, its scoring (Response Processing) or both in response to each of the candidate's attempts. For example, an adaptive item may start by prompting the candidate with a box for free-text entry but, on receiving an unsatisfactory answer, present a simple choice interaction  instead and award fewer marks for subsequently identifying the correct response. Adaptivity allows authors to create items for use in formative situations which both help to guide candidates through a given task while also providing an outcome that takes into consideration their path
-</blockquote>
+<p>An adaptive item is an item that adapts either its appearance, its scoring (Response Processing) or both in response to each of the candidate's attempts. For example, an adaptive item may start by prompting the candidate with a box for free-text entry but, on receiving an unsatisfactory answer, present a simple choice interaction  instead and award fewer marks for subsequently identifying the correct response. Adaptivity allows authors to create items for use in formative situations which both help to guide candidates through a given task while also providing an outcome that takes into consideration their path
+</p></blockquote>
 
 <p>In adaptive mode an additional <?php print_string('mark', 'quiz') ?> button is shown for each question.
 If the student presses this button then the response to that particular question is submitted to be scored and the mark achieved 
@@ -14,4 +14,4 @@ is displayed to the student. If the question is an adaptive question then it is
 student's answer into account and will in many cases ask the student for another input. In the simplest adaptive questions 
 this new state may differ only in the feedback text and prompt the student to try again; in more
 complicated question also the question text and even the interaction elements can change.
-</p>
\ No newline at end of file
+</p>
index f12bf4b3834226d50c20597ae2ce27e3b5ee78cd..f7ef42eb31e516abd5c6fe80a544b7bc2aba3a29 100644 (file)
@@ -4,22 +4,14 @@
    you can use the grades to calculate the student's final 
    grade for the quiz.</p>
 
-<p><b>Highest grade</b><p>
-<ul>
+<h2>Highest grade</h2>
 <p>The final grade is the highest (best) grade in any attempt.</p>
-</ul>
 
-<p><b>Average grade</b><p>
-<ul>
+<h2>Average grade</h2>
 <p>The final grade is the average (simple mean) grade of all attempts.</p>
-</ul>
 
-<p><b>First grade</b><p>
-<ul>
+<h2>First grade</h2>
 <p>The final grade is the grade gained on the first attempt (other attempts are ignored).</p>
-</ul>
 
-<p><b>Last grade</b><p>
-<ul>
+<h2>Last grade</h2>
 <p>The final grade is the grade gained on the most recent attempt only.</p>
-</ul>
index cd230305966a45d325b9cafd7a0ba2eb128299d5..7493663cef938dff57ef433ceb485a82a1a4234b 100644 (file)
@@ -4,14 +4,13 @@
    (making copying and cheating more difficult) by restricting some of the things
    that students can do with their browsers.</p>
 
-<p>What happens is that:
+<p>What happens is that:</p>
  <ul>
      <li>Javascript is made a requirement.</li>
      <li>The quiz appears in a new fullscreen window.</li>
      <li>Some mouse actions on the text are prevented.</li>
      <li>Some keyboard commands are prevented.</li>
  </ul>
-</p>
 
 <p>NOTE: <b>This security is NOT watertight</b>. Do NOT rely on these protections 
    as your sole strategy.  It is impossible to implement complete protection 
index f7f9ca2680680c59c933ff1c5d3d70616ed09c9c..dd645810d8af5223601984aeb3d91722632e7e30 100644 (file)
@@ -13,7 +13,7 @@ for that course.  You could also assign the role to a user in the
 course category to make them a "Teacher" for all the courses under that
 category, or assign the role to a user just in a single forum, giving 
 that user those capabilities just in that forum.
-<p>
+</p>
   
 <p>
 A role must have a <strong>name</strong>.  If you need to name the role for multiple 
@@ -27,12 +27,12 @@ languages you can use multilang syntax if you wish, such as <pre>
 The <strong>shortname</strong> is necessary for other plugins in Moodle that may need
 to refer to your Roles (eg when uploading users from a file or setting 
 enrolments via an enrolment plugin).
-<p>
+</p>
 
 <p>
 The <strong>description</strong> is simply to describe the role in your own words, so 
 that everyone has a common understanding about the role.
-<p>
+</p>
 
 <p>
 See also 
index 332fea1ee9aa91ea3693abc14da22b2b2c39fe41..6eedcdff2d050449e4346fd7e59572d9ca78f158 100644 (file)
@@ -1,4 +1,5 @@
 <form method="post" action="module.php" id="form">
+<div>
 <input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
 
 <table cellpadding="9" cellspacing="0" >
@@ -33,5 +34,5 @@
     <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
 </tr>
 </table>
-
+</div>
 </form>
index 6746049f89592a7861854034463ae8bc709c487a..c3796c2f019040e4de839599ff518734421021f5 100644 (file)
@@ -1,4 +1,5 @@
 <form method="post" action="module.php" id="form">
+<div>
 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
 
 <table cellpadding="9" cellspacing="0" >
      <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
 </tr>
 </table>
-
+</div>
 </form>
index bdf91edf43f5bb0c52d7617ee710af6d14af0245..422f822d84d79859e63662ba3220a3d2526db7ab 100644 (file)
@@ -1,4 +1,5 @@
 <form method="post" action="module.php" id="form">
+<div>
 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
 
 <table cellpadding="9" cellspacing="0" >
@@ -39,5 +40,5 @@
     <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
 </tr>
 </table>
-
+</div>
 </form>
index 738eb59addec804f4b44f4ef1b587992059e5ceb..85b6c3fdc2ab77199a86355f3a09790ba54cdfb3 100644 (file)
@@ -1,4 +1,5 @@
 <form method="post" action="module.php" id="form">
+<div>
 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
 
 <table cellpadding="9" cellspacing="0" >
     <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
 </tr>
 </table>
-
+</div>
 </form>
index 3a0b158b381bb021b637825d780f7f97e71d168f..5180488fb2e0480760f96b5f613817c4cc29460f 100644 (file)
@@ -3,6 +3,7 @@
     $no  = get_string("no");
 ?>
 <form method="post" action="module.php" id="form">
+<div>
 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
 
 <table cellpadding="9" cellspacing="0" >
         }
         $vicon = "<a title=\"" . $vtitle . "\" href=\"$CFG->wwwroot/mod/glossary/formats.php?id=$formatid&amp;mode=visible\"><img class=\"iconsmall\" src=\"../pix/t/" . $vicon . "\" alt=\"$vtitle\" /></a>";
 
-        echo '<td align="center" nowrap="nowrap">' . $eicon . '&nbsp;&nbsp;' . $vicon . '</td>';
+        echo '<td align="center">' . $eicon . '&nbsp;&nbsp;' . $vicon . '</td>';
         echo '</tr>';
     }
     print_simple_box_end();
         <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
 </tr>
 </table>
-
+</div>
 </form>
index 536e994305302e01653182263ede241c7c1a9b50..096b72d3e51bdd66ee7ff771aa78df05ee400f19 100644 (file)
@@ -1,6 +1,6 @@
 <form method="post" action="module.php" id="form">
 <input type="hidden" name="sesskey" value="<?PHP print isset($USER->sesskey) ? $USER->sesskey : '' ?>" />
-
+<div>
 <table cellpadding="9" cellspacing="0">
     <tr valign="top">
         <td align="right">hotpot_showtimes:</td>
@@ -21,5 +21,5 @@
         <td colspan="3" align="center"><input type="submit" value="<?PHP print_string("savechanges") ?>" /></td>
     </tr>
 </table>
-
+</div>
 </form>
index f44214e211f0d58d30d74a970dfb6b6d226b3e32..33257c22b4edf0ddd6a9f96656493be193eb4248 100644 (file)
@@ -1,23 +1,24 @@
 <form method="post" action="module.php" id="form">
-<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>">
+<div>
+<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
 
 <table cellpadding="9" cellspacing="0">
 <tr valign="top">
-    <td align="right">server_url:</td>
+    <th>server_url:</th>
     <td> <input name="lams_serverurl" type="text" size="50" value="<?php if (isset($CFG->lams_serverurl)) p($CFG->lams_serverurl) ?>" /></td>
     <td>
     <?php print_string('serverurl', 'lams') ?>
     </td>
 </tr>
 <tr valign="top">
-    <td align="right">server_id:</td>
+    <th>server_id:</th>
     <td> <input name="lams_serverid" type="text" size="50" value="<?php if (isset($CFG->lams_serverid)) p($CFG->lams_serverid) ?>" />    </td>
     <td>
     <?php print_string('serverid', 'lams') ?>
     </td>
 </tr>
 <tr valign="top">
-    <td align="right">server_key:</td>
+    <th>server_key:</th>
     <td> <input name="lams_serverkey" type="text" size="50" value="<?php if (isset($CFG->lams_serverkey)) p($CFG->lams_serverkey) ?>" />    </td>
     <td>
     <?php print_string('serverkey', 'lams') ?>
@@ -25,9 +26,9 @@
 </tr>
 
 <tr>
-    <td colspan="3" align="center">
-    <input type="submit" value="<?php print_string("savechanges") ?>"></td>
+    <td colspan="3">
+    <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
 </tr>
 </table>
-
+</div>
 </form>
index d5a10190013d9587b411ca0abc0af23bc7057c1d..aed19c2dccc3ef7e70b2c68e7683466e9a9b3c12 100644 (file)
@@ -88,6 +88,7 @@
 </script>
 
 <form method="post" action="module.php" id="form">
+<div>
 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
 
 <!-- Table of default values -->
 
 ?>
 
-<table cellpadding="9" cellspacing="0" align="center">
+<table cellpadding="9" cellspacing="0">
 
 <tr valign="top">
   <th align="right" scope="col">&nbsp;</th>
 </tr>
 
 </table>
-
+</div>
 </form>
 
 <script type="text/javascript">
index 3eb86ef0449652821a842d07fc23ddfaebbbe747..8418bbe055383775421fdb295093b16ceea91a32 100755 (executable)
@@ -8,6 +8,7 @@
 ?>
 
 <form method="post" action="module.php" id="form">
+<div>
 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
 
 <table cellpadding="9" cellspacing="0" >
@@ -35,5 +36,5 @@
     </td>
 </tr>
 </table>
-
+</div>
 </form>
index cfebb4b53ce223332b33d80f1bb72ea4e83b3803..d8e4846377afb9e4317a500adc209c11b518f597 100644 (file)
         if (!$USER->screenreader) {
             echo "<td align=\"center\">";
             if ($screenshotpath) {
-                $screenshot = "<li><a target=\"$theme\" href=\"$theme/screenshot.jpg\">$strscreenshot</a></li>";
-                echo "<iframe name=\"$theme\" src=\"$screenshotpath\" height=\"200\" width=\"400\"></iframe></td>";
+                $screenshot = "<li><a href=\"$theme/screenshot.jpg\">$strscreenshot</a></li>";
+                echo "<object type=\"text/html\" data=\"$screenshotpath\" height=\"200\" width=\"400\">$theme</object></td>";
             } else {
-                echo "<iframe name=\"$theme\" src=\"preview.php?preview=$theme\" height=\"200\" width=\"400\"></iframe></td>";
+                echo "<object type=\"text/html\" data=\"preview.php?preview=$theme\" height=\"200\" width=\"400\">$theme</object></td>";
             }
         }
 
         if ($screenshot or $readme) {
             echo '<ul>';      
             if (!$USER->screenreader) {
-                echo "<li><a target=\"$theme\" href=\"preview.php?preview=$theme\">$strpreview</a></li>";
+                echo "<li><a href=\"preview.php?preview=$theme\">$strpreview</a></li>";
             }
             echo $screenshot.$readme;
             echo '</ul>';
index 62604adbb7490e20114b6859b01e13c39eea7f2f..cf86947a4c51ebd4fa84beb4a9e20b0021ab77c8 100644 (file)
@@ -1219,6 +1219,8 @@ a.skip-block, .skip-block {
 
 .blockconfigtable {
   margin-top: 0;
+  margin-right: auto;
+  margin-left: auto;
 }
 
 .blockconfigtable td.label {