X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fleft_main.php;h=985de4b48afd6a2180898e77dcbbbb159a6a477f;hb=ecaf63527e8e4fea88480a896813419b3f5cefb5;hp=e716ecc82ec6ba32b9dcc8b0475679e4a55aa7c8;hpb=6c8fee24ea96faa3305b740e590858fd4fc8d4a1;p=squirrelmail.git
diff --git a/src/left_main.php b/src/left_main.php
index e716ecc8..985de4b4 100644
--- a/src/left_main.php
+++ b/src/left_main.php
@@ -178,6 +178,10 @@ function create_collapse_link($boxnum) {
}
$link .= '';
+ $hooklink = do_hook_function('create_collapse_link',$link);
+ if ($hooklink != '')
+ $link = $hooklink;
+
/* Return the finished product. */
return ($link);
}
@@ -513,14 +517,14 @@ function ListAdvancedBoxes ($boxes, $mbx, $j='ID.0000' ) {
if (!$boxes->is_root) {
if ($use_folder_images) {
if ($boxes->is_inbox) {
- $folder_img = '../images/inbox.gif';
+ $folder_img = '../images/inbox.png';
} else if ($boxes->is_sent) {
- $folder_img = '../images/senti.gif';
+ $folder_img = '../images/senti.png';
} else if ($boxes->is_trash) {
- $folder_img = '../images/delitem.gif';
+ $folder_img = '../images/delitem.png';
} else if ($boxes->is_draft) {
- $folder_img = '../images/draft.gif';
- } else $folder_img = '../images/folder.gif';
+ $folder_img = '../images/draft.png';
+ } else $folder_img = '../images/folder.png';
$folder_img = ' ';
} else $folder_img = '';
if (!isset($boxes->mbxs[0])) {
@@ -545,9 +549,9 @@ function ListAdvancedBoxes ($boxes, $mbx, $j='ID.0000' ) {
$collapse = ($collapse == '' ? SM_BOX_UNCOLLAPSED : $collapse);
}
if ($collapse) {
- $link = ''." ";
+ $link = ''." ";
} else {
- $link = ''."";
+ $link = ''."";
}
$collapse_link = $link;
} else $collapse_link='';
@@ -644,12 +648,12 @@ $xtra .= <<