Happy New Year
[squirrelmail.git] / templates / default / edit_list_widget.tpl
index 6c1fb394c5acedf6c8eb926345d1ed40a75d3fc4..c14926a60cb3b2b0d258f471adc56e2685387932 100644 (file)
@@ -21,8 +21,9 @@
   * 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-2013 The SquirrelMail Project Team
+  * @copyright 1999-2020 The SquirrelMail Project Team
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
   * @version $Id$
   * @package squirrelmail
@@ -37,6 +38,8 @@ extract($t);
 
 if ($use_input_widget) 
     echo _("Add") . '&nbsp;' . $input_widget . '<br />';
+if (!empty($trailing_text))
+    echo ($trailing_text_small ? '<small>' : '') . ($trailing_text_is_html ? $trailing_text : sm_encode_html_special_chars($trailing_text)) . ($trailing_text_small ? '</small>' : '') . '<br />';
 
 echo $select_widget;