git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2320
7612ce4b-ef26-0410-bec9-
ea0150e637f0
'posvals' => $language_values ),
'$frame_top' => array( 'name' => _("Top Frame"),
'type' => SMOPT_TYPE_STRING,
- 'size' => 40 ),
+ 'size' => 40,
+ 'default' => '_top' ),
/* --------------------------------------------------------*/
'Group2' => array( 'name' => _("Server Settings"),
'type' => SMOPT_TYPE_TITLE ),
$v = '"' . $HTTP_POST_VARS[$e] . '"';
$newcfg[$k] = $v;
}
+ if ( $v == '""' && isset( $defcfg[$k]['default'] ) ) {
+ $v = "'" . $defcfg[$k]['default'] . "'";
+ $newcfg[$k] = $v;
+ }
echo "<tr><td>$name</td><td>".
"<input size=\"$size\" name=\"adm_$n\" value=\"" . substr( $v, 1, strlen( $v ) - 2 ) . "\">";
if ( isset( $defcfg[$k]['comment'] ) ) {