moving functions to separate file, adding configuration files
[squirrelmail.git] / plugins / change_password / setup.php
index 31b8bde6f933a55002f490e5a2d3566647a6970c..4301bea2b092b4dbc48a07f73563656f82b33603 100644 (file)
@@ -1,20 +1,31 @@
 <?php
 
-/*
- * Generic Change Password plugin
+/**
+ * setup.php - Generic Change Password plugin
+ *
+ * Copyright (c) 2003-2004 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This plugin aims to provide a general framework for all password
  * changing methods that currently have their own plugins.
  *
- * $Id $
+ * @version $Id$
+ * @package plugins
+ * @subpackage change_password
  */
 
+/**
+ * Plugin init function
+ */
 function squirrelmail_plugin_init_change_password() {
     global $squirrelmail_plugin_hooks;
 
     $squirrelmail_plugin_hooks['optpage_register_block']['change_password'] = 'change_password_optpage';
 }
 
+/**
+ * Add plugin option block
+ */
 function change_password_optpage() {
     global $optpage_blocks;
 
@@ -26,6 +37,11 @@ function change_password_optpage() {
     );
 }
 
+/**
+ * Return version information
+ * @return string version number
+ */
 function change_password_version() {
-    return '0.1';
+    return '0.2';
 }
+?>
\ No newline at end of file