|
Revision 1262, 0.7 kB
(checked in by anonymous, 4 years ago)
|
Initial revision
|
- 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 |
?> |
|---|