- 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
This commit is contained in:
alecpl
2008-09-29 07:38:16 +00:00
parent 29e697b24a
commit ffae15e5fc
14 changed files with 229 additions and 21 deletions

View File

@@ -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