@@ -14,7 +14,7 @@ print_heading(get_string('mnetsettings', 'mnet'));
0):
+ if (count($warn) > 0){
?>
:
@@ -22,7 +22,7 @@ print_heading(get_string('mnetsettings', 'mnet'));
: "name; ?>"?
diff --git a/admin/mnet/enr_course_enrol.html b/admin/mnet/enr_course_enrol.html
index 09212f91d78..67c5cb169ce 100755
--- a/admin/mnet/enr_course_enrol.html
+++ b/admin/mnet/enr_course_enrol.html
@@ -1,10 +1,11 @@
+
$versions):
+ foreach($myservices as $name => $versions) {
$version = current($versions);
?>
name); ?>
- name); ?>
+ name); ?>
1) {
$versionstring = '('.get_string('version','mnet') .' '.$version['apiversion'].')';
} else {
@@ -40,16 +41,37 @@ print_simple_box_start("center", "");
echo $breakstring;
?>
- />name).'">√ '; if (!empty($version['allhosts_publish'])) print_string("enabled_for_all",'mnet',!empty($version['I_publish'])); ?>
- />name).'">√ '; if (!empty($version['allhosts_subscribe'])) print_string("enabled_for_all",'mnet',!empty($version['I_subscribe'])); ?>
-]" />
+name).'">√ ';
+ }
+ if (!empty($version['allhosts_publish'])) {
+ print_string("enabled_for_all",'mnet',!empty($version['I_publish']));
+ }
+ echo ' ';
+?>
+ />
+name).'">√ ';
+ }
+ if (!empty($version['allhosts_subscribe'])) {
+ print_string("enabled_for_all",'mnet',!empty($version['I_subscribe']));
+ }
+
+ echo ' ';
$breakstring = '. . . . . . . . . . . . . . . . . . . . . . . . ';
- endforeach;
+ } // end foreach
?>
@@ -70,6 +92,7 @@ print_simple_box_start("center", "");
+
mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict'
print_box(get_string('mnetdisabled','mnet'));
}
?>
-
-
-
-
-
-
-
-
+
\ No newline at end of file
+?>
diff --git a/admin/mnet/trustedhosts.html b/admin/mnet/trustedhosts.html
index c924e7a8588..f2f4b88fb69 100644
--- a/admin/mnet/trustedhosts.html
+++ b/admin/mnet/trustedhosts.html
@@ -1,26 +1,29 @@
-
-
+
+
-
+
-
+
\ No newline at end of file
+?>
diff --git a/auth/mnet/config.html b/auth/mnet/config.html
index d85b9b304d9..fb87bc40fed 100644
--- a/auth/mnet/config.html
+++ b/auth/mnet/config.html
@@ -15,7 +15,8 @@ if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict'
}
?>
-
+
+
:
@@ -59,29 +60,30 @@ if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict'
:
:
:
:
+
diff --git a/course/lib.php b/course/lib.php
index 0fca9adaf81..433f6f45013 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -520,7 +520,7 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per
echo '';
if ($course->id == SITEID) {
echo "\n";
- echo " wwwroot}/course/view.php?id={$log->course}\">".$courses[$log->course]." \n";
+ echo " wwwroot}/course/view.php?id={$log->course}\">". format_string($courses[$log->course])." \n";
echo " \n";
}
echo "".userdate($log->time, '%a').
diff --git a/enrol/flatfile/config.html b/enrol/flatfile/config.html
index ce2571019f8..bb27df8bc08 100644
--- a/enrol/flatfile/config.html
+++ b/enrol/flatfile/config.html
@@ -44,12 +44,12 @@
enrol_flatfilemapping:
-enrol_flatfilemapping as $id => $record):
+enrol_flatfilemapping as $id => $record) {
list($name, $mapping) = $record; ?>
-
+
diff --git a/enrol/ldap/config.html b/enrol/ldap/config.html
index 77c92dcb5df..cb4daa1709e 100755
--- a/enrol/ldap/config.html
+++ b/enrol/ldap/config.html
@@ -216,13 +216,13 @@ if (!isset($frm->enrol_ldap_template)) {
-
+
name, ENT_COMPAT, 'UTF-8'); ?>
-
+
diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css
index 39b1537e70a..62604adbb74 100644
--- a/theme/standard/styles_layout.css
+++ b/theme/standard/styles_layout.css
@@ -1044,6 +1044,20 @@ body#admin-modules table.generaltable td.c0
float: none;
}
+#trustedhosts .generaltable {
+ margin-left: auto;
+ margin-right: auto;
+ width: 500px;
+}
+
+#trustedhosts .standard {
+ width: auto;
+}
+
+#mnetconfig table {
+ margin-left: auto;
+ margin-right: auto;
+}
/***
*** Blocks