Branch 'roundcubemail-plugins-kolab-0.8' - plugins/calendar plugins/kolab_addressbook

Aleksander Machniak machniak at kolabsys.com
Tue Aug 28 11:32:47 CEST 2012


 plugins/calendar/skins/classic/calendar.css            |    1 +
 plugins/calendar/skins/larry/templates/kolabacl.html   |    2 ++
 plugins/kolab_addressbook/kolab_addressbook.js         |    8 ++++----
 plugins/kolab_addressbook/lib/kolab_addressbook_ui.php |   16 ++++++++--------
 4 files changed, 15 insertions(+), 12 deletions(-)

New commits:
commit 705dbc74caec125c66282df91330efd082edd41b
Author: Aleksander Machniak <alec at alec.pl>
Date:   Tue Aug 28 11:31:40 2012 +0200

    Larry fixes/improvements

diff --git a/plugins/calendar/skins/classic/calendar.css b/plugins/calendar/skins/classic/calendar.css
index 21dcb1b..c47cc8e 100644
--- a/plugins/calendar/skins/classic/calendar.css
+++ b/plugins/calendar/skins/classic/calendar.css
@@ -117,6 +117,7 @@ pre {
 	background: #fff;
 	border-bottom: 1px solid #EBEBEB;
 	white-space: nowrap;
+	cursor: default;
 }
 
 #calendarslist li label {
diff --git a/plugins/calendar/skins/larry/templates/kolabacl.html b/plugins/calendar/skins/larry/templates/kolabacl.html
index 05a279a..ed9b0c7 100644
--- a/plugins/calendar/skins/larry/templates/kolabacl.html
+++ b/plugins/calendar/skins/larry/templates/kolabacl.html
@@ -20,5 +20,7 @@ body.aclform .hint {
 
 <roundcube:object name="folderacl" />
 
+<roundcube:include file="/includes/footer.html" />
+
 </body>
 </html>
diff --git a/plugins/kolab_addressbook/kolab_addressbook.js b/plugins/kolab_addressbook/kolab_addressbook.js
index 5b0032b..56090dc 100644
--- a/plugins/kolab_addressbook/kolab_addressbook.js
+++ b/plugins/kolab_addressbook/kolab_addressbook.js
@@ -181,9 +181,9 @@ rcube_webmail.prototype.book_update = function(data, old)
                 refrow = $('#rcmli'+n);
                 refrow.remove().attr({id: 'rcmliG'+data.id+groups[n].id});
                 $('a', refrow).removeAttr('onclick').unbind()
-            	    .click({source: data.id, id: groups[n].id}, function(e) {
-                	return rcmail.command('listgroup', {'source': e.data.source, 'id': e.data.id}, this);
-        	    });
+                    .click({source: data.id, id: groups[n].id}, function(e) {
+                        return rcmail.command('listgroup', {'source': e.data.source, 'id': e.data.id}, this);
+                    });
                 refrow.insertAfter(row);
                 row = refrow;
 
@@ -241,7 +241,7 @@ rcube_webmail.prototype.book_update = function(data, old)
                         $('a', refrow).removeAttr('onclick').unbind()
                             .click({source: id, id: groups[i].id}, function(e) {
                                 return rcmail.command('listgroup', {'source': e.data.source, 'id': e.data.id}, this);
-                    	    });
+                            });
                         refrow.insertAfter(row);
                         row = refrow;
 
diff --git a/plugins/kolab_addressbook/lib/kolab_addressbook_ui.php b/plugins/kolab_addressbook/lib/kolab_addressbook_ui.php
index d154a0a..71abe4d 100644
--- a/plugins/kolab_addressbook/lib/kolab_addressbook_ui.php
+++ b/plugins/kolab_addressbook/lib/kolab_addressbook_ui.php
@@ -231,7 +231,7 @@ class kolab_addressbook_ui
         $content = '';
 
         if (is_array($form['content']) && !empty($form['content'])) {
-            $table = new html_table(array('cols' => 2));
+            $table = new html_table(array('cols' => 2, 'class' => 'propform'));
             foreach ($form['content'] as $col => $colprop) {
                 $colprop['id'] = '_'.$col;
                 $label = !empty($colprop['label']) ? $colprop['label'] : rcube_label($col);
@@ -255,13 +255,13 @@ class kolab_addressbook_ui
 
         $request_key = $action . (isset($id) ? '.'.$id : '');
         $form_start = $this->rc->output->request_form(array(
-	        'name'    => 'form',
-	        'method'  => 'post',
-	        'task'    => $this->rc->task,
-	        'action'  => $action,
-	        'request' => $request_key,
-	        'noclose' => true,
-	    ) + $attrib);
+            'name'    => 'form',
+            'method'  => 'post',
+            'task'    => $this->rc->task,
+            'action'  => $action,
+            'request' => $request_key,
+            'noclose' => true,
+        ) + $attrib);
 
         if (is_array($hidden)) {
             foreach ($hidden as $field) {





More information about the commits mailing list