We're living in 2004 now... perl is your friend for these kinds of things :)
[squirrelmail.git] / plugins / change_password / setup.php
CommitLineData
27663afe 1<?php
2
3/*
4 * Generic Change Password plugin
5 *
6 * This plugin aims to provide a general framework for all password
7 * changing methods that currently have their own plugins.
8 *
9 * $Id $
10 */
11
12function squirrelmail_plugin_init_change_password() {
13 global $squirrelmail_plugin_hooks;
14
15 $squirrelmail_plugin_hooks['optpage_register_block']['change_password'] = 'change_password_optpage';
16}
17
18function change_password_optpage() {
19 global $optpage_blocks;
20
21 $optpage_blocks[] = array(
22 'name' => _("Change Password"),
23 'url' => '../plugins/change_password/options.php',
24 'desc' => _("Use this to change your email password."),
25 'js' => FALSE
26 );
27}
28
29function change_password_version() {
30 return '0.1';
31}