root/alternc-procmail/tags/nightly_sarge/setup.php

Revision 1270, 0.7 kB (checked in by benjamin, 3 years ago)

correctifs en tout genre pour que procmail-builder marche sur squirrelmail 1.4 alternc 0.9.3/4 et sarge

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?php
2
3 require_once("config.php");
4
5 function squirrelmail_plugin_init_procmail_builder() {
6     global $squirrelmail_plugin_hooks;
7
8     $squirrelmail_plugin_hooks['optpage_register_block']['procmail_builder'] = 'procmail_builder_optpage_register_block';
9 }
10
11
12 function procmail_builder_optpage_register_block() {
13     global $optpage_blocks;
14     textdomain("procmail_builder");
15     $optpage_blocks[] = array(
16         'name' => _("Filter Messages"),
17         'url'  => '../plugins/procmail_builder/procmail_opt.php',
18         'desc' => _("This allow you to filter your incoming messages, setup a vacation autoreply, or filter spam with SpamAssassin"),
19         'js'   => false
20     );
21     textdomain("squirrelmail");
22 }
23
24
25 ?>
Note: See TracBrowser for help on using the browser.