Browse Source

Allow text area options to use trailing_text attribute

pdontthink 17 years ago
parent
commit
47bfd72fa9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      templates/default/options.tpl

+ 2 - 0
templates/default/options.tpl

@@ -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;
             }