From b61aed4297da822e52b9eda93498daff4d99ed8a Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 8 Feb 2005 09:23:21 +0000 Subject: [PATCH] Fixed up some layout issues in the configuration files --- mod/assignment/config.html | 8 ++-- mod/attendance/config.html | 42 ++++++++++++++++---- mod/chat/config.html | 16 ++++---- mod/forum/config.html | 22 +++++------ mod/glossary/config.html | 80 +++++++++++++++++++------------------- mod/resource/config.html | 18 ++++----- mod/scorm/config.html | 8 ++-- 7 files changed, 110 insertions(+), 84 deletions(-) diff --git a/mod/assignment/config.html b/mod/assignment/config.html index a0701f3b1e..79fe9dbfe5 100644 --- a/mod/assignment/config.html +++ b/mod/assignment/config.html @@ -1,9 +1,9 @@
- - - +

assignment_maxbytes:

+ + -
assignment_maxbytes: maxbytes); choose_from_menu ($choices, "assignment_maxbytes", $CFG->assignment_maxbytes, ""); @@ -15,7 +15,7 @@
+ " />
diff --git a/mod/attendance/config.html b/mod/attendance/config.html index 6f6137c777..a906c99fe0 100644 --- a/mod/attendance/config.html +++ b/mod/attendance/config.html @@ -1,9 +1,35 @@ +attendance_dynsection)) { + $CFG->attendance_dynsection = ''; + } + if (!isset($CFG->attendance_default_hours)) { + $CFG->attendance_default_hours = ''; + } + if (!isset($CFG->attendance_tardies_per_absence)) { + $CFG->attendance_tardies_per_absence = ''; + } + if (!isset($CFG->attendance_hours_in_full_report)) { + $CFG->attendance_hours_in_full_report = ''; + } + if (!isset($CFG->attendance_default_student_status)) { + $CFG->attendance_default_student_status = ''; + } + if (!isset($CFG->attendance_autoattend)) { + $CFG->attendance_autoattend = ''; + } + if (!isset($CFG->attendance_grade)) { + $CFG->attendance_grade = ''; + } + if (!isset($CFG->attendance_maxgrade)) { + $CFG->attendance_maxgrade = ''; + } +?> - + - + - + - + - + - + - + - + - + - + @@ -35,7 +35,7 @@ - + @@ -52,7 +52,7 @@ - + @@ -69,7 +69,7 @@ - + @@ -78,7 +78,7 @@ - + @@ -87,7 +87,7 @@ - + @@ -96,7 +96,7 @@ - + diff --git a/mod/forum/config.html b/mod/forum/config.html index f43c17a904..d43787360b 100644 --- a/mod/forum/config.html +++ b/mod/forum/config.html @@ -3,7 +3,7 @@

attendance_dynsection:

attendance_dynsection: attendance_dynsection, ""); ?> @@ -14,7 +40,7 @@

attendance_default_hours:

attendance_default_hours: attendance_default_hours, ""); ?> @@ -25,7 +51,7 @@

attendance_tardies_per_absence:

attendance_tardies_per_absence: attendance_tardies_per_absence, "none","","0"); ?> @@ -36,7 +62,7 @@

attendance_hours_in_full_report:

attendance_hours_in_full_report: attendance_tardies_per_absence, ""); ?> @@ -47,7 +73,7 @@

attendance_default_student_status:

attendance_default_student_status:

attendance_autoattend:

attendance_autoattend: attendance_autoattend, ""); ?> @@ -86,7 +112,7 @@

attendance_grade:

attendance_grade: attendance_grade, ""); ?> @@ -97,7 +123,7 @@

attendance_maxgrade:

attendance_maxgrade: attendance_maxgrade, ""); ?> diff --git a/mod/chat/config.html b/mod/chat/config.html index 27c3f25ea7..1fde636e85 100644 --- a/mod/chat/config.html +++ b/mod/chat/config.html @@ -12,7 +12,7 @@

chat_method:

chat_method:

chat_refresh_userlist:

chat_refresh_userlist:

chat_old_ping:

chat_old_ping:

chat_refresh_room:

chat_refresh_room:

chat_serverhost:

chat_serverhost:

chat_serverip:

chat_serverip:

chat_serverport:

chat_serverport:

chat_servermax:

chat_servermax:
- + @@ -12,7 +12,7 @@ - + - + @@ -35,7 +35,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -53,7 +53,7 @@ - + - + - + @@ -88,7 +88,7 @@ - + - + - + - + @@ -19,7 +19,7 @@ - + - + - + - + - + + + + + + - + - + - + '; @@ -225,41 +254,12 @@ echo ''; echo ''; } - echo '

forum_displaymode:

forum_displaymode: forum_displaymode, "", "", ""); ?>

forum_replytouser:

forum_replytouser:

forum_shortpost:

forum_shortpost:

forum_longpost:

forum_longpost:

forum_manydiscussions:

forum_manydiscussions:

forum_maxbytes:

forum_maxbytes: maxbytes); choose_from_menu ($choices, "forum_maxbytes", $CFG->forum_maxbytes, ""); @@ -65,7 +65,7 @@

forum_trackreadposts:

forum_trackreadposts:

forum_oldpostdays:

forum_oldpostdays:

forum_usermarksread:

forum_usermarksread:

forum_cleanreadtime:

forum_cleanreadtime:

forum_enablerssfeeds:

forum_enablerssfeeds: enablerssfeeds) || $CFG->enablerssfeeds == 0) { diff --git a/mod/glossary/config.html b/mod/glossary/config.html index 3b5fdde7d6..e28eba3c12 100644 --- a/mod/glossary/config.html +++ b/mod/glossary/config.html @@ -10,7 +10,7 @@

glossary_entbypage:

glossary_entbypage:

glossary_studentspost:

glossary_studentspost:

glossary_dupentries:

glossary_dupentries:

glossary_allowcomments:

glossary_allowcomments:

glossary_linkbydefault:

glossary_linkbydefault:

glossary_defaultapproval:

glossary_defaultapproval:
glossary_enablerssfeeds: + enablerssfeeds) || $CFG->enablerssfeeds == 0) { + print_string("no"); + } else { + unset($options); + $options[0] = get_string("no"); + $options[1] = get_string("yes"); + + $glossary_enablerssfeeds = false; + if (isset($CFG->glossary_enablerssfeeds) && $CFG->glossary_enablerssfeeds == 1) { + $glossary_enablerssfeeds = true; + } + + choose_from_menu ($options, "glossary_enablerssfeeds", $glossary_enablerssfeeds, "", "", ""); + } + ?> + + enablerssfeeds) || $CFG->enablerssfeeds == 0) { + print_string("configenablerssfeedsdisabled"); + } + ?> +

glossary_linkentries:

glossary_linkentries:

glossary_casesensitive:

glossary_casesensitive:

glossary_fullmatch:

glossary_fullmatch:
' . $eicon . '  ' . $vicon . '
'; + print_simple_box_end(); ?> - -

glossary_enablerssfeeds: - - enablerssfeeds) || $CFG->enablerssfeeds == 0) { - print_string("no"); - } else { - unset($options); - $options[0] = get_string("no"); - $options[1] = get_string("yes"); - - $glossary_enablerssfeeds = false; - if (isset($CFG->glossary_enablerssfeeds) && $CFG->glossary_enablerssfeeds == 1) { - $glossary_enablerssfeeds = true; - } - - choose_from_menu ($options, "glossary_enablerssfeeds", $glossary_enablerssfeeds, "", "", ""); - } - ?> - - - enablerssfeeds) || $CFG->enablerssfeeds == 0) { - print_string("configenablerssfeedsdisabled"); - } - ?> - - " /> diff --git a/mod/resource/config.html b/mod/resource/config.html index 819cf5fd74..3e760ef011 100644 --- a/mod/resource/config.html +++ b/mod/resource/config.html @@ -3,7 +3,7 @@ - + @@ -12,7 +12,7 @@ - + @@ -21,7 +21,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -39,7 +39,7 @@ - + - + "; + echo ""; echo " - + - + - + - + @@ -31,7 +31,7 @@ - + "; + echo ""; echo "

resource_framesize:

resource_framesize:

resource_websearch:

resource_websearch:

resource_defaulturl:

resource_defaulturl:

resource_secretphrase:

resource_secretphrase:

resource_filterexternalpages:

resource_filterexternalpages:

resource_popup:

resource_popup: "; - echo "

$defaultvalue:

$defaultvalue:"; if ($optionname == "height" or $optionname == "width") { echo "$defaultvalue."\" />"; @@ -84,7 +84,7 @@ } ?>

resource_windowsettings:

resource_windowsettings:

resource_parametersettings:

resource_parametersettings:

scorm_validate:

scorm_validate:

scorm_framesize:

scorm_framesize:

scorm_popup:

scorm_popup: "; - echo "

$defaultvalue:

$defaultvalue:"; if ($optionname == "height" or $optionname == "width") { echo "$defaultvalue."\" />"; -- 2.39.5