From 5facc3fca35506c6d0cbcf0233b63d275c6ee2a6 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 17 Aug 2017 02:34:54 +0000 Subject: [PATCH] Add trailing text to boolean-radio widgets git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14715 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/options.php b/functions/options.php index 997c5a48..dc420953 100644 --- a/functions/options.php +++ b/functions/options.php @@ -780,7 +780,7 @@ class SquirrelOption { $no_option = addRadioBox('new_' . $this->name, ($this->value == SMPREF_NO), SMPREF_NO, array_merge(array('id' => 'new_' . $this->name . '_no'), $this->aExtraAttribs)) . $nbsp . create_label((!empty($this->no_text) ? $this->no_text : _("No")), 'new_' . $this->name . '_no'); /* Build the combined "boolean widget". */ - $result = "$yes_option$nbsp$nbsp$nbsp$nbsp$no_option"; + $result = "$yes_option$nbsp$nbsp$nbsp$nbsp$no_option " . ($this->trailing_text_small ? '' : '') . ($this->trailing_text_is_html ? $this->trailing_text : sm_encode_html_special_chars($this->trailing_text)) . ($this->trailing_text_small ? '' : ''); } -- 2.25.1