diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-03-06 11:11:37 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-03-06 11:11:37 +0100 |
commit | bc2c4380b5b754a3b13cc7d6663b2b81d2577e2e (patch) | |
tree | 7a3c360113d21a5f7c6d0e90b252ce5965dd3589 /program/include/rcmail_output_html.php | |
parent | ac37746c2ae187edaf38c7a660213e216f90b035 (diff) |
Add attachment menu with Open and Download options (#1488975)
Diffstat (limited to 'program/include/rcmail_output_html.php')
-rw-r--r-- | program/include/rcmail_output_html.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index 2babe1cbb..ade2bd4a4 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -1175,6 +1175,10 @@ class rcmail_output_html extends rcmail_output $out = sprintf('<a%s>%s</a>', $attrib_str, $btn_content); } + if ($attrib['wrapper']) { + $out = html::tag($attrib['wrapper'], null, $out); + } + return $out; } |