projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fuss with edit list sizing a touch
[squirrelmail.git]
/
functions
/
options.php
diff --git
a/functions/options.php
b/functions/options.php
index 1814e30364fffd43e90bf27d4e36134e67dcccc7..e05c408e3d09f45466fc3c23170f093bf6b79958 100644
(file)
--- 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->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 = '';
$this->trailing_text = '';
$this->yes_text = '';
$this->no_text = '';
@@
-711,19
+711,21
@@
class SquirrelOption {
global $oTemplate;
switch ($this->size) {
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_TINY:
$height = 3;
break;
case SMOPT_SIZE_SMALL:
$height = 8;
break;
- case SMOPT_SIZE_
LARGE
:
+ case SMOPT_SIZE_
MEDIUM
:
$height = 15;
break;
$height = 15;
break;
- case SMOPT_SIZE_
HU
GE:
+ case SMOPT_SIZE_
LAR
GE:
$height = 25;
break;
$height = 25;
break;
+ case SMOPT_SIZE_HUGE:
+ $height = 40;
+ break;
case SMOPT_SIZE_NORMAL:
default:
$height = 5;
case SMOPT_SIZE_NORMAL:
default:
$height = 5;