Happy New Year
[squirrelmail.git] / templates / default / edit_list_widget.tpl
index 5d508c382dc3c41b06ca0d34e3c094422cb3adba..8ec4071fdf1d29e544ce057326dbfb4710ca7511 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-2012 The SquirrelMail Project Team
+  * @copyright 1999-2018 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;