From 3d621607f15f0bd0bf5d5f368d2cdaa7085f7ef1 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 15 Jan 2007 03:39:48 +0000 Subject: [PATCH] Fixed up alignment of buttons on course page --- lib/weblib.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index c2520b5596..ef0a578d1f 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1051,7 +1051,7 @@ function popup_form($common, $options, $formid, $selected='', $nothing='choose', 'document.getElementById("noscript'.$formid.'").style.display = "none";'. "\n//]]>\n".''; $output .= ''; - $output .= '' . "\n"; + $output .= ''; if ($return) { return $output; @@ -3847,11 +3847,13 @@ function update_course_icon($courseid) { $edit = '1'; } - return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/view.php\">
". - "". - "". - "". - "
"; + return '
frametarget.' method="get" action="'.$CFG->wwwroot.'/course/view.php">'. + '
'. + ''. + ''. + ''. + ''. + '
'; } } -- 2.39.5