summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-09-27 09:04:25 +0000
committerthomascube <thomas@roundcube.net>2011-09-27 09:04:25 +0000
commit0c1cb2fed7c584b31aa7f4df7aa565781dfe0021 (patch)
tree2d774e946c589bbe41690501515ea29caf9341c2
parent90a6aff022c62e1cbcc5b7fc4baf7b982d7f2ffe (diff)
Fix typo; add attribute to allow html in labels
-rwxr-xr-xprogram/include/rcube_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index dd14931a8..9a7bee77e 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -689,7 +689,7 @@ class rcube_template extends rcube_html_page
$vars = $attrib + array('product' => $this->config['product_name']);
unset($vars['name'], $vars['command']);
$label = rcube_label($attrib + array('vars' => $vars));
- return !$attrbi['noshow'] ? Q($label) : '';
+ return !$attrib['noshow'] ? (get_boolean((string)$attrib['html']) ? $label : Q($label)) : '';
}
break;