summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/html.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-12-16 19:05:50 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-12-16 19:05:50 +0000
commit79b68afe9f3a20e6f3762ac14e2c9b88cbdd392e (patch)
treec8974dbf55d86d200a07d4a42c0c391c528f0ae1 /roundcubemail/program/include/html.php
parent07b47053e193c7aa0b4f29efdee753a4bd9b4214 (diff)
Group settings boxes together in floating blocks for better layout
git-svn-id: https://svn.roundcube.net/trunk@2164 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/html.php')
-rw-r--r--roundcubemail/program/include/html.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/roundcubemail/program/include/html.php b/roundcubemail/program/include/html.php
index 9268acacc..032915f1f 100644
--- a/roundcubemail/program/include/html.php
+++ b/roundcubemail/program/include/html.php
@@ -669,6 +669,16 @@ class html_table extends html
unset($this->attrib['cols'], $this->attrib['rowsonly']);
return parent::show();
}
+
+ /**
+ * Count number of rows
+ *
+ * @return The number of rows
+ */
+ public function size()
+ {
+ return count($this->rows);
+ }
}
?>