Allow text area options to use trailing_text attribute
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 7 Oct 2008 19:47:13 +0000 (19:47 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 7 Oct 2008 19:47:13 +0000 (19:47 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13300 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/options.tpl

index 03e23d4488d2536bdcddf7f5fcf3b1cca679a39d..810513bef5236de0afefcd9d585fa5c334ed7573 100644 (file)
@@ -51,6 +51,8 @@ foreach ($options as $option) {
              || $opt->type == SMOPT_TYPE_BOOLEAN) {
                 echo '<label for="new_' . $opt->name . '">'
                    . $opt->caption . '</label>';
+            } else if ($opt->type == SMOPT_TYPE_TEXTAREA && !empty($opt->trailing_text)) {
+                echo $opt->caption . '<br />' . $opt->trailing_text;
             } else {
                 echo $opt->caption;
             }