|
Revision 1088, 0.6 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_alternc_changepass() { |
|---|
| 6 |
global $squirrelmail_plugin_hooks; |
|---|
| 7 |
|
|---|
| 8 |
$squirrelmail_plugin_hooks['optpage_register_block']['alternc_changepass'] = 'alternc_changepass_optpage_register_block'; |
|---|
| 9 |
} |
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
function alternc_changepass_optpage_register_block() { |
|---|
| 13 |
global $optpage_blocks; |
|---|
| 14 |
textdomain("changepass"); |
|---|
| 15 |
$optpage_blocks[] = array( |
|---|
| 16 |
'name' => _("Change Password"), |
|---|
| 17 |
'url' => '../plugins/alternc_changepass/change.php', |
|---|
| 18 |
'desc' => _("This allow you to change your mail password."), |
|---|
| 19 |
'js' => false |
|---|
| 20 |
); |
|---|
| 21 |
textdomain("squirrelmail"); |
|---|
| 22 |
} |
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
?> |
|---|
| 26 |
|
|---|