X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Foptions.php;h=cb39ea7a76a1822542eb0d9f12b91b1de533aec1;hp=02638c97bf81b95c247215ea96497ec88a20e206;hb=8b2726c55aa3751c37048a597b0c1bc39ecf2948;hpb=947db1ab4d3966ecf464d7fdbe813287893ef7ea diff --git a/functions/options.php b/functions/options.php index 02638c97..cb39ea7a 100644 --- a/functions/options.php +++ b/functions/options.php @@ -30,6 +30,7 @@ define('SMOPT_TYPE_FLDRLIST_MULTI', 9); define('SMOPT_TYPE_EDIT_LIST', 10); define('SMOPT_TYPE_STRLIST_MULTI', 11); define('SMOPT_TYPE_BOOLEAN_CHECKBOX', 12); +define('SMOPT_TYPE_BOOLEAN_RADIO', 13); /* Define constants for the options refresh levels. */ define('SMOPT_REFRESH_NONE', 0); @@ -324,6 +325,9 @@ class SquirrelOption { case SMOPT_TYPE_BOOLEAN_CHECKBOX: $result = $this->createWidget_Boolean(TRUE); break; + case SMOPT_TYPE_BOOLEAN_RADIO: + $result = $this->createWidget_Boolean(FALSE); + break; case SMOPT_TYPE_HIDDEN: $result = $this->createWidget_Hidden(); break;