Source for file setup.php
Documentation is available at setup.php
* Copyright (c) 2000 by Michael Huttinger
* Quite a hack -- but my first attempt at a plugin. We were
* looking for a way to play a sound when there was unseen
* messages to look at. Nice for users who keep the squirrel
* mail window up for long periods of time and want to know
* Basically, I hacked much of left_main.php into a plugin that
* goes through each mail folder and increments a flag if
* there are unseen messages. If the final count of unseen
* folders is > 0, then we play a sound (using the HTML at the
* far end of this script).
* This was tested with IE5.0 - but I hear Netscape works well,
* @copyright © 1999-2006 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: setup.php,v 1.39 2006/07/15 12:01:18 tokul Exp $
global $squirrelmail_plugin_hooks;
$squirrelmail_plugin_hooks['folder_status']['newmail'] =
'newmail_folder_status';
$squirrelmail_plugin_hooks['left_main_after']['newmail'] =
'newmail_plugin';
$squirrelmail_plugin_hooks['optpage_register_block']['newmail'] =
'newmail_optpage_register_block';
$squirrelmail_plugin_hooks['options_save']['newmail'] =
'newmail_sav';
$squirrelmail_plugin_hooks['loading_prefs']['newmail'] =
'newmail_pref';
$squirrelmail_plugin_hooks['optpage_set_loadinfo']['newmail'] =
'newmail_set_loadinfo';
* Register newmail option block
include_once(SM_PATH .
'plugins/newmail/functions.php');
* Save newmail plugin settings
include_once(SM_PATH .
'plugins/newmail/functions.php');
* Load newmail plugin settings
include_once(SM_PATH .
'plugins/newmail/functions.php');
* Used by option page when saving settings.
include_once(SM_PATH .
'plugins/newmail/functions.php');
* Insert needed data in left_main
include_once(SM_PATH .
'plugins/newmail/functions.php');
Documentation generated on Sat, 07 Oct 2006 16:13:32 +0300 by phpDocumentor 1.3.0RC6