]> git.mjollnir.org Git - moodle.git/commitdiff
set default body font-size to "small"
authorgbateson <gbateson>
Thu, 3 May 2007 01:02:06 +0000 (01:02 +0000)
committergbateson <gbateson>
Thu, 3 May 2007 01:02:06 +0000 (01:02 +0000)
mod/hotpot/template/v6.php

index 71c32661a7a0f4ca3d09a8a60693eaba1b94957e..c0f1f5cbc8d3e86dee0182db48328e5f7a22b3f4 100644 (file)
@@ -273,7 +273,8 @@ class hotpot_xml_quiz_template extends hotpot_xml_template_default {
         return $this->parent->xml_value('hotpot-config-file,global,font-face');
     }
     function v6_expand_FontSize() {
-        return $this->parent->xml_value('hotpot-config-file,global,font-size');
+        $value = $this->parent->xml_value('hotpot-config-file,global,font-size');
+        return (empty($value) ? 'small' : $value);
     }
     function v6_expand_TextColor() {
         return $this->parent->xml_value('hotpot-config-file,global,text-color');