Permalink
Browse files

set default body font-size to "small"

  • Loading branch information...
1 parent f7fe325 commit 81ee42cb0f5a04b5dd782225f4327e942ea61949 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 81ee42c

Please sign in to comment.