From: helge Date: Mon, 18 Jul 2005 19:25:54 +0000 (+0000) Subject: removed agenor unused mailer-uis X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=357018b35f506303624de76327a9e0f616c86b4f;p=scalable-opengroupware.org removed agenor unused mailer-uis git-svn-id: http://svn.opengroupware.org/SOGo/trunk@807 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGo/UI/GNUmakefile b/SOGo/UI/GNUmakefile index a11e1739..52589a4a 100644 --- a/SOGo/UI/GNUmakefile +++ b/SOGo/UI/GNUmakefile @@ -12,13 +12,6 @@ SUBPROJECTS += \ MailPartViewers \ Anais \ -ifneq ($(FOUNDATION_LIB),apple) -# experimental -SUBPROJECTS += \ - MailerContactsUI \ - MailerSchedulerUI -endif - SUBPROJECTS += \ Templates diff --git a/SOGo/UI/MailerContactsUI/ChangeLog b/SOGo/UI/MailerContactsUI/ChangeLog deleted file mode 100644 index c87a3d01..00000000 --- a/SOGo/UI/MailerContactsUI/ChangeLog +++ /dev/null @@ -1,41 +0,0 @@ -2005-06-26 Helge Hess - - * use new ContactsUI library from Contacts (v0.9.9) - -2005-06-24 Helge Hess - - * UIxMailContactEditor.m: fixed an exception with Cocoa due to empty - fields on contact creation (v0.9.8) - -2005-02-22 Helge Hess - - * UIxMailContactList.m: hide frame if "noframe" query parameter is set - (v0.9.7) - -2005-02-18 Helge Hess - - * mailercontacts.js: added some function to allow inline editing of - fields in a tableview (v0.9.6) - -2005-02-17 Helge Hess - - * removed DUP Images directory, resource lookup now properly works for - the mail sort component (v0.9.5) - -2005-02-16 Helge Hess - - * added automatic search submit (v0.9.4) - -2005-02-15 Helge Hess - - * UIxMailContactEditor.m: added object title (v0.9.3) - -2005-02-14 Helge Hess - - * work on contact editor (v0.9.2) - - * UIxMailContactList.wox: use sortable mail header component from - MailerUI (need to copy some images until the resource lookup in SOPE - is improved to properly span multiple products) - - * created ChangeLog diff --git a/SOGo/UI/MailerContactsUI/GNUmakefile b/SOGo/UI/MailerContactsUI/GNUmakefile deleted file mode 100644 index 87543a80..00000000 --- a/SOGo/UI/MailerContactsUI/GNUmakefile +++ /dev/null @@ -1,32 +0,0 @@ -# GNUstep makefile - -include ../common.make - -BUNDLE_NAME = MailerContactsUI - -MailerContactsUI_PRINCIPAL_CLASS = MailerContactsUIProduct - -MailerContactsUI_LANGUAGES = English French - -MailerContactsUI_OBJC_FILES += \ - MailerContactsUIProduct.m \ - \ - UIxMailContactList.m \ - UIxMailContactEditor.m \ - - -MailerContactsUI_RESOURCE_FILES += \ - Version \ - product.plist \ - -MailerContactsUI_RESOURCE_FILES += \ - mailercontacts.js - -MailerContactsUI_LOCALIZED_RESOURCE_FILES += - -# make - --include GNUmakefile.preamble -include $(GNUSTEP_MAKEFILES)/bundle.make --include GNUmakefile.postamble -include ../../fhsbundle.make diff --git a/SOGo/UI/MailerContactsUI/GNUmakefile.preamble b/SOGo/UI/MailerContactsUI/GNUmakefile.preamble deleted file mode 100644 index 994890c5..00000000 --- a/SOGo/UI/MailerContactsUI/GNUmakefile.preamble +++ /dev/null @@ -1,9 +0,0 @@ -# compile flags - -ADDITIONAL_INCLUDE_DIRS += \ - -I.. -I../.. -I../../.. - -ADDITIONAL_LIB_DIRS += \ - -L../Contacts/$(GNUSTEP_OBJ_DIR) - -MailerContactsUI_BUNDLE_LIBS += -lContactsUI diff --git a/SOGo/UI/MailerContactsUI/MailerContactsUIProduct.m b/SOGo/UI/MailerContactsUI/MailerContactsUIProduct.m deleted file mode 100644 index 7385e799..00000000 --- a/SOGo/UI/MailerContactsUI/MailerContactsUIProduct.m +++ /dev/null @@ -1,33 +0,0 @@ -/* - Copyright (C) 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 - -@interface MailerContactsUIProduct : NSObject -{ -} - -@end - -#include "common.h" - -@implementation MailerContactsUIProduct -@end /* MailerContactsUIProduct */ diff --git a/SOGo/UI/MailerContactsUI/UIxMailContactEditor.m b/SOGo/UI/MailerContactsUI/UIxMailContactEditor.m deleted file mode 100644 index 26900fe9..00000000 --- a/SOGo/UI/MailerContactsUI/UIxMailContactEditor.m +++ /dev/null @@ -1,68 +0,0 @@ -/* - Copyright (C) 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. -*/ - -#include - -@interface UIxMailContactEditor : UIxContactEditorBase -{ -} - -@end - -#include "common.h" - -@implementation UIxMailContactEditor - -/* title */ - -- (NSString *)objectTitle { - NSString *l, *f; - - l = [self valueForKeyPath:@"snapshot.sn"]; - f = [self valueForKeyPath:@"snapshot.givenName"]; - if ([f length] == 0) return l; - if ([l length] == 0) return f; - return [[l stringByAppendingString:@", "] stringByAppendingString:f]; -} -- (NSString *)panelTitle { - NSString *s, *t; - - t = [self objectTitle]; - s = [self labelForKey:@"Edit Contact"]; - if ([t isNotNull]) { - s = [s stringByAppendingString:@": "]; - s = [s stringByAppendingString:t]; - } - return s; -} - -/* actions */ - -- (NSString *)editActionName { - /* this is called by the parent class new action */ - return @"tb.edit"; -} -- (NSString *)viewxActionName { - /* this is called by the parent class save action */ - return @"tb.edit"; -} - -@end /* UIxMailContactEditor */ diff --git a/SOGo/UI/MailerContactsUI/UIxMailContactList.m b/SOGo/UI/MailerContactsUI/UIxMailContactList.m deleted file mode 100644 index 0140a39c..00000000 --- a/SOGo/UI/MailerContactsUI/UIxMailContactList.m +++ /dev/null @@ -1,56 +0,0 @@ -/* - Copyright (C) 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. -*/ - -#include - -@interface UIxMailContactList : UIxContactsListViewBase -{ -} - -@end - -#include "common.h" -#include -#include - -@implementation UIxMailContactList - -/* frame */ - -- (BOOL)hideFrame { - return [[[[self context] request] formValueForKey:@"noframe"] boolValue]; -} - -/* title */ - -- (NSString *)objectTitle { - return [[self clientObject] nameInContainer]; -} -- (NSString *)panelTitle { - NSString *s; - - s = [self labelForKey:@"View Contacts Folder"]; - s = [s stringByAppendingString:@": "]; - s = [s stringByAppendingString:[self objectTitle]]; - return s; -} - -@end /* UIxMailContactList */ diff --git a/SOGo/UI/MailerContactsUI/Version b/SOGo/UI/MailerContactsUI/Version deleted file mode 100644 index c92539a5..00000000 --- a/SOGo/UI/MailerContactsUI/Version +++ /dev/null @@ -1,5 +0,0 @@ -# version file - -SUBMINOR_VERSION:=9 - -# v0.9.5 requires MailerUI v0.9.116 diff --git a/SOGo/UI/MailerContactsUI/bundle-info.plist b/SOGo/UI/MailerContactsUI/bundle-info.plist deleted file mode 100644 index 0217dc55..00000000 --- a/SOGo/UI/MailerContactsUI/bundle-info.plist +++ /dev/null @@ -1,16 +0,0 @@ -{ - requires = { - bundleManagerVersion = 1; - classes = ( - { name = NSObject; } - ); - }; - - provides = { - classes = ( - ); - WOComponents = ( - { name = UIxMailContactEditor; } - ); - }; -} diff --git a/SOGo/UI/MailerContactsUI/common.h b/SOGo/UI/MailerContactsUI/common.h deleted file mode 100644 index 801da9cc..00000000 --- a/SOGo/UI/MailerContactsUI/common.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - Copyright (C) 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 - -#if LIB_FOUNDATION_LIBRARY -# include -#elif NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY -# include -# include -#endif - -#include -#include -#include diff --git a/SOGo/UI/MailerContactsUI/mailercontacts.js b/SOGo/UI/MailerContactsUI/mailercontacts.js deleted file mode 100644 index ac4f2e41..00000000 --- a/SOGo/UI/MailerContactsUI/mailercontacts.js +++ /dev/null @@ -1,144 +0,0 @@ -/* - Copyright (C) 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. -*/ -/* JavaScript code for SOGo MailerUI contacts */ - -function openContact(sender, addruid) { - var w; - - w = window.open(addruid + "/tb.edit", 'SOGo_addr_' + addruid, - 'width=540,height=340,resizable=1,scrollbars=1,toolbar=0,' + - 'location=0,directories=0,status=0,menubar=0,copyhistory=0'); - w.focus(); - return false; -} - -function cl_highlight(sender) { - sender.className = "tableview_highlight"; -} -function cl_lowlight(sender) { - sender.className = "tableview"; -} - -/* edit field */ - -function cl_saveFieldValue(sender, keyName) { - var http = createHTTPClient(); - - if (http) { - var tableRow = sender.parentNode.parentNode; - var recordID = tableRow.id; - var url = window.location.href; - var content; - - url = ml_stripActionInURL(url); - url = url + recordID + "/patchOneField"; - // TODO: confuses SOPE?!: url = url + "?jsonly=1" - - // TODO: need to use XML! - content = keyName + "\n" + sender.value; - - http.open("POST", url, false); - http.send(content); - if (http.status != 200) { - // TODO: localize, improve error message - alert("Store Failed: " + http.statusText); - } - else { - return true; - } - } - else { - // TODO: we should disable the functionality now - } - return false; -} - -var currentEditField = null; -var currentEditDiv = null; -var oldFieldValue = null; -var currentKeyName = null; - -function cl_findEditField(sender) { - var f; - - f = sender.parentNode.getElementsByTagName("input"); - return (f.length > 0) ? f[0] : null; -} - -function cl_showEditField(sender, e, keyName) { - var inputField; - - if (currentEditDiv != null) - cl_findEditField(currentEditField); - - e.stopPropagation(); - - currentKeyName = keyName; - currentEditDiv = sender; - currentEditField = cl_findEditField(sender); - oldFieldValue = unescapeHTML(sender.innerHTML); - - inputField = cl_findEditField(sender); - inputField.value = oldFieldValue; - sender.style.display = "none"; - inputField.style.display = "inline"; - - inputField.focus(); - inputField.select(); - - return true; -} - -function cl_finishEditField(sender) { - // this might trigger onblur! - - if (sender != currentEditField && sender != null) - return; - - currentEditField.style.display = "none"; - currentEditDiv.style.display = "inline"; - currentEditField = null; - currentEditDiv = null; - currentKeyName = null; - oldFieldValue = null; -} - -function cl_editFieldKeyPress(sender, e) { - if (e.keyCode == 27) { /* escape, cancel editing */ - cl_finishEditField(null); - return false; - } - if (e.keyCode == 13) { /* save using XMLHttpRequest */ - if (cl_saveFieldValue(sender, currentKeyName)) { - // copy new value to div - currentEditDiv.innerHTML = escapeHTML(sender.value); - cl_finishEditField(null); - } - else { - // alert blurs!: alert("field save failed!"); // TODO: localize - // TODO: do we have beep or something? - } - return false; - } - - // TODO: we could support "tab" for jumping to the next field - return true; -} diff --git a/SOGo/UI/MailerContactsUI/product.plist b/SOGo/UI/MailerContactsUI/product.plist deleted file mode 100644 index b94a617d..00000000 --- a/SOGo/UI/MailerContactsUI/product.plist +++ /dev/null @@ -1,86 +0,0 @@ -{ - requires = ( MAIN, CommonUI, Contacts, MailerUI, ContactsUI ); - - publicResources = ( - "title_sortdown_12x12.png", - "title_sortup_12x12.png", - "mailercontacts.js" - ); - - factories = { - }; - - categories = { - SOGoContactFolder = { - slots = { - toolbar = { - protectedBy = "View"; - value = ( /* the toolbar groups */ - ( /* first group */ - { - link = "#"; // no-op - cssClass = "tbicon_getmail"; label = "Get Mail"; - }, - { - link = "tb.new"; - // onclick = "clickedNewContact(this);return false;"; - cssClass = "tbicon_compose"; label = "New Contact"; - target = "_blank"; - }, -/* enable if we actually can do that - { link = "tb.compose"; target = "_blank"; - cssClass = "tbicon_compose"; label = "Write"; }, -*/ - ), - ); - }; - }; - methods = { - "tb.view" = { /* primary entry for mailer actions */ - protectedBy = "View"; - pageName = "UIxMailContactList"; - }; - "tb.tableview" = { /* same like above without the frame */ - protectedBy = "View"; - pageName = "UIxMailContactListPart"; - }; - - "tb.compose" = { - protectedBy = "View"; - actionClass = "UIxMailEditorAction"; - actionName = "compose"; - }; - - "tb.new" = { - protectedBy = "View"; - pageName = "UIxMailContactEditor"; - actionName = "new"; - }; - }; - }; - - SOGoContactObject = { - slots = { - toolbar = { - protectedBy = "View"; - value = ( /* the toolbar groups */ - ( /* first group */ - { link = "#"; - onclick = "clickedEditorSave(this);return false;"; - cssClass = "tbicon_save"; label = "Save"; }, - { link = "#"; - onclick = "clickedEditorDelete(this);return false;"; - cssClass = "tbicon_delete"; label = "Delete"; }, - ) - ); - }; - }; - methods = { - "tb.edit" = { - protectedBy = "View"; - pageName = "UIxMailContactEditor"; - }; - }; - }; - }; -} diff --git a/SOGo/UI/MailerSchedulerUI/ChangeLog b/SOGo/UI/MailerSchedulerUI/ChangeLog deleted file mode 100644 index 413c7c39..00000000 --- a/SOGo/UI/MailerSchedulerUI/ChangeLog +++ /dev/null @@ -1,3 +0,0 @@ -2005-02-15 Helge Hess - - * created ChangeLog diff --git a/SOGo/UI/MailerSchedulerUI/GNUmakefile b/SOGo/UI/MailerSchedulerUI/GNUmakefile deleted file mode 100644 index 2910fa58..00000000 --- a/SOGo/UI/MailerSchedulerUI/GNUmakefile +++ /dev/null @@ -1,25 +0,0 @@ -# GNUstep makefile - -include ../common.make - -BUNDLE_NAME = MailerSchedulerUI - -MailerSchedulerUI_PRINCIPAL_CLASS = MailerSchedulerUIProduct - -MailerSchedulerUI_LANGUAGES = English French - -MailerSchedulerUI_OBJC_FILES += \ - MailerSchedulerUIProduct.m \ - \ - UIxMailCalWeekOverview.m \ - -MailerSchedulerUI_RESOURCE_FILES += \ - Version \ - product.plist \ - -# make - --include GNUmakefile.preamble -include $(GNUSTEP_MAKEFILES)/bundle.make --include GNUmakefile.postamble -include ../../fhsbundle.make diff --git a/SOGo/UI/MailerSchedulerUI/MailerSchedulerUIProduct.m b/SOGo/UI/MailerSchedulerUI/MailerSchedulerUIProduct.m deleted file mode 100644 index 5fd430f5..00000000 --- a/SOGo/UI/MailerSchedulerUI/MailerSchedulerUIProduct.m +++ /dev/null @@ -1,33 +0,0 @@ -/* - Copyright (C) 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 - -@interface MailerSchedulerUIProduct : NSObject -{ -} - -@end - -#include "common.h" - -@implementation MailerSchedulerUIProduct -@end /* MailerSchedulerUIProduct */ diff --git a/SOGo/UI/MailerSchedulerUI/UIxMailCalWeekOverview.m b/SOGo/UI/MailerSchedulerUI/UIxMailCalWeekOverview.m deleted file mode 100644 index bab35e06..00000000 --- a/SOGo/UI/MailerSchedulerUI/UIxMailCalWeekOverview.m +++ /dev/null @@ -1,40 +0,0 @@ -/* - Copyright (C) 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. -*/ - -#include - -@interface UIxMailCalWeekOverview : UIxCalWeekOverview -{ -} - -@end - -#include "common.h" - -@implementation UIxMailCalWeekOverview - -/* title */ - -- (NSString *)panelTitle { - return [self labelForKey:@"Week Overview"]; -} - -@end /* UIxMailCalWeekOverview */ diff --git a/SOGo/UI/MailerSchedulerUI/Version b/SOGo/UI/MailerSchedulerUI/Version deleted file mode 100644 index 81d0f5a4..00000000 --- a/SOGo/UI/MailerSchedulerUI/Version +++ /dev/null @@ -1,3 +0,0 @@ -# version file - -SUBMINOR_VERSION:=3 diff --git a/SOGo/UI/MailerSchedulerUI/common.h b/SOGo/UI/MailerSchedulerUI/common.h deleted file mode 100644 index 801da9cc..00000000 --- a/SOGo/UI/MailerSchedulerUI/common.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - Copyright (C) 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 - -#if LIB_FOUNDATION_LIBRARY -# include -#elif NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY -# include -# include -#endif - -#include -#include -#include diff --git a/SOGo/UI/MailerSchedulerUI/product.plist b/SOGo/UI/MailerSchedulerUI/product.plist deleted file mode 100644 index 8672c0dd..00000000 --- a/SOGo/UI/MailerSchedulerUI/product.plist +++ /dev/null @@ -1,85 +0,0 @@ -{ - requires = ( MAIN, CommonUI, Appointments, MailerUI, SchedulerUI ); - - publicResources = ( - ); - - factories = { - }; - - categories = { - SOGoAppointmentFolder = { - slots = { - toolbar = { - protectedBy = "View"; - value = ( /* the toolbar groups */ - ( /* first group */ - { - link = "#"; // no-op - cssClass = "tbicon_getmail"; label = "Get Mail"; - }, - { - link = "new"; - // onclick = "clickedCompose(this);return false;"; - cssClass = "tbicon_compose"; label = "New Event"; - }, -/* enable if we actually can do that - { link = "tb.compose"; target = "_blank"; - cssClass = "tbicon_compose"; label = "Write"; }, -*/ - ), - ( /* second group */ - { // TODO: does not consider query parameters! - // TODO: icon - link = "proposal"; target= "proposal"; - cssClass = "tbicon_forward"; label = "Proposal"; - }, - ), - ( /* third group */ - { // TODO: does not consider query parameters! - // TODO: icon - link = "weekprintview"; target= "SOGoPrintView"; - cssClass = "tbicon_print"; label = "Print"; - }, - ), - ); - }; - }; - methods = { - "tb.view" = { /* primary entry for mailer actions */ - protectedBy = "View"; - pageName = "UIxMailCalWeekOverview"; - }; - "tb.compose" = { - protectedBy = "View"; - actionClass = "UIxMailEditorAction"; - actionName = "compose"; - }; - }; - }; - - SOGoAppointmentObject = { - slots = { - toolbar = { - protectedBy = "View"; - value = ( /* the toolbar groups */ - ( /* first group */ - { link = "#"; - onclick = "clickedEditorSave(this);return false;"; - cssClass = "tbicon_save"; label = "Save"; }, - { link = "#"; - onclick = "clickedEditorDelete(this);return false;"; - cssClass = "tbicon_delete"; label = "Delete"; }, - ) - ); - }; - }; - methods = { - "tb.edit" = { - protectedBy = "View"; - pageName = "UIxMailEventEditor"; - }; - }; - }; - }; -}