From: gbateson Date: Thu, 3 May 2007 01:02:06 +0000 (+0000) Subject: set default body font-size to "small" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=14c6e7e0eed4e638b1fa644e2362da9a27ea4a31;p=moodle.git set default body font-size to "small" --- diff --git a/mod/hotpot/template/v6.php b/mod/hotpot/template/v6.php index 71c32661a7..c0f1f5cbc8 100644 --- a/mod/hotpot/template/v6.php +++ b/mod/hotpot/template/v6.php @@ -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');