From 14c6e7e0eed4e638b1fa644e2362da9a27ea4a31 Mon Sep 17 00:00:00 2001 From: gbateson Date: Thu, 3 May 2007 01:02:06 +0000 Subject: [PATCH] set default body font-size to "small" --- mod/hotpot/template/v6.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'); -- 2.39.5