add labels to make checkboxes better clickable
[squirrelmail.git] / plugins / squirrelspell / modules / enc_setup.mod
index b467549ed2741db8b72877502a592b0edfb8736f..8805a8b157437b5e9de0716bd9f96731e750e4bd 100644 (file)
@@ -1,16 +1,16 @@
 <?php
+
 /**
  * enc_setup.mod
- * --------------
- * Squirrelspell module
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Squirrelspell module
  *
  * This module shows the user a nice invitation to encrypt or decypt
  * his/her personal dictionary and explains the caveats of such a decision.
  *
- * @author Konstantin Riabitsev <icon@duke.edu>
+ * @author Konstantin Riabitsev <icon at duke.edu>
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage squirrelspell
@@ -61,9 +61,9 @@ if ($crypted){
         . '<form method="post" onsubmit="return checkMe()">'
         . '<input type="hidden" name="MOD" value="crypto" />'
         . '<p align="center"><input type="checkbox" name="action" '
-        . 'value="decrypt" /> '
+        . 'value="decrypt" id="action_decrypt" /> <label for="action_decrypt">'
         . _("Please decrypt my personal dictionary and store it in a clear-text format." )
-        . '</p>'
+        . '</label></p>'
         . '<p align="center"><input type="submit" value=" '
         . _("Change crypto settings")
         . ' " /></p>'
@@ -86,9 +86,9 @@ if ($crypted){
         . '<form method="post" onsubmit="return checkMe()">'
         . '<input type="hidden" name="MOD" value="crypto" />'
         . '<p align="center"><input type="checkbox" name="action" '
-        . 'value="encrypt" /> '
+        . 'value="encrypt" id="action_encrypt" /> <label for="action_encrypt">'
         . _("Please encrypt my personal dictionary and store it in an encrypted format.")
-        . '</p>'
+        . '</label></p>'
         . '<p align="center"><input type="submit" value=" '
         . _("Change crypto settings") . ' " /></p>'
         . '</form>';
@@ -103,5 +103,3 @@ sqspell_makePage(_("Personal Dictionary Crypto Settings"),
  * End:
  * vim: syntax=php
  */
-
-?>
\ No newline at end of file