Masato's Fix
[squirrelmail.git] / plugins / abook_take / setup.php
index f14ad2bdd5c1e9284ec8501c7f1223d3dbbf39ac..1130d9241e39649c81bca9203783eb5a4fa043c0 100755 (executable)
@@ -1,7 +1,10 @@
 <?php
 
 <?php
 
-   require_once('../functions/url_parser.php');
+/* Path for SquirrelMail required files. */
+define('SM_PATH','../../');
 
 
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'functions/url_parser.php');
 
 /* Address Take -- steals addresses from incoming email messages.  Searches
    the To, Cc, From and Reply-To headers, also searches the body of the
 
 /* Address Take -- steals addresses from incoming email messages.  Searches
    the To, Cc, From and Reply-To headers, also searches the body of the
@@ -156,11 +159,11 @@ function abook_take_options()
           '<input type="checkbox" name="abook_take_abook_take_hide"';
           if ($abook_take_hide)
             echo ' checked';
           '<input type="checkbox" name="abook_take_abook_take_hide"';
           if ($abook_take_hide)
             echo ' checked';
-          echo '>' . _("Hide the box") . '<br>' .
+          echo '>&nbsp;' . _("Hide the box") . '<br>' .
           '<input type=checkbox name="abook_take_abook_take_verify"';
           if ($abook_take_verify)
             echo ' checked';
           '<input type=checkbox name="abook_take_abook_take_verify"';
           if ($abook_take_verify)
             echo ' checked';
-          echo '>' . _("Try to verify addresses") . '</td></tr>';
+          echo '>&nbsp;' . _("Try to verify addresses") . '</td></tr>';
 }
 
 
 }