From 35c31ed638d2b7d9b1c803e5a47aab7771cfe730 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 16 Dec 2008 14:05:50 -0500
Subject: [PATCH] Group settings boxes together in floating blocks for better layout

---
 program/include/html.php |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/program/include/html.php b/program/include/html.php
index 9268aca..032915f 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -669,6 +669,16 @@
         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);
+    }
 }
 
 ?>

--
Gitblit v1.9.1