Happy New Year
[squirrelmail.git] / templates / default / edit_list_widget.tpl
index 88a58d71b4cf1e0f9716019cbb3cda28bc827433..8ec4071fdf1d29e544ce057326dbfb4710ca7511 100644 (file)
   * 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-2018 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") . '&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;