X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Foptions.php;h=e05c408e3d09f45466fc3c23170f093bf6b79958;hb=b986936a2d4ec98f1e07c1091b655b20794ffe3f;hp=1814e30364fffd43e90bf27d4e36134e67dcccc7;hpb=d789daf08ba0656b4c547d3b22ba97db951ce434;p=squirrelmail.git diff --git a/functions/options.php b/functions/options.php index 1814e303..e05c408e 100644 --- a/functions/options.php +++ b/functions/options.php @@ -208,7 +208,7 @@ class SquirrelOption { $this->refresh_level = $refresh_level; $this->possible_values = $possible_values; $this->htmlencoded = $htmlencoded; - $this->size = SMOPT_SIZE_MEDIUM; + $this->size = SMOPT_SIZE_NORMAL; $this->trailing_text = ''; $this->yes_text = ''; $this->no_text = ''; @@ -711,19 +711,21 @@ class SquirrelOption { global $oTemplate; switch ($this->size) { -//FIXME: not sure about these sizes... seems like we could add another on the "large" side... case SMOPT_SIZE_TINY: $height = 3; break; case SMOPT_SIZE_SMALL: $height = 8; break; - case SMOPT_SIZE_LARGE: + case SMOPT_SIZE_MEDIUM: $height = 15; break; - case SMOPT_SIZE_HUGE: + case SMOPT_SIZE_LARGE: $height = 25; break; + case SMOPT_SIZE_HUGE: + $height = 40; + break; case SMOPT_SIZE_NORMAL: default: $height = 5;