From: p d. t. <pdo...@an...> - 2004-11-18 20:53:29
|
Greg Lobring wrote: > On Wed, 17 Nov 2004 15:20:58 -0800, p dont think > <pdo...@an...> wrote: > >>>Next to our "Trash" folder a "purge" button appears. Where would I find >>>the code for this? >> >>In src/left_main.php, search for "purge". >> >> >>>Has anyone created subfolders in the "TRASH" folder and put purge >>>buttons by those? >> >>Not that I know of... >> >> -Paul > > > It is indeed in src/left_main.php. > > I didn't like "purge" so changed it to say "empty". A little code > addition/modification would probably work to add it to any folder you > like. The trash folder is defined as $trash_folder and is a global > variable. Note that there *IS* a plugin that puts "empty" links next to any and all non-trash folders, but this request was, as I understood it, to be able to remove subfolders from the trash can entirely with one click, which said plugin does not do. Anyway, check this out if needed: http://www.squirrelmail.org/plugin_view.php?id=185 > Look for the section pre-commented by: > > /* If it's the trash folder, show a purge link when needed */ > |