- Added "trailing text" for options built by SquirrelMail (text placed
after text and select list inputs on options pages)
- Custom option page values now repopulate correctly
+ - Added "no focus" option for compose page in display preferences (setting
+ reply focus to "No focus" also affects composing new messages)
Version 1.5.0
--------------------
{
if ($reply_focus == 'select') $js .= "document.forms['compose'].body.select();}\n";
else if ($reply_focus == 'focus') $js .= "document.forms['compose'].body.focus();}\n";
+ else if ($reply_focus == 'none') $js .= "}\n";
+ }
+ // no reply focus also applies to composing new messages
+ else if ($reply_focus == 'none')
+ {
+ $js .= "}\n";
}
else
$js .= "var f = document.forms.length;\n".
{
if ($reply_focus == 'select') $js .= "document.forms['compose'].body.select();}\n";
else if ($reply_focus == 'focus') $js .= "document.forms['compose'].body.focus();}\n";
+ else if ($reply_focus == 'none') $js .= "}\n";
+ }
+ // no reply focus also applies to composing new messages
+ else if ($reply_focus == 'none')
+ {
+ $js .= "}\n";
}
else
$js .= "var f = document.forms.length;\n".
'refresh' => SMOPT_REFRESH_NONE,
'posvals' => array('' => _("To: field"),
'focus' => _("Focus in body"),
- 'select' => _("Select body"))
+ 'select' => _("Select body"),
+ 'none' => _("No focus"))
);
$optvals[SMOPT_GRP_MESSAGE][] = array(