X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=templates%2Fdefault%2Fedit_list_widget.tpl;h=cde4b20b6594256df24e2bc433c865611e11a167;hp=88a58d71b4cf1e0f9716019cbb3cda28bc827433;hb=14095490f3fb6743e538dd464ec217f583a04568;hpb=1977ab5587905d225c6288141b82f7a6e3d29d02 diff --git a/templates/default/edit_list_widget.tpl b/templates/default/edit_list_widget.tpl index 88a58d71..cde4b20b 100644 --- a/templates/default/edit_list_widget.tpl +++ b/templates/default/edit_list_widget.tpl @@ -21,10 +21,11 @@ * array $possible_values The original list of options in the edit list, * for use constructing layouts alternative to * the select widget + * mixed $current_value The currently selected value(s) * - * @copyright 1999-2010 The SquirrelMail Project Team + * @copyright 1999-2021 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License - * @version $Id: select.tpl 12961 2008-02-24 22:35:08Z pdontthink $ + * @version $Id$ * @package squirrelmail * @subpackage templates */ @@ -37,6 +38,8 @@ extract($t); if ($use_input_widget) echo _("Add") . ' ' . $input_widget . '
'; +if (!empty($trailing_text)) + echo ($trailing_text_small ? '' : '') . ($trailing_text_is_html ? $trailing_text : sm_encode_html_special_chars($trailing_text)) . ($trailing_text_small ? '' : '') . '
'; echo $select_widget;