Permalink
Browse files

set default body font size to "small"

  • Loading branch information...
1 parent 4b168cf commit 9197627adefeccdce5e7e5dd52997a1aef0e0f34 gbateson committed May 3, 2007
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/hotpot/template/v6.php
@@ -273,7 +273,8 @@ function v6_expand_FontFace() {
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');

0 comments on commit 9197627

Please sign in to comment.