X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders.php;h=60a8861daa8d7a31b3524254d0aabbab09152bdc;hb=c8e4fe01e4a21c3ddafe003984f80ade45a6c092;hp=02bd5dd846194e8008c7cccb6b2bf2a0608917a0;hpb=301d19127a5b9d96337e8b5be57de87bc09e2853;p=squirrelmail.git diff --git a/src/folders.php b/src/folders.php index 02bd5dd8..60a8861d 100644 --- a/src/folders.php +++ b/src/folders.php @@ -6,12 +6,15 @@ * scripts which do most of the work. Also handles the Special * Folders. * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright © 1999-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail */ +/** This is the folders page */ +define('PAGE_NAME', 'folders'); + /** * Include the SquirrelMail initialization file. */ @@ -22,7 +25,7 @@ require_once(SM_PATH . 'functions/imap_general.php'); require_once(SM_PATH . 'functions/folder_manip.php'); require_once(SM_PATH . 'functions/forms.php'); -displayPageHeader($color, 'None'); +displayPageHeader($color); /* get globals we may need */ sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION); @@ -80,8 +83,8 @@ if ( sqgetGlobalVar('smaction', $action, SQ_POST) ) { $td_str = _("Unsubscribed successfully."); break; default: - // TODO: add hook for plugin action processing. - $td_str = ''; +// TODO: this is a new hook for plugin action processing that has not been TESTED. + $td_str = do_hook('folder_action', $action); break; } @@ -193,4 +196,3 @@ $oTemplate->assign('subbox_option_list', $subbox_option_list); $oTemplate->display('folder_manip.tpl'); $oTemplate->display('footer.tpl'); -?> \ No newline at end of file