From 8b2726c55aa3751c37048a597b0c1bc39ecf2948 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Wed, 5 Mar 2008 20:45:31 +0000 Subject: [PATCH] Create specific boolean radio widget git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13001 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/options.php | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.25.1