From: moodler Date: Tue, 26 Oct 2004 09:28:54 +0000 (+0000) Subject: More changes for XHTML compatibility X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=52159a0df40fb1423e49a76a73e98f63642543e3;p=moodle.git More changes for XHTML compatibility --- diff --git a/mod/glossary/mod.html b/mod/glossary/mod.html index ae849a2fa6..73571b2a3e 100644 --- a/mod/glossary/mod.html +++ b/mod/glossary/mod.html @@ -70,13 +70,13 @@ if (!isset($form->assesstimefinish)) {
- - + - - - - + @@ -104,8 +104,8 @@ if (!isset($form->assesstimefinish)) { if (isadmin() ) { ?> - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + "; - echo ""; - echo ""; + echo ""; echo ""; - echo ""; - echo ""; + echo " - - +

:

+ :

:

+
:
assesstimefinish)) {
+ intro); ?>

:

+ :

:

+ : globalglossary) ) { @@ -127,8 +127,8 @@ $mainglossary = get_record("glossary","mainglossary",1,"course",$form->course); if (!$mainglossary or $mainglossary->id == $form->instance ) { ?>

:

+ :

:
-

+ :
+

:

+ :

:

+ :

:

+ :

:

+ :

:

+ : id == $form->instance ) {

:

+ :

:

+ :

:

+ :

:

+ :

".get_string("rsstype").":

"; + echo "".get_string("rsstype").":"; unset($choices); $choices[0] = get_string("none"); $choices[1] = get_string("withauthor", "glossary"); @@ -369,8 +369,8 @@ if (!$mainglossary or $mainglossary->id == $form->instance ) { echo "

".get_string("rssarticles").":

"; + echo "".get_string("rssarticles").":"; unset($choices); $choices[0] = "0"; $choices[1] = "1"; @@ -392,8 +392,8 @@ if (!$mainglossary or $mainglossary->id == $form->instance ) { } ?>

:

+ : "; echo " var subitemstime = ['startday','startmonth','startyear','starthour', 'startminute',". @@ -415,13 +415,20 @@ if (!$mainglossary or $mainglossary->id == $form->instance ) { unset($options); $options[2] = get_string("ratingonlyteachers", "glossary", moodle_strtolower($course->teachers)); $options[1] = get_string("ratingeveryone", "glossary"); + + echo "\n\n"; + echo ""; + echo "
"; echo get_string("users").":"; + echo ""; choose_from_menu($options, "assessed", $form->assessed, ""); - echo "
"; - + echo "
"; echo get_string("grade").":"; + echo ""; print_grade_menu($course->id, "scale", $form->scale, false); - echo "
"; + echo "
\n\n"; + + echo "
"; echo "id == $form->instance ) { echo " />"; print_string("ratingtime", "glossary"); - echo "
"; + + echo ""; + echo "
"; echo get_string("from").":"; + echo ""; print_date_selector("startday", "startmonth", "startyear", $form->assesstimestart); print_time_selector("starthour", "startminute", $form->assesstimestart); - echo "
"; + echo "
"; echo get_string("to").":"; + echo ""; print_date_selector("finishday", "finishmonth", "finishyear", $form->assesstimefinish); print_time_selector("finishhour", "finishminute", $form->assesstimefinish); - echo "
"; echo "
"; + echo ""; echo ""; echo ""; diff --git a/mod/glossary/tabs.html b/mod/glossary/tabs.html index 75fd1a5824..73911f0b83 100644 --- a/mod/glossary/tabs.html +++ b/mod/glossary/tabs.html @@ -62,7 +62,7 @@ } /// printing header of the current tab - echo '
'; +// echo '
'; glossary_print_tabbed_table_start($data, $tab, $glossary_tCFG); if (!isset($category)) { diff --git a/mod/glossary/view.php b/mod/glossary/view.php index 783f8848e3..2499927565 100644 --- a/mod/glossary/view.php +++ b/mod/glossary/view.php @@ -259,10 +259,12 @@ /// Search box // echo '

'; + + echo '

'; + echo '
'; echo '

'; - echo ''; echo ' '; if ($mode == 'search') { echo ' '; @@ -278,9 +280,10 @@ echo ''; echo ''; echo $strsearchindefinition; - echo ''; echo '

'; print_simple_box_end(); + + echo ''; include("tabs.html");