]> err.no Git - scalable-opengroupware.org/commitdiff
disable expunge button on mailfolder if the folder is lacking permissions
authorhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 6 Jul 2005 21:22:22 +0000 (21:22 +0000)
committerhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 6 Jul 2005 21:22:22 +0000 (21:22 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@678 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/UI/MailerUI/ChangeLog
SOGo/UI/MailerUI/Version
SOGo/UI/MailerUI/product.plist

index 56f072032c4dc575ef509e3fe6fa7454c3b46c10..c83076fe5f2e9245a606287da0107c6a49579bed 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-06  Helge Hess  <helge.hess@opengroupware.org>
+
+       * product.plist: hide expunge button on mail folder when deleting is
+         disallowed (v0.9.126)
+
 2005-07-06  Helge Hess  <helge.hess@opengroupware.org>
 
        * v0.9.125
index 30a0105ca6400a26427b5660ce71c202690ba846..ed1862db2b6afc8282a8a06bd5177c76411b452a 100644 (file)
@@ -1,6 +1,6 @@
 # version file
 
-SUBMINOR_VERSION:=125
+SUBMINOR_VERSION:=126
 
 # v0.9.100 requires libNGMime        v4.5.213
 # v0.9.99  requires libNGMime        v4.5.212
index 5cd3368e7cb1d8fb451b37d1cdb24685851cc2f4..e4f0b930455df89921e59fa32246cd3f806479cb 100644 (file)
               },
               {
                 link     = "#"; // "compose"; // target = "_blank";
+                isSafe   = NO;
                 onclick  = "clickedCompose(this);return false;";
                 cssClass = "tbicon_compose"; label = "Write";
               },
             ),
             ( // second group
-              { link = "#"; 
+              { link = "#";  isSafe = NO;
                 onclick="openMessageWindowsForSelection(this, 'reply'); return false;";
                 cssClass = "tbicon_reply";    label = "Reply";     },
-              { link = "#"; 
+              { link = "#";  isSafe = NO;
                 onclick="openMessageWindowsForSelection(this, 'replyall'); return false;";
                 cssClass = "tbicon_replyall"; label = "Reply All"; },
-              { link = "#"; 
+              { link = "#";  isSafe = NO;
                 onclick="openMessageWindowsForSelection(this, 'forward'); return false;";
                 cssClass = "tbicon_forward";  label = "Forward";   },
             ),
             ( // third group
-              { link = "expunge"; 
+              { link = "expunge"; isSafe = NO;
+                enabled  = clientObject.isDeleteAndExpungeAllowed;
                 cssClass = "tbicon_delete"; label = "Expunge"; },
 /* TODO: enable when implemented
 // TODO: enable when delete works (#1212)
-              { link = "#"; 
+              { link = "#"; isSafe = NO;
                 cssClass = "tbicon_delete"; label = "Delete"; },
 // TODO: enable when we know how to mark junk (#971)
-              { link = "#"; 
+              { link = "#"; isSafe = NO;
                 cssClass = "tbicon_junk";   label = "Junk";   },
 */
             ),
             ( // fourth group (folders)
               { link = "#"; onclick="return ctxFolderAdd(this)";
+                isSafe = NO;
                 cssClass = "tbicon_folderadd"; label = "Create"; },
               { link = "#"; onclick="return ctxFolderDelete(this)";
+                isSafe = NO;
                 cssClass = "tbicon_folderdel"; label = "Delete"; },
             ),
             ( /* fourth group */