From defadb8cff29eff87bdedec7c91a5a8ce067603a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 28 Aug 2012 11:31:40 +0200 Subject: [PATCH] Larry fixes/improvements --- plugins/calendar/skins/classic/calendar.css | 1 + .../calendar/skins/larry/templates/kolabacl.html | 2 ++ plugins/kolab_addressbook/kolab_addressbook.js | 8 ++++---- .../lib/kolab_addressbook_ui.php | 16 ++++++++-------- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/plugins/calendar/skins/classic/calendar.css b/plugins/calendar/skins/classic/calendar.css index e4afea44..b0ac6302 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 05a279ad..ed9b0c7e 100644 --- a/plugins/calendar/skins/larry/templates/kolabacl.html +++ b/plugins/calendar/skins/larry/templates/kolabacl.html @@ -20,5 +20,7 @@ body.aclform .hint { + + diff --git a/plugins/kolab_addressbook/kolab_addressbook.js b/plugins/kolab_addressbook/kolab_addressbook.js index 5b0032b8..56090dc3 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 980df059..74186497 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) {