summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-29 07:38:16 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-29 07:38:16 +0000
commit2a6d6dd9c1a3534526456e5c78e5579682f5fa86 (patch)
tree52215ed5adc90be24270b29d21708af1eed6a721 /roundcubemail/program/include
parent59cf47e8166a7df66bbf6d2202c3647709b8c9d8 (diff)
- Added 'mime_param_folding' option with possibility to choose
long/non-ascii attachment names encoding eg. to be readable in MS Outlook/OE (#1485320) - Added "advanced options" feature in User Preferences git-svn-id: https://svn.roundcube.net/trunk@1897 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/html.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/roundcubemail/program/include/html.php b/roundcubemail/program/include/html.php
index 2d0d90b5f..9268acacc 100644
--- a/roundcubemail/program/include/html.php
+++ b/roundcubemail/program/include/html.php
@@ -591,7 +591,7 @@ class html_table extends html
public function add_header($attr, $cont)
{
if (is_string($attr))
- $attr = array('class' => $attr);
+ $attr = array('class' => $attr);
$cell = new stdClass;
$cell->attrib = $attr;
@@ -613,6 +613,18 @@ class html_table extends html
$this->rows[$this->rowindex]->cells = array();
}
+ /**
+ * Set current row attrib
+ *
+ * @param array Row attributes
+ */
+ public function set_row_attribs($attr = array())
+ {
+ if (is_string($attr))
+ $attr = array('class' => $attr);
+
+ $this->rows[$this->rowindex]->attrib = $attr;
+ }
/**
* Build HTML output of the table data