]> err.no Git - scalable-opengroupware.org/blobdiff - UI/MailerUI/product.plist
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1065 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / MailerUI / product.plist
index ac33909db757e4aabf94bd9d670e26022ffa3818..0979d877f10b21d2eb01cb0dcaec2ac2ab945528 100644 (file)
@@ -1,5 +1,5 @@
-{
-  requires = ( MAIN, CommonUI, Mailer, Sieve );
+{ /* -*-javascript-*- */
+  requires = ( MAIN, CommonUI, Mailer ); /* , Sieve */
 
   publicResources = (
     "uix.css",
@@ -12,7 +12,7 @@
     "UIxMailToSelection.js",
 
     "lori_32x32.png",
-    
+
     "tbtv_account_17x17.gif",
     "tbtv_drafts_17x17.gif",
     "tbtv_inbox_17x17.gif",
@@ -27,7 +27,7 @@
     "tbtv_corner_plus_17x17.gif",
     "tbtv_sent_17x17.gif",
     "tbtv_trash_17x17.gif",
-    
+
     "tbtb_addressbook.png",
     "tbtb_compose.png",
     "tbtb_delete.png",
       slots = {
         toolbar = {
           protectedBy = "View";
-          value = "SOGoMailFolder.toolbar";
+          value = "SOGoMailObject.toolbar";
         };
       };
       methods = {
         view = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
         };
-        "tb.view" = { /* primary entry for mailer actions */
+        ajax = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailAjaxRequest";
         };
         index = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
         };
         GET = { /* hack to make it work as the default method */
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
         };
-        
         markMessageUnread = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
           actionName  = "markMessageUnread";
         };
         markMessageRead = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
           actionName  = "markMessageRead";
         };
         getMail = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
           actionName  = "getMail";
         };
         expunge = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
           actionName  = "expunge";
         };
-        
         createFolder = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
           actionName  = "createFolder";
         };
         deleteFolder = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
           actionName  = "deleteFolder";
         };
-       
         editACL = {
           protectedBy = "View";
           pageName    = "UIxMailFolderACLEditor";
         };
-        
         compose = {
           protectedBy = "View";
-          actionClass = "UIxMailEditorAction"; 
+          actionClass = "UIxMailEditorAction";
           actionName  = "compose";
         };
       };
       slots = {
         toolbar = {
           protectedBy = "View";
-          value = "SOGoTrashFolder.toolbar";
+          value = "SOGoMailObject.toolbar";
         };
       };
       methods = {
         emptyTrash = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
           actionName  = "emptyTrash";
         };
       };
         };
       };
       methods = {
-        view = { 
+        view = {
           protectedBy = "View";
-          pageName    = "UIxMailView"; 
+          pageName    = "UIxMailView";
         };
-        "tb.view" = { /* primary entry for mailer actions */
+        popupview = {
           protectedBy = "View";
-          pageName    = "UIxMailView"; 
+          pageName    = "UIxMailPopupView";
         };
-
-        getMail = {
+        move = {
           protectedBy = "View";
-          pageName    = "UIxMailView"; 
-          actionName  = "getMail";
+          pageName    = "UIxMailView";
+          actionName  = "move";
         };
-
-        delete = { 
+        delete = {
           protectedBy = "View";
-          pageName    = "UIxMailView"; 
+          pageName    = "UIxMailView";
           actionName  = "delete";
         };
-        trash = { 
+        trash = {
           protectedBy = "View";
-          pageName    = "UIxMailView"; 
+          pageName    = "UIxMailView";
           actionName  = "trash";
         };
-        junk = { 
+        junk = {
           protectedBy = "View";
-          pageName    = "UIxMailView"; 
+          pageName    = "UIxMailView";
           actionName  = "junk";
         };
-        edit = { 
+        edit = {
           protectedBy = "View";
-          pageName    = "UIxMailEditor"; 
+          pageName    = "UIxMailEditor";
         };
         compose = {
           protectedBy = "View";
-          actionClass = "UIxMailEditorAction"; 
+          actionClass = "UIxMailEditorAction";
           actionName  = "compose";
         };
         reply = {
           protectedBy = "View";
-          actionClass = "UIxMailReplyAction"; 
+          actionClass = "UIxMailReplyAction";
           actionName  = "reply";
         };
         replyall = {
           protectedBy = "View";
-          actionClass = "UIxMailReplyAction"; 
+          actionClass = "UIxMailReplyAction";
           actionName  = "replyall";
         };
         forward = {
           protectedBy = "View";
-          actionClass = "UIxMailForwardAction"; 
+          actionClass = "UIxMailForwardAction";
           actionName  = "forward";
         };
       };
     };
-    
+
     SOGoMailAccounts = {
       slots = {
         toolbar = {
           protectedBy = "View";
-          value = ( /* the toolbar groups */
-            ( /* first group */
-              { link  = "getMail";
-                cssClass = "tbicon_getmail"; label = "Get Mail"; },
-            )
-          );
+          value = "SOGoMailObject.toolbar";
         };
       };
       methods = {
         view = {
           protectedBy = "View";
-          pageName    = "UIxMailAccountsView"; 
+          pageName    = "UIxMailMainFrame";
         };
-        "tb.view" = { /* primary entry for mailer actions */
+        compose = {
           protectedBy = "View";
-          pageName    = "UIxMailAccountsView"; 
+          pageName    = "UIxMailMainFrame";
+          actionName  = "compose";
         };
         getMail = {
           protectedBy = "View";
-          pageName    = "UIxMailAccountsView"; 
+          pageName    = "UIxMailAccountsView";
         };
       };
     };
-    
+
     SOGoMailAccount = {
       slots = {
         toolbar = {
           protectedBy = "View";
-          value = "SOGoMailAccount.toolbar";
+          value = "SOGoMailObject.toolbar";
         };
       };
       methods = {
         view = {
           protectedBy = "View";
-          pageName    = "UIxMailAccountView"; 
-        };
-        "tb.view" = { /* primary entry for mailer actions */
-          protectedBy = "View";
-          pageName    = "UIxMailAccountView"; 
+          pageName    = "UIxMailAccountView";
         };
         getMail = {
           protectedBy = "View";
-          pageName    = "UIxMailAccountView"; 
-        };
-        addressbook = {
-          protectedBy = "View";
-          pageName    = "UIxMailAddressbook"; 
-        };
-        anais = {
-          protectedBy = "View";
-          pageName    = "UIxMailAddressbook";
-          actionName  = "anais";
+          pageName    = "UIxMailAccountView";
         };
         compose = {
           protectedBy = "View";
-          actionClass = "UIxMailEditorAction"; 
+          actionClass = "UIxMailEditorAction";
           actionName  = "compose";
         };
         createFolder = {
           protectedBy = "View";
-          pageName    = "UIxMailAccountView"; 
+          pageName    = "UIxMailAccountView";
           actionName  = "createFolder";
         };
       };
           value = ( /* the toolbar groups */
             ( /* first group */
               { link  = "getMail";
+               image = "tb-mail-getmail-flat-24x24.png";
                 cssClass = "tbicon_getmail"; label = "Get Mail"; },
               {
-                link     = "#"; // "compose"; // target = "_blank";
-                isSafe = NO;
-                onclick  = "clickedCompose(this);return false;";
-                cssClass = "tbicon_compose"; label = "Write"; },
+              link     = "#"; // "compose"; // target = "_blank";
+              isSafe = NO;
+               onclick  = "return openMessageWindow(null, 'compose');";
+              image = "tb-mail-write-flat-24x24.png";
+              cssClass = "tbicon_compose"; label = "Write"; },
             )
           );
         };
       methods = {
         view = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
-        };
-        "tb.view" = { /* primary entry for mailer actions */
-          protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
         };
         getMail = {
           protectedBy = "View";
-          pageName    = "UIxMailListView"; 
+          pageName    = "UIxMailListView";
         };
         compose = {
           protectedBy = "View";
-          actionClass = "UIxMailEditorAction"; 
+          actionClass = "UIxMailEditorAction";
           actionName  = "compose";
         };
       };
       methods = {
         view = { /* somewhat hackish */
           protectedBy = "View";
-          pageName    = "UIxMailEditor"; 
-        };
-        "tb.view" = { /* primary entry for mailer actions */
-          protectedBy = "View";
-          pageName    = "UIxMailEditor"; 
+          pageName    = "UIxMailEditor";
         };
         edit = {
           protectedBy = "View";
-          pageName    = "UIxMailEditor"; 
+          pageName    = "UIxMailEditor";
           actionName  = "edit";
         };
         save = {
           protectedBy = "View";
-          pageName    = "UIxMailEditor"; 
+          pageName    = "UIxMailEditor";
           actionName  = "save";
         };
         delete = {
           protectedBy = "View";
-          pageName    = "UIxMailEditor"; 
+          pageName    = "UIxMailEditor";
           actionName  = "delete";
         };
 
         viewAttachments = {
           protectedBy = "View";
-          pageName    = "UIxMailEditorAttach"; 
+          pageName    = "UIxMailEditorAttach";
           actionName  = "viewAttachments";
         };
         attach = {
           protectedBy = "View";
-          pageName    = "UIxMailEditorAttach"; 
+          pageName    = "UIxMailEditorAttach";
           actionName  = "attach";
         };
         deleteAttachment = {
           protectedBy = "View";
-          pageName    = "UIxMailEditorAttach"; 
+          pageName    = "UIxMailEditorAttach";
           actionName  = "deleteAttachment";
         };
-
         send = {
           protectedBy = "View";
-          pageName    = "UIxMailEditor"; 
+          pageName    = "UIxMailEditor";
           actionName  = "send";
         };
-        addressbook = {
-          protectedBy = "View";
-          pageName    = "UIxMailAddressbook";
-        };
-        anais = {
-          protectedBy = "View";
-          pageName    = "UIxMailAddressbook";
-          actionName  = "anais";
-        };
       };
     };
 
     /* Sieve */
-    
-    SOGoSieveScriptsFolder = {
+
+/*    SOGoSieveScriptsFolder = {
       slots = {
         toolbar = {
           protectedBy = "View";
-          value = ( /* the toolbar groups */
-            ( /* first group */
+          value = (
+            (
               {
-                link  = "getMail";
-                cssClass = "tbicon_getmail"; label = "Get Mail";
+              link  = "getMail";
+              image = "tb-mail-getmail-flat-24x24.png";
+              cssClass = "tbicon_getmail"; label = "Get Mail";
               },
               {
-                link     = "#"; // "compose"; // target = "_blank";
-                onclick  = "clickedNewFilter(this); return false";
-                cssClass = "tbicon_compose"; label = "New Filter";
+              link     = "#"; // "compose"; // target = "_blank";
+              onclick  = "clickedNewFilter(this); return false";
+              image = "tb-mail-write-flat-24x24.png";
+              cssClass = "tbicon_compose"; label = "New Filter";
               },
             ),
-            ( /* second group
-              { link = "#"; 
-                cssClass = "tbicon_delete"; label = "Delete"; },*/
+            (
+              { link = "#";
+                cssClass = "tbicon_delete"; label = "Delete"; },
             ),
           );
         };
       methods = {
         view = {
           protectedBy = "View";
-          pageName    = "UIxFilterList"; 
-        };
-        "tb.view" = { /* primary entry for mailer actions */
-          protectedBy = "View";
-          pageName    = "UIxFilterList"; 
+          pageName    = "UIxFilterList";
         };
         create = {
           protectedBy = "View";
-          pageName    = "UIxFilterList"; 
+          pageName    = "UIxFilterList";
           actionName  = "create";
         };
       };
       slots = {
         toolbar = {
           protectedBy = "View";
-          value = ( /* the toolbar groups */
-            ( /* first group */
-              { link  = "#"; 
+          value = (
+            ( { link  = "#";
                 onclick  = "clickedEditorSave(this);return false;";
-                cssClass = "tbicon_save"; label = "Save"; },
-              { link = "#"; 
+               image = "tb-mail-file-flat-24x24.png";
+               cssClass = "tbicon_save"; label = "Save"; },
+              { link = "#";
                 onclick  = "clickedEditorDelete(this);return false;";
+               image = "tb-mail-delete-flat-24x24.png";
                 cssClass = "tbicon_delete"; label = "Delete"; },
             )
           );
       methods = {
         edit = {
           protectedBy = "View";
-          pageName    = "UIxSieveEditor"; 
+          pageName    = "UIxSieveEditor";
           actionName  = "edit";
         };
         save = {
           protectedBy = "View";
-          pageName    = "UIxSieveEditor"; 
+          pageName    = "UIxSieveEditor";
           actionName  = "save";
         };
         delete = {
           protectedBy = "View";
-          pageName    = "UIxSieveEditor"; 
+          pageName    = "UIxSieveEditor";
           actionName  = "delete";
         };
       };
-    };
+    }; */
   };
 }