From 2a6d6dd9c1a3534526456e5c78e5579682f5fa86 Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 29 Sep 2008 07:38:16 +0000 Subject: - 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 --- roundcubemail/program/include/html.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program/include/html.php') 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 -- cgit v1.2.3