]> git.mjollnir.org Git - moodle.git/commitdiff
correct the display of the "Update this Hot Potatoes Quiz" button in Danish (da_utf8...
authorgbateson <gbateson>
Sun, 28 Jan 2007 00:25:57 +0000 (00:25 +0000)
committergbateson <gbateson>
Sun, 28 Jan 2007 00:25:57 +0000 (00:25 +0000)
mod/hotpot/view.php

index 268d7f27bd3039c405238b1a98ccaf2db66c9077..9e315737060fdccacfddaeae88ceae376b0a58a1 100644 (file)
@@ -46,7 +46,8 @@
     if ($course->id != SITEID) {
         $navigation = '<a '.$CFG->frametarget.' href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.$course->shortname.'</a> -> '.$navigation;
     }
-    $button = update_module_button($cm->id, $course->id, get_string("modulename", "hotpot").'" style="font-size:0.75em;');
+    $button = update_module_button($cm->id, $course->id, get_string("modulename", "hotpot"));
+    $button = '<div style="font-size:0.75em;">'.$button.'</div>';
     $loggedinas = '<span class="logininfo">'.user_login_string($course, $USER).'</span>';
     $time = time();
     $hppassword = optional_param('hppassword', '');