From 60af27037b0e17d766989d96ea51a5b8297e646a Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 8 Jan 2007 19:34:16 +0000 Subject: [PATCH] MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed --- admin/auth.php | 6 +- admin/auth_config.php | 4 +- admin/enrol_config.php | 2 +- admin/mnet/access_control.php | 4 +- admin/register.php | 22 ++--- blocks/search_forums/block_search_forums.php | 2 +- blog/TODO.txt | 2 +- course/search.php | 6 +- enrol/authorize/locallib.php | 24 ++--- enrol/authorize/uploadcsv.php | 4 +- enrol/manual/enrol.html | 2 +- filter/algebra/algebradebug.php | 14 +-- filter/tex/texdebug.php | 10 +- filter/tex/texed.php | 4 +- iplookup/ipatlas/ip-atlas_prefs.php | 10 +- iplookup/ipatlas/plot.php | 2 +- lang/en_utf8/help/quiz/calculated.html | 6 +- lib/editor/htmlarea/coursefiles.php | 2 +- lib/editor/htmlarea/popups/select_color.php | 2 +- lib/rsslib.php | 2 +- lib/speller/controls.html | 12 +-- lib/speller/spellchecker.html | 2 +- lib/speller/wordWindow.js | 2 +- login/mnet_email.php | 4 +- mod/data/edit.php | 10 +- mod/glossary/config.html | 98 +++++++++---------- mod/hotpot/config.html | 4 +- mod/hotpot/hotpot-full.js | 28 +++--- mod/hotpot/mod.html | 6 +- mod/hotpot/report.php | 2 +- mod/hotpot/report/overview/report.php | 8 +- mod/hotpot/template/v6.php | 4 +- mod/hotpot/template/v6/hp6sendresults.js_ | 22 ++--- mod/hotpot/template/v6/jcross6.js_ | 2 +- mod/hotpot/view.php | 4 +- mod/lams/mod.html | 2 +- mod/lesson/highscores.php | 2 +- mod/quiz/report/grading/report.php | 8 +- mod/resource/type/file/localfile.php | 2 +- mod/resource/type/file/localpath.php | 4 +- .../type/repository/hive/openhive.php | 28 +++--- mod/wiki/ewiki/plugins/moodle/downloads.php | 2 +- .../type/datasetdependent/datasetitems.php | 2 +- user/messageselect.php | 6 +- 44 files changed, 197 insertions(+), 197 deletions(-) diff --git a/admin/auth.php b/admin/auth.php index 221527c8e8..10035f82ef 100644 --- a/admin/auth.php +++ b/admin/auth.php @@ -173,14 +173,14 @@ foreach ($displayauths as $auth => $name) { if (in_array($auth, $authsenabled)) { $hideshow = ""; $hideshow .= "pixpath}/i/hide.gif\" class=\"icon\" alt=\"disable\" />"; - // $hideshow = ""; + // $hideshow = ""; $enabled = true; $displayname = "$name"; } else { $hideshow = ""; $hideshow .= "pixpath}/i/show.gif\" class=\"icon\" alt=\"enable\" />"; - // $hideshow = ""; + // $hideshow = ""; $enabled = false; $displayname = "$name"; } @@ -272,7 +272,7 @@ echo "\n"; //////////////////////////////////////////////////////////////////////////////// -echo '
'; +echo '
'; echo ''; admin_externalpage_print_footer($adminroot); diff --git a/admin/auth_config.php b/admin/auth_config.php index 2c8ec9c81c..f19c532c59 100644 --- a/admin/auth_config.php +++ b/admin/auth_config.php @@ -64,7 +64,7 @@ admin_externalpage_print_header($adminroot); // choose an authentication method echo "
frametarget id=\"authmenu\" method=\"post\" action=\"auth_config.php\">\n"; echo "sesskey."\">\n"; -echo "\n"; +echo "\n"; // auth plugin description print_simple_box_start('center', '80%'); @@ -75,7 +75,7 @@ print_simple_box_end(); echo "
\n"; $authplugin->config_form($frm, $err); print_simple_box_end(); -echo '

\n"; +echo '

\n"; echo "
\n"; admin_externalpage_print_footer($adminroot); diff --git a/admin/enrol_config.php b/admin/enrol_config.php index f69e7d5477..6046263c94 100644 --- a/admin/enrol_config.php +++ b/admin/enrol_config.php @@ -59,7 +59,7 @@ $enrolment->config_form($frm); - echo "

\n"; + echo "

\n"; echo ""; print_simple_box_end(); diff --git a/admin/mnet/access_control.php b/admin/mnet/access_control.php index 284ab76b0e..a887de7b8b 100644 --- a/admin/mnet/access_control.php +++ b/admin/mnet/access_control.php @@ -181,7 +181,7 @@ echo get_string('username') . ":\n"; if (!empty($formerror['username'])) { echo ' * '; } -echo ''; +echo ''; // choose a remote host echo " " . get_string('remotehost', 'mnet') . ":\n"; @@ -200,7 +200,7 @@ $accessmenu['deny'] = get_string('deny', 'mnet'); choose_from_menu($accessmenu, 'access'); // submit button -echo ''; +echo ''; echo "\n"; // print errors diff --git a/admin/register.php b/admin/register.php index a7e2bd7135..7058e07ad5 100644 --- a/admin/register.php +++ b/admin/register.php @@ -62,8 +62,8 @@ echo "wwwroot\">\n"; echo "siteidentifier\">\n"; - echo "\n"; - echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; echo "\n"; @@ -114,18 +114,18 @@ $count = count_records('course')-1; echo get_string("courses").": ".$count; - echo "\n"; + echo "\n"; echo '
'; $count = count_records('user', 'deleted', 0); echo get_string("users").": ".$count; - echo "\n"; + echo "\n"; echo '
'; // total number of role assignments $count = count_records('role_assignments'); echo get_string('roleassignments', 'role').": ".$count; - echo "\n"; + echo "\n"; echo '
'; // first find all distinct roles with mod/course:update @@ -140,22 +140,22 @@ $count = count_records_sql($sql); echo get_string("teachers").": ".$count; - echo "\n"; + echo "\n"; echo '
'; $count = count_records('forum_posts'); echo get_string("posts", 'forum').": ".$count; - echo "\n"; + echo "\n"; echo '
'; $count = count_records('question'); echo get_string("questions", 'quiz').": ".$count; - echo "\n"; + echo "\n"; echo '
'; $count = count_records('resource'); echo get_string("modulenameplural", "resource").": ".$count; - echo "\n"; + echo "\n"; echo '
'; echo "\n"; @@ -167,7 +167,7 @@ echo "\n"; echo "".get_string("administrator").":\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; @@ -187,7 +187,7 @@ echo "\n"; echo " \n"; - echo "\n"; + echo "\n"; echo "\n"; diff --git a/blocks/search_forums/block_search_forums.php b/blocks/search_forums/block_search_forums.php index 4f76b79035..340a52eb6a 100644 --- a/blocks/search_forums/block_search_forums.php +++ b/blocks/search_forums/block_search_forums.php @@ -26,7 +26,7 @@ class block_search_forums extends block_base { $advancedsearch = get_string('advancedsearch', 'block_search_forums'); - //Accessibility: replaced with configurable text/'silent' character. + //Accessibility: replaced with configurable text/'silent' character. check_theme_arrows(); // Theme config, $CFG->block_search_button = $THEME->rarrow .''.get_string('search').''; $button = (isset($CFG->block_search_button)) ? $CFG->block_search_button : get_string('go'); diff --git a/blog/TODO.txt b/blog/TODO.txt index 4f34ff1514..8a24914c13 100644 --- a/blog/TODO.txt +++ b/blog/TODO.txt @@ -190,7 +190,7 @@ define('MAGPIE_CACHE_FRESH_ONLY', false); //should be exposed as an admin config //below is a section removed from edit.php. blog_useweblog_rpc) { -echo "Send update notice to weblogs.com
(may cause longer load time) "; +echo "Send update notice to weblogs.com
(may cause longer load time) "; }?> � DH - RSS - All rss/atom scripts should use a blogFilter with arguments passed in to be used in loading correct blogEntries. Either the news page or a new function in BlogFilter should build the cache filename. Create a new page that has full drop down menu options to select a specific feed type (filter news feeds by category, user, date to start with) diff --git a/course/search.php b/course/search.php index da00455ccd..bbafea3cea 100644 --- a/course/search.php +++ b/course/search.php @@ -155,9 +155,9 @@ echo "
"; echo "sesskey\">"; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; echo ""; echo ""; echo ""; diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index 90c294070b..a8c93b5f10 100644 --- a/enrol/authorize/locallib.php +++ b/enrol/authorize/locallib.php @@ -71,7 +71,7 @@ function authorize_print_orders($courseid, $userid) popup_form($baseurl.'&status='.$status.'&course=',$popupcrs,'coursesmenu',$courseid,'','','',false);echo"\n"; if (has_capability('enrol/authorize:uploadcsv', get_context_instance(CONTEXT_USER, $USER->id))) { echo ""; - echo ""; + echo ""; echo ""; } else { @@ -228,7 +228,7 @@ function authorize_print_order_details($orderno) } echo "\n"; - echo "\n"; + echo "\n"; echo ""; $settled = authorize_settled($order); @@ -266,7 +266,7 @@ function authorize_print_order_details($orderno) $strcaptureyes = get_string('captureyes', 'enrol_authorize'); $table->data[] = array("$strs->confirm:", "$strcaptureyes
- +    $strs->no"); } else { @@ -328,8 +328,8 @@ function authorize_print_order_details($orderno) $cbunenrol = print_checkbox('unenrol', '1', !empty($unenrol), '', '', '', true); $table->data[] = array("$authstrs->unenrolstudent", $cbunenrol); $table->data[] = array("$strhowmuch", - " - + " + $strcanbecredit
"); } else { @@ -371,8 +371,8 @@ function authorize_print_order_details($orderno) if (empty($confirm)) { $strvoidyes = get_string('voidyes', 'enrol_authorize'); $table->data[] = array("$strs->confirm:", - "$strvoidyes
- + "$strvoidyes
+     $strs->no"); } @@ -418,9 +418,9 @@ function authorize_print_order_details($orderno) $cbunenrol = print_checkbox('unenrol', '1', !empty($unenrol), '', '', '', true); $table->data[] = array("$authstrs->unenrolstudent", $cbunenrol); $table->data[] = array("$strs->confirm:", - "$strsubvoidyes
- - + "$strsubvoidyes
+ +     $strs->no"); } @@ -457,8 +457,8 @@ function authorize_print_order_details($orderno) $cbunenrol = print_checkbox('unenrol', '1', !empty($unenrol), '', '', '', true); $table->data[] = array("$authstrs->unenrolstudent", $cbunenrol); $table->data[] = array("$strs->confirm:", - " - + " +     $strs->no"); } diff --git a/enrol/authorize/uploadcsv.php b/enrol/authorize/uploadcsv.php index 5ec81f24b3..f13dfbd346 100644 --- a/enrol/authorize/uploadcsv.php +++ b/enrol/authorize/uploadcsv.php @@ -33,10 +33,10 @@ /// Print submit form $maxuploadsize = get_max_upload_file_size(); echo '
- + '; upload_print_form_fragment(1, array('csvfile'), array(get_string('file'))); - echo ''; + echo ''; echo '

'; /// Print footer diff --git a/enrol/manual/enrol.html b/enrol/manual/enrol.html index fee7c259cf..c1a05fa8ac 100644 --- a/enrol/manual/enrol.html +++ b/enrol/manual/enrol.html @@ -47,7 +47,7 @@ diff --git a/filter/algebra/algebradebug.php b/filter/algebra/algebradebug.php index 787a68e8c4..75b86bad59 100644 --- a/filter/algebra/algebradebug.php +++ b/filter/algebra/algebradebug.php @@ -332,21 +332,21 @@ function slasharguments($texexp, $md5) { target="inlineframe">
+ value="sin(z)/(x^2+y^2)" />
    -
  1. First click on this button +
  2. First click on this button to see the cache_filters database entry for this expression.
  3. If the database entry looks corrupt, click on this button to delete it: -
  4. -
  5. Now click on this button . +
  6. +
  7. Now click on this button . A preliminary translation into TeX will appear in the box below.
  8. -
  9. Next click on this button . +
  10. Next click on this button . A more refined translation into TeX will appear in the box below.
  11. -
  12. Then click on this button +
  13. Then click on this button to show a graphic image of the algebraic expression.
  14. Finally check your slash arguments setting -
  15. +


diff --git a/filter/tex/texdebug.php b/filter/tex/texdebug.php index 2db14a7c73..6120f8c157 100644 --- a/filter/tex/texdebug.php +++ b/filter/tex/texdebug.php @@ -209,17 +209,17 @@ target="inlineframe">
+ value="f(x)=\Bigint_{-\infty}^x~e^{-t^2}dt" />
    -
  1. First click on this button +
  2. First click on this button to see the cache_filters database entry for this expression.
  3. If the database entry looks corrupt, click on this button to delete it: -
  4. -
  5. Then click on this button +
  6. +
  7. Then click on this button to show a graphic image of the algebraic expression.
  8. Finally check your slash arguments setting -
  9. +


diff --git a/filter/tex/texed.php b/filter/tex/texed.php index c0069428f4..d20fa9a66f 100644 --- a/filter/tex/texed.php +++ b/filter/tex/texed.php @@ -74,8 +74,8 @@
- + value="\Large f(x)=\Bigint_{-\infty}^x~e^{-t^2}dt" /> +

$strcourses$strcategory
- +