summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/html.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-12-18 19:02:53 +0100
committerAleksander Machniak <alec@alec.pl>2012-12-18 19:02:53 +0100
commit0d214498d04439c29c9764fa291dcfde49701467 (patch)
tree1210febf0e620ebb55d3c4667dd2b017419a441b /program/lib/Roundcube/html.php
parent83370e5ff14f55f6af435807713956160f91abfa (diff)
CS fixes
Diffstat (limited to 'program/lib/Roundcube/html.php')
-rw-r--r--program/lib/Roundcube/html.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php
index 33b766c44..522a82305 100644
--- a/program/lib/Roundcube/html.php
+++ b/program/lib/Roundcube/html.php
@@ -169,7 +169,7 @@ class html
$attr = array('href' => $attr);
}
return self::tag('a', $attr, $cont, array_merge(self::$common_attrib,
- array('href','target','name','rel','onclick','onmouseover','onmouseout','onmousedown','onmouseup')));
+ array('href','target','name','rel','onclick','onmouseover','onmouseout','onmousedown','onmouseup')));
}
/**
@@ -675,7 +675,7 @@ class html_table extends html
}
$cell = new stdClass;
- $cell->attrib = $attr;
+ $cell->attrib = $attr;
$cell->content = $cont;
$this->rows[$this->rowindex]->cells[$this->colindex] = $cell;
@@ -699,16 +699,16 @@ class html_table extends html
}
$cell = new stdClass;
- $cell->attrib = $attr;
- $cell->content = $cont;
+ $cell->attrib = $attr;
+ $cell->content = $cont;
$this->header[] = $cell;
}
- /**
+ /**
* Remove a column from a table
* Useful for plugins making alterations
- *
- * @param string $class
+ *
+ * @param string $class
*/
public function remove_column($class)
{
@@ -788,8 +788,9 @@ class html_table extends html
*/
public function show($attrib = null)
{
- if (is_array($attrib))
+ if (is_array($attrib)) {
$this->attrib = array_merge($this->attrib, $attrib);
+ }
$thead = $tbody = "";
@@ -831,7 +832,7 @@ class html_table extends html
*/
public function size()
{
- return count($this->rows);
+ return count($this->rows);
}
/**