? invisimail-d5_0.patch
? modules
Index: README.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/invisimail/README.txt,v
retrieving revision 1.1
diff -u -r1.1 README.txt
--- README.txt	28 Mar 2006 04:10:35 -0000	1.1
+++ README.txt	25 May 2007 14:35:50 -0000
@@ -1,14 +1,14 @@
 REQUIREMENTS
 ------------
 
-Drupal 4.7+
+Drupal 5
 
 INSTALL
 -------
 
-1. Copy the invisimail.module file to your Drupal modules directory
-2. Activate the module at administer -> modules
-3. Activate the filter at administer -> input formats
+1. Copy the invisimail.module file to your Drupal modules directory (e.g. sites/default/modules or sites/all/modules) as appropriate
+2. Activate the module at Administer -> Site building -> Modules
+3. Activate the filter at Administer -> Site configuration -> Input formats
    and click configure for the input format where you want to add the invisimail filter
 4. Optionally configure the filter settings by clicking the configure
    tab on the input format screen where the "Encode email addresses" box is checked
\ No newline at end of file
Index: invisimail.info
===================================================================
RCS file: invisimail.info
diff -N invisimail.info
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ invisimail.info	25 May 2007 14:35:50 -0000
@@ -0,0 +1,4 @@
+name = invisimail
+description = Attempts to thwart spam-bots by encoding email addresses.
+dependencies = filter
+version = "5.x-1.x"
Index: invisimail.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/invisimail/invisimail.module,v
retrieving revision 1.2
diff -u -r1.2 invisimail.module
--- invisimail.module	28 Mar 2006 04:10:35 -0000	1.2
+++ invisimail.module	25 May 2007 14:35:50 -0000
@@ -15,13 +15,6 @@
  */
 function invisimail_help($section) {
   switch ($section) {
-    case 'admin/modules#description':
-      // This description is shown in the listing at admin/modules.
-      $output = t('Attempts to thwart spam-bots by encoding email addresses.');
-      if (module_exist('invisimail')) {
-        $output .= t(' <a href="%url">more help</a>', array('%url' => url('admin/help/invisimail')));
-      }
-      return $output;
     case 'admin/help#invisimail':
       return t('<p>The invisimail module privides a filter to hide email addresses from email harvesting spam-bots.</p><p>How it works: Invisimail scans content for email addresses and then converts each character of the address to its ASCII-code equivalent. The email address will appear normally on the page, but the source html will not appear as an email address. For even more security, the filter can use a JavaScript write command to further obscure the email address.</p><p>For example:<br /><i>you@example.com</i> will appear in the html source as: <div style="font-family:courier;border:1px solid #666;padding: 5px">&amp;#121;&amp;#111;&amp;#117;&amp;#64;&amp;#101;&amp;#120;&amp;#97;&amp;#109;&amp;#112;&amp;#108;&amp;#101;&amp;#46;&amp;#99;&amp;#111;&amp;#109;</div></p><p>With the JavaScript and Auto-link options enabled, the source would become: <div style="font-family:courier;border:1px solid #666;padding: 5px">&lt;script type=\'text/javascript\'&gt;&lt;!--<br />
 document.write(\'&lt;a href= "&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#116;&amp;#111;&amp;#58;\' + \'&amp;#121;&amp;#111;&amp;#117;&amp;#64;\' + \'&amp;#101;&amp;#120;&amp;#97;&amp;#109;&amp;#112;&amp;#108;&amp;#101;&amp;#46;\' + \'&amp;#99;&amp;#111;&amp;#109;\' + \'"&gt;\' + \'&amp;#121;&amp;#111;&amp;#117;&amp;#64;\' + \'&amp;#101;&amp;#120;&amp;#97;&amp;#109;&amp;#112;&amp;#108;&amp;#101;&amp;#46;\' + \'&amp;#99;&amp;#111;&amp;#109;\' + \'&lt;/a&gt;\');<br />
@@ -54,9 +47,7 @@
   }
 
   switch ($delta) {
-
     case 0:
-
       switch ($op) {
         case 'description':
           return t('Hide email addresses from spam-bots.');
