Larry skin for Kolab address book

This commit is contained in:
Thomas B 2012-03-08 21:24:13 +01:00
parent 67f3f91aac
commit 7bc509a2cd
3 changed files with 55 additions and 3 deletions

View file

@ -5,7 +5,7 @@
*
* @author Aleksander Machniak <machniak@kolabsys.com>
*
* Copyright (C) 2011, Kolab Systems AG <contact@kolabsys.com>
* Copyright (C) 2012, Kolab Systems AG <contact@kolabsys.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@ -156,7 +156,7 @@ class kolab_addressbook_ui
);
if (!empty($options) && ($options['norename'] || $options['protected'])) {
$foldername = Q(str_replace($delimiter, ' &raquo; ', rcube_kolab::object_name($folder)));
$foldername = Q(str_replace($delimiter, ' &raquo; ', kolab_storage::object_name($folder)));
}
else {
$foldername = new html_inputfield(array('name' => '_name', 'id' => '_name', 'size' => 30));
@ -178,7 +178,7 @@ class kolab_addressbook_ui
$hidden_fields[] = array('name' => '_parent', 'value' => $path_imap);
}
else {
$select = rcube_kolab::folder_selector('contact', array('name' => '_parent'), $folder);
$select = kolab_storage::folder_selector('contact', array('name' => '_parent'), $folder);
$form['props']['fieldsets']['location']['content']['path'] = array(
'label' => $this->plugin->gettext('parentbook'),

View file

@ -0,0 +1,28 @@
#directorylist li.addressbook.readonly,
#directorylist li.addressbook.shared,
#directorylist li.addressbook.other {
/* background-image: url(kolab_folders.png); */
background-position: 5px -1000px;
background-repeat: no-repeat;
}
#directorylist li.addressbook.readonly {
background-position: 5px 0px;
}
#directorylist li.addressbook.shared {
background-position: 5px -54px;
}
#directorylist li.addressbook.shared.readonly {
background-position: 5px -72px;
}
#directorylist li.addressbook.other {
background-position: 5px -18px;
}
#directorylist li.addressbook.other.readonly {
background-position: 5px -36px;
}

View file

@ -0,0 +1,24 @@
<roundcube:object name="doctype" value="html5" />
<html>
<head>
<title><roundcube:object name="pagetitle" /></title>
<roundcube:include file="/includes/links.html" />
</head>
<body class="iframe">
<h1 class="boxtitle"><roundcube:label name="kolab_addressbook.bookproperties" /></h1>
<div class="boxcontent">
<roundcube:object name="bookdetails" class="propform" />
</div>
<div id="formfooter">
<div class="footerleft formbuttons">
<roundcube:button command="book-save" type="input" class="button mainaction" label="save" />
</div>
</div>
<roundcube:include file="/includes/footer.html" />
</body>
</html>