From 85db96c5b485cf3637f1c185ec1736297702a1f3 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 10 Dec 2008 06:48:54 +0000 Subject: [PATCH] "MDL-17570, cleanup align property in div, merged from 1.9" --- admin/lang.php | 2 +- admin/replace.php | 2 +- course/format/topics/format.php | 2 +- course/format/weeks/format.php | 2 +- enrol/paypal/enrol.php | 2 +- message/lib.php | 2 +- mod/data/lib.php | 2 +- mod/forum/lib.php | 2 +- mod/hotpot/index.php | 2 +- mod/hotpot/view.php | 4 ++-- mod/lesson/highscores.php | 4 ++-- mod/resource/type/file/localfile.php | 2 +- mod/resource/type/file/localpath.php | 4 ++-- mod/scorm/report.php | 4 ++-- mod/wiki/ewiki/plugins/moodle/downloads.php | 2 +- search/query.php | 7 +++---- search/querylib.php | 4 ++-- theme/standard/styles_layout.css | 2 ++ 18 files changed, 26 insertions(+), 25 deletions(-) diff --git a/admin/lang.php b/admin/lang.php index 724b93d56ee..a89839326a0 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -830,7 +830,7 @@ echo ($filetemplate); } echo "\n\n"; - echo '
'; + echo '
'; echo ''; $preview_url = lang_help_preview_url($currentfile, !$uselocal); if ($preview_url) { diff --git a/admin/replace.php b/admin/replace.php index 4e8df42be21..cd1ffb74af1 100644 --- a/admin/replace.php +++ b/admin/replace.php @@ -19,7 +19,7 @@ print_heading('Search and replace text throughout the whole database'); if (!data_submitted() or !$search or !$replace or !confirm_sesskey()) { /// Print a form print_simple_box_start('center'); - echo '
'; + echo '
'; echo '
'; echo ''; echo 'Search whole database for:
'; diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 9d91e5e1ea8..fe8cb39f5f1 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -283,7 +283,7 @@ echo "\n"; if (!empty($sectionmenu)) { - echo '
'; + echo '
'; echo popup_form($CFG->wwwroot.'/course/view.php?id='.$course->id.'&', $sectionmenu, 'sectionmenu', '', get_string('jumpto'), '', '', true); echo '
'; diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index 674ff48fbd5..d000213d231 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -274,7 +274,7 @@ echo "\n"; if (!empty($sectionmenu)) { - echo '
'; + echo '
'; echo popup_form($CFG->wwwroot.'/course/view.php?id='.$course->id.'&', $sectionmenu, 'sectionmenu', '', get_string('jumpto'), '', '', true); echo '
'; diff --git a/enrol/paypal/enrol.php b/enrol/paypal/enrol.php index 7cba406e955..f3851d0000d 100644 --- a/enrol/paypal/enrol.php +++ b/enrol/paypal/enrol.php @@ -51,7 +51,7 @@ function print_entry($course) { // in unencrypted connection... $wwwroot = str_replace("http://", "https://", $CFG->wwwroot); } - echo '

'.get_string('paymentrequired').'

'; + echo '

'.get_string('paymentrequired').'

'; echo '

'.get_string('cost').": $CFG->enrol_currency $cost".'

'; echo '

'.get_string('loginsite').'

'; echo '
'; diff --git a/message/lib.php b/message/lib.php index 4e97406cceb..89d8b5f7072 100644 --- a/message/lib.php +++ b/message/lib.php @@ -295,7 +295,7 @@ function message_get_contact($contactid) { function message_print_search_results($frm) { global $USER, $CFG, $DB; - echo '
'; + echo '
'; /// search for person if (!empty($frm->personsubmit) and !empty($frm->name)) { diff --git a/mod/data/lib.php b/mod/data/lib.php index 5af8222b20b..943902111ef 100755 --- a/mod/data/lib.php +++ b/mod/data/lib.php @@ -227,7 +227,7 @@ class data_field_base { // Base class for Database Field Types (see field/*/ require_once($CFG->dirroot.'/mod/data/field/'.$this->type.'/mod.html'); - echo '
'; + echo '
'; echo ''."\n"; echo ''."\n"; echo '
'; diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 90222060531..d367114b467 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -1017,7 +1017,7 @@ function forum_make_mail_html($course, $cm, $forum, $discussion, $post, $userfro $posthtml .= forum_make_mail_post($course, $cm, $forum, $discussion, $post, $userfrom, $userto, false, $canreply, true, false); if ($canunsubscribe) { - $posthtml .= '