From: pdontthink Date: Tue, 7 Oct 2008 19:47:13 +0000 (+0000) Subject: Allow text area options to use trailing_text attribute X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cb78a4d9262e233ccdd0a81980ee54ba8946c673;p=squirrelmail.git Allow text area options to use trailing_text attribute git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13300 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/options.tpl b/templates/default/options.tpl index 03e23d44..810513be 100644 --- a/templates/default/options.tpl +++ b/templates/default/options.tpl @@ -51,6 +51,8 @@ foreach ($options as $option) { || $opt->type == SMOPT_TYPE_BOOLEAN) { echo ''; + } else if ($opt->type == SMOPT_TYPE_TEXTAREA && !empty($opt->trailing_text)) { + echo $opt->caption . '
' . $opt->trailing_text; } else { echo $opt->caption; }