summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6b4bd11)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3014
7612ce4b-ef26-0410-bec9-
ea0150e637f0
define('SMOPT_TYPE_INTEGER', 3);
define('SMOPT_TYPE_FLOAT', 4);
define('SMOPT_TYPE_BOOLEAN', 5);
define('SMOPT_TYPE_INTEGER', 3);
define('SMOPT_TYPE_FLOAT', 4);
define('SMOPT_TYPE_BOOLEAN', 5);
-define('SMOPT_TYPE_hidden', 6);
+define('SMOPT_TYPE_HIDDEN', 6);
define('SMOPT_TYPE_COMMENT', 7);
/* Define constants for the options refresh levels. */
define('SMOPT_TYPE_COMMENT', 7);
/* Define constants for the options refresh levels. */
}
/* Set the default save function. */
}
/* Set the default save function. */
- if (($type != SMOPT_TYPE_hidden) && ($type != SMOPT_TYPE_COMMENT)) {
+ if (($type != SMOPT_TYPE_HIDDEN) && ($type != SMOPT_TYPE_COMMENT)) {
$this->save_function = SMOPT_SAVE_DEFAULT;
} else {
$this->save_function = SMOPT_SAVE_NOOP;
$this->save_function = SMOPT_SAVE_DEFAULT;
} else {
$this->save_function = SMOPT_SAVE_NOOP;
case SMOPT_TYPE_BOOLEAN:
$result = $this->createWidget_Boolean();
break;
case SMOPT_TYPE_BOOLEAN:
$result = $this->createWidget_Boolean();
break;
- case SMOPT_TYPE_hidden:
+ case SMOPT_TYPE_HIDDEN:
$result = $this->createWidget_Hidden();
break;
case SMOPT_TYPE_COMMENT:
$result = $this->createWidget_Hidden();
break;
case SMOPT_TYPE_COMMENT:
/* Print each option in this option group. */
foreach ($next_optgrp['options'] as $option) {
/* Print each option in this option group. */
foreach ($next_optgrp['options'] as $option) {
- if ($option->type != SMOPT_TYPE_hidden) {
+ if ($option->type != SMOPT_TYPE_HIDDEN) {
echo html_tag( 'tr', "\n".
html_tag( 'td', $option->caption . ':', 'right' ,'', 'valign="middle"' ) .
html_tag( 'td', $option->createHTMLWidget(), 'left' )
echo html_tag( 'tr', "\n".
html_tag( 'td', $option->caption . ':', 'right' ,'', 'valign="middle"' ) .
html_tag( 'td', $option->createHTMLWidget(), 'left' )
}
echo html_tag( 'table', '', 'center', '', 'width="100%" cellspacing="0" border="0"' ) . "\n";
if ($compose_new_win == '1') {
}
echo html_tag( 'table', '', 'center', '', 'width="100%" cellspacing="0" border="0"' ) . "\n";
if ($compose_new_win == '1') {
- echo html_tag( 'table', 'center', $color[0], 'width="100%" border="0"' ) .
+ echo html_tag( 'table', '', 'center', $color[0], 'width="100%" border="0"' ) .
html_tag( 'tr',
html_tag( 'td' ) .
html_tag( 'td',
html_tag( 'tr',
html_tag( 'td' ) .
html_tag( 'td',