HTML fix
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 4 Jun 2005 21:46:06 +0000 (21:46 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 4 Jun 2005 21:46:06 +0000 (21:46 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9507 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/squirrelspell/modules/check_me.mod
plugins/squirrelspell/modules/crypto_badkey.mod
plugins/squirrelspell/modules/enc_setup.mod
plugins/squirrelspell/modules/forget_me.mod
plugins/squirrelspell/modules/lang_change.mod
plugins/squirrelspell/modules/options_main.mod
plugins/squirrelspell/setup.php

index 98e1c78f87b9295a5d36d384812b2aed98c46dfe..4ff9485c1e0b871df0f8c1ade091fc9ca22c58af 100644 (file)
@@ -389,23 +389,23 @@ if ($errors){
        <tr>
         <td colspan="4">
          <table border="0" cellpadding="0" cellspacing="3" width="100%">
        <tr>
         <td colspan="4">
          <table border="0" cellpadding="0" cellspacing="3" width="100%">
-              <tr align="center" bgcolor="<?php echo $color[9] ?>">
+          <tr align="center" bgcolor="<?php echo $color[9] ?>">
            <?php
            <?php
-              SpellLink('sqspellChange()',
-                  _("Change this word"),
-                  _("Change"));
-              SpellLink('sqspellChangeAll()',
-                  _("Change ALL occurances of this word"),
-                  _("Change All"));
-              SpellLink('sqspellIgnore()',
-                  _("Ignore this word"),
-                  _("Ignore"));
-              SpellLink('sqspellIgnoreAll()',
-                  _("Ignore ALL occurances this word"),
-                  _("Ignore All"));
-              SpellLink('sqspellRemember()',
-                  _("Add this word to your personal dictionary"),
-                  _("Add to Dic"));
+           SpellLink('sqspellChange()',
+                   _("Change this word"),
+                   _("Change"));
+         SpellLink('sqspellChangeAll()',
+                 _("Change ALL occurances of this word"),
+                 _("Change All"));
+         SpellLink('sqspellIgnore()',
+                 _("Ignore this word"),
+                 _("Ignore"));
+         SpellLink('sqspellIgnoreAll()',
+                 _("Ignore ALL occurances this word"),
+                 _("Ignore All"));
+         SpellLink('sqspellRemember()',
+                 _("Add this word to your personal dictionary"),
+                 _("Add to Dic"));
            ?>
           </tr>
          </table>
            ?>
           </tr>
          </table>
@@ -418,15 +418,15 @@ if ($errors){
         <td colspan="4" align="center" bgcolor="<?php echo $color[9] ?>">
          <?php
              echo '<input type="button" value="  '
         <td colspan="4" align="center" bgcolor="<?php echo $color[9] ?>">
          <?php
              echo '<input type="button" value="  '
-                . _("Close and Commit")
-                . '  " onclick="if (confirm(\''
-                . _("The spellcheck is not finished. Really close and commit changes?")
-                . '\')) sqspellCommitChanges()" />'
-                . ' <input type="button" value="  '
-                . _("Close and Cancel")
-                . '  " onclick="if (confirm(\''
-                . _("The spellcheck is not finished. Really close and discard changes?")
-                . '\')) self.close()" />';
+                 . _("Close and Commit")
+                 . '  " onclick="if (confirm(\''
+                 . _("The spellcheck is not finished. Really close and commit changes?")
+                 . '\')) sqspellCommitChanges()" />'
+                 . ' <input type="button" value="  '
+                 . _("Close and Cancel")
+                 . '  " onclick="if (confirm(\''
+                 . _("The spellcheck is not finished. Really close and discard changes?")
+                 . '\')) self.close()" />';
          ?>
         </td>
        </tr>
          ?>
         </td>
        </tr>
@@ -441,7 +441,7 @@ if ($errors){
   /**
    * AREN'T YOU SUCH A KNOW-IT-ALL!
    */
   /**
    * AREN'T YOU SUCH A KNOW-IT-ALL!
    */
-  $msg='<form onsubmit="return false"><div align="center">'.
+  $msg='<form onsubmit="return false"><div align="center">' .
        '<input type="submit" value="  ' . _("Close") .
        '  " onclick="self.close()" /></div></form>';
   sqspell_makeWindow(null, _("No errors found"), null, $msg);
        '<input type="submit" value="  ' . _("Close") .
        '  " onclick="self.close()" /></div></form>';
   sqspell_makeWindow(null, _("No errors found"), null, $msg);
@@ -454,4 +454,4 @@ if ($errors){
  * End:
  * vim: syntax=php et ts=4
  */
  * End:
  * vim: syntax=php et ts=4
  */
-?>
+?>
\ No newline at end of file
index e1ca3b42f84311ddeff89621226e6a8835eb1fc3..fd5a219c8cd6b064981e79394353b98f63374933 100644 (file)
@@ -84,10 +84,10 @@ function sqspell_dict_reencrypted() {
     sqspell_makePage(_("Successful re-encryption"), null, $msg);
   } else {
     $msg = '<p>'
     sqspell_makePage(_("Successful re-encryption"), null, $msg);
   } else {
     $msg = '<p>'
-      . _("Your personal dictionary was re-encrypted successfully. Please close this window and click \"Check Spelling\" button again to start your spellcheck over.")
-      . '</p><form><p align="center"><input type="button" value=" '
-      . _("Close this Window") . ' "'
-      . 'onclick="self.close()" /></p></form>';
+        . _("Your personal dictionary was re-encrypted successfully. Please close this window and click \"Check Spelling\" button again to start your spellcheck over.")
+        . '</p><form><p align="center"><input type="button" value=" '
+        . _("Close this Window") . ' "'
+        . 'onclick="self.close()" /></p></form>';
     sqspell_makeWindow(null, _("Dictionary re-encrypted"), null, $msg);
   }
   exit;
     sqspell_makeWindow(null, _("Dictionary re-encrypted"), null, $msg);
   }
   exit;
index ed1d1a138bb76aab710d5854dce4f92bebc58aad..b467549ed2741db8b72877502a592b0edfb8736f 100644 (file)
@@ -94,7 +94,7 @@ if ($crypted){
         . '</form>';
 }
 sqspell_makePage(_("Personal Dictionary Crypto Settings"),
         . '</form>';
 }
 sqspell_makePage(_("Personal Dictionary Crypto Settings"),
-    "crypto_settings.js", $msg);
+        "crypto_settings.js", $msg);
 
 /**
  * For Emacs weenies:
 
 /**
  * For Emacs weenies:
index e53e0d1d8ddde101fb2f3b009955f8cfda90a088..a81cfbe5d921a2c323815d69f0e86cad36348577 100644 (file)
@@ -60,7 +60,7 @@ if (! empty($words_ary)){
    * Click on some words first, Einstein!
    */
   sqspell_makePage(_("Personal Dictionary"), null,
    * Click on some words first, Einstein!
    */
   sqspell_makePage(_("Personal Dictionary"), null,
-      '<p>' . _("No changes requested.") . '</p>');
+          '<p>' . _("No changes requested.") . '</p>');
 }
 
 /**
 }
 
 /**
index 61d0b4936e7455dbd0f0328441590a7c4a9913e8..0b93a61ab485ea78458b98fd5a555369bd23ecf6 100644 (file)
@@ -67,7 +67,7 @@ if (sizeof($new_langs)>1) {
 sqspell_saveSettings($new_langs);
 
 sqspell_makePage(_("International Dictionaries Preferences Updated"),
 sqspell_saveSettings($new_langs);
 
 sqspell_makePage(_("International Dictionaries Preferences Updated"),
-    null, $msg);
+        null, $msg);
 
 /**
  * For Emacs weenies:
 
 /**
  * For Emacs weenies:
index 3834a592d64aa221638093161fccf7166b2a9f40..8b1755a129f300ea8142bf3590830bae02586bde 100644 (file)
@@ -42,7 +42,7 @@ if (function_exists("mcrypt_generic")) {
 } else {
   $msg .= '<li>'
     . _("Personal dictionary encryption options are not available") 
 } else {
   $msg .= '<li>'
     . _("Personal dictionary encryption options are not available") 
-    . ')</em></li>';
+    . '</li>';
 }
 $msg .= "</ul>\n";
 sqspell_makePage( _("SquirrelSpell Options Menu"), null, $msg);
 }
 $msg .= "</ul>\n";
 sqspell_makePage( _("SquirrelSpell Options Menu"), null, $msg);
index a404a6243a8e7d1823f813256a6ca9642c714ed1..898fa0682bb5b798061d32bc3e27a9ace50ee910 100644 (file)
@@ -18,23 +18,25 @@ if (! defined('SM_PATH')) define('SM_PATH','../../');
 
 /**
  * Standard SquirrelMail plugin initialization API.
 
 /**
  * Standard SquirrelMail plugin initialization API.
+ *
  * @return void
  */
 function squirrelmail_plugin_init_squirrelspell() {
   global $squirrelmail_plugin_hooks;
   $squirrelmail_plugin_hooks['compose_button_row']['squirrelspell'] =
  * @return void
  */
 function squirrelmail_plugin_init_squirrelspell() {
   global $squirrelmail_plugin_hooks;
   $squirrelmail_plugin_hooks['compose_button_row']['squirrelspell'] =
-    'squirrelspell_setup';
+      'squirrelspell_setup';
   $squirrelmail_plugin_hooks['optpage_register_block']['squirrelspell'] =
   $squirrelmail_plugin_hooks['optpage_register_block']['squirrelspell'] =
-    'squirrelspell_optpage_register_block';
+      'squirrelspell_optpage_register_block';
   $squirrelmail_plugin_hooks['options_link_and_description']['squirrelspell'] =
   $squirrelmail_plugin_hooks['options_link_and_description']['squirrelspell'] =
-    'squirrelspell_options';
+      'squirrelspell_options';
   $squirrelmail_plugin_hooks['right_main_after_header']['squirrelspell'] =
   $squirrelmail_plugin_hooks['right_main_after_header']['squirrelspell'] =
-    'squirrelspell_upgrade';
+      'squirrelspell_upgrade';
 }
 
 /**
  * This function formats and adds the plugin and its description to the
  * Options screen.
 }
 
 /**
  * This function formats and adds the plugin and its description to the
  * Options screen.
+ *
  * @return void
  */
 function squirrelspell_optpage_register_block() {
  * @return void
  */
 function squirrelspell_optpage_register_block() {
@@ -59,6 +61,7 @@ function squirrelspell_optpage_register_block() {
 /**
  * This function adds a "Check Spelling" link to the "Compose" row
  * during message composition.
 /**
  * This function adds a "Check Spelling" link to the "Compose" row
  * during message composition.
+ *
  * @return void
  */
 function squirrelspell_setup() {
  * @return void
  */
 function squirrelspell_setup() {
@@ -127,4 +130,5 @@ function squirrelspell_upgrade() {
 function squirrelspell_version() {
   return '0.5cvs';
 }
 function squirrelspell_version() {
   return '0.5cvs';
 }
+
 ?>
\ No newline at end of file
 ?>
\ No newline at end of file