Add trailing text display to edit list widget types
[squirrelmail.git] / templates / default / edit_list_widget_list_style.tpl
index 2cbd655f6704b8d2f5421725363928b1149466c8..20baf881a239b715097a31bad1904ecfd4183ff1 100644 (file)
@@ -40,6 +40,8 @@ echo '<table class="table2" cellspacing="0"><tr><td>';
 
 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 '<table class="table_messageList" cellspacing="0">';