瀏覽代碼

No one objected, so here's a new hook

pdontthink 22 年之前
父節點
當前提交
526100af3a
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/left_main.php

+ 4 - 0
src/left_main.php

@@ -100,6 +100,10 @@ function formatMailboxName($imapConnection, $box_array) {
                     "&nbsp;&nbsp;(<A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</A>)" .
                     "</small>";
         }
+    } else {
+        $line .= concat_hook_function('left_main_after_each_folder',
+                                      array(isset($numMessages) ? $numMessages : '',
+                                            $real_box, $imapConnection));
     }
 
     /* Return the final product. */