diff --git a/course/lib.php b/course/lib.php
index f583fc036de..f019bb04981 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -634,7 +634,6 @@ function print_admin_links ($siteid, $width=180) {
function print_course_admin_links($course, $width=180) {
global $THEME, $CFG;
- echo "
";
$adminicon[]="wwwroot/pix/i/edit.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
if (isediting($course->id)) {
$admindata[]="id&edit=off\">".get_string("turneditingoff")."";
diff --git a/course/weeks.php b/course/weeks.php
index d8186b5f457..fed91259880 100644
--- a/course/weeks.php
+++ b/course/weeks.php
@@ -209,7 +209,7 @@
forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false);
echo "";
print_simple_box_end();
- echo "
";
+ echo "
";
}
// Print all the recent activity
@@ -220,7 +220,7 @@
print_simple_box_end();
}
- echo "
";
+ echo "
";
}
echo "\n";
diff --git a/index.php b/index.php
index 4874402b653..323ddbaa8e7 100644
--- a/index.php
+++ b/index.php
@@ -26,7 +26,7 @@
"summary))."\">",
true, "", $headerbutton);
- $side = 165;
+ $side = 175;
?>
diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index fee36b81b1d..c261e770771 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -21,10 +21,10 @@ function print_header ($title="", $heading="", $navigation="", $focus="", $meta=
// $menu - HTML code for a popup menu
global $USER, $CFG, $THEME;
- if (file_exists("$CFG->dirroot/theme/$CFG->theme/styles.css")) {
- $styles = "$CFG->wwwroot/theme/$CFG->theme/styles.css";
+ if (file_exists($CFG->stylesheet)) {
+ $styles = $CFG->stylesheet;
} else {
- $styles = "$CFG->wwwroot/theme/standard/styles.css";
+ $styles = "$CFG->wwwroot/theme/standard/styles.php";
}
if ($navigation == "home") {
@@ -299,12 +299,12 @@ function print_table($table) {
print_simple_box_start("CENTER", "$table->width", "#FFFFFF", 0);
echo "
| $heading | "; + echo "$heading | "; } echo "||||
|---|---|---|---|---|---|
| $item | "; + echo "$item | "; } echo "
| cellheading2?>> + | cellheading2?> class="generaltableheader">
print_string("returningtosite") ?> |
- cellheading2?>> + | cellheading2?> class="generaltableheader">
print_string("firsttime") ?> |
} ?>
||
| + |
print_string("loginusing") ?>: |
if ($show_instructions) { ?>
- + |
switch ($CFG->auth) {
case "email": ?>
diff --git a/login/signup_form.php b/login/signup_form.php
index ec82a6a0db4..ac50411200e 100644
--- a/login/signup_form.php
+++ b/login/signup_form.php
@@ -1,5 +1,5 @@
|