mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 22:38:51 +00:00
Monotone-Parent: 89f06969439427f2d6456a59082ce9b2c88ee0cc
Monotone-Revision: 59a124046afcb9738314976b76e1a3a8da551f0a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-01T20:36:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2006-11-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Contacts/UIxContactsAddressBooksSelection.m: new component
|
||||
module for the address book selector.
|
||||
|
||||
* UI/Templates/ContactsUI/UIxContactsListViewContainer.wox: added
|
||||
a toolbar with two buttons ("add" and "remove") to manage the
|
||||
additional addressbooks a user might subscribe to.
|
||||
|
||||
@@ -11,6 +11,7 @@ ContactsUI_LANGUAGES = English French
|
||||
ContactsUI_OBJC_FILES = \
|
||||
UIxContactsMailerSelection.m \
|
||||
UIxContactsCalendarsSelection.m \
|
||||
UIxContactsAddressBooksSelection.m \
|
||||
\
|
||||
ContactsUIProduct.m \
|
||||
UIxContactsFilterPanel.m \
|
||||
|
||||
30
UI/Contacts/UIxContactsAddressBooksSelection.m
Normal file
30
UI/Contacts/UIxContactsAddressBooksSelection.m
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
Copyright (C) 2004-2005 SKYRIX Software AG
|
||||
|
||||
This file is part of OpenGroupware.org.
|
||||
|
||||
OGo is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation; either version 2, or (at your option) any
|
||||
later version.
|
||||
|
||||
OGo is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
||||
License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with OGo; see the file COPYING. If not, write to the
|
||||
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <SOGoUI/UIxComponent.h>
|
||||
|
||||
@interface UIxContactsAddressBooksSelection : UIxComponent
|
||||
|
||||
@end
|
||||
|
||||
@implementation UIxContactsAddressBooksSelection
|
||||
|
||||
@end /* UIxContactsAddressBooksSelection */
|
||||
@@ -34,11 +34,21 @@
|
||||
pageName = "UIxContactFoldersView";
|
||||
actionName = "selectForCalendars";
|
||||
};
|
||||
addressbooks-contacts = {
|
||||
protectedBy = "View";
|
||||
pageName = "UIxContactFoldersView";
|
||||
actionName = "selectForAddressBooks";
|
||||
};
|
||||
contactSearch = {
|
||||
protectedBy = "View";
|
||||
pageName = "UIxContactFoldersView";
|
||||
actionName = "contactSearch";
|
||||
};
|
||||
updateAdditionalAddressBooks = {
|
||||
protectedBy = "View";
|
||||
pageName = "UIxContactFoldersView";
|
||||
actionName = "updateAdditionalAddressBooks";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -69,6 +79,11 @@
|
||||
pageName = "UIxContactsListView";
|
||||
actionName = "calendarsContacts";
|
||||
};
|
||||
addressbooks-contacts = {
|
||||
protectedBy = "View";
|
||||
pageName = "UIxContactsListView";
|
||||
actionName = "addressBooksContacts";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -104,6 +119,11 @@
|
||||
pageName = "UIxContactsListView";
|
||||
actionName = "calendarsContacts";
|
||||
};
|
||||
addressbooks-contacts = {
|
||||
protectedBy = "View";
|
||||
pageName = "UIxContactsListView";
|
||||
actionName = "addressBooksContacts";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
16
UI/Templates/ContactsUI/UIxContactsAddressBooksSelection.wox
Normal file
16
UI/Templates/ContactsUI/UIxContactsAddressBooksSelection.wox
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version='1.0' standalone='yes'?>
|
||||
<div
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
xmlns:uix="OGo:uix"
|
||||
xmlns:label="OGo:label"
|
||||
xmlns:rsrc="OGo:url"
|
||||
class="calendar"
|
||||
>
|
||||
<input type="submit"
|
||||
class="button"
|
||||
label:value="Add Address Book..."
|
||||
name="validate"
|
||||
onclick="return onConfirmAddressBookSelection();" />
|
||||
</div>
|
||||
Reference in New Issue
Block a user