X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ffilters%2Fsetup.php;h=7ad954a02337acbeb9392c8de32153e6d6862c9e;hb=4b4abf93a9624311afef0c385023724ee46a2b60;hp=2557f409adb774244efb742e01cc1204273a690a;hpb=15e6162eacc97158393bc75aed3afeb7b19c24a6;p=squirrelmail.git diff --git a/plugins/filters/setup.php b/plugins/filters/setup.php index 2557f409..7ad954a0 100644 --- a/plugins/filters/setup.php +++ b/plugins/filters/setup.php @@ -1,93 +1,61 @@ _("Message Filters"), - 'url' => '../plugins/filters/options.php', - 'desc' => _("Filtering enables messages with different criteria to be automatically filtered into different folders for easier organization."), - 'js' => false - ); +/** + * Called by hook to Update filters when Folders Change + * @access private + */ +function update_for_folder_hook($args) { + include_once(SM_PATH . 'plugins/filters/filters.php'); + update_for_folder ($args); +} - if ($AllowSpamFilters) { - $optpage_blocks[] = array( - 'name' => _("SPAM Filters"), - 'url' => '../plugins/filters/spamoptions.php', - 'desc' => _("SPAM filters allow you to select from various DNS based blacklists to detect junk email in your INBOX and move it to another folder (like Trash)."), - 'js' => false - ); - } - } -?> +?> \ No newline at end of file