diff -u nofollowlist/nofollowlist.info nofollowlist-new/nofollowlist.info --- nofollowlist/nofollowlist.info 2007-07-11 15:05:14.000000000 -0400 +++ nofollowlist-new/nofollowlist.info 2008-03-01 01:10:18.000000000 -0500 @@ -4,7 +4,8 @@ ; Information added by drupal.org packaging script on 2007-07-11 -version = "5.x-1.1" +version = "6.x-1.x" +core = "6.x" project = "nofollowlist" datestamp = "1184180714" diff -u nofollowlist/nofollowlist.module nofollowlist-new/nofollowlist.module --- nofollowlist/nofollowlist.module 2007-07-11 14:59:13.000000000 -0400 +++ nofollowlist-new/nofollowlist.module 2008-03-01 01:13:15.000000000 -0500 @@ -4,14 +4,14 @@ /** * Implementation of hook_menu() */ -function nofollowlist_menu($may_cache) { - $items[] = array( - 'path' => 'admin/settings/nofollowlist', - 'title' => t('Nofollowlist'), - 'description' => t('Add sites to the nofollowlist and determine whether links to those sites are followable or not.'), - 'callback' => 'drupal_get_form', - 'callback arguments' => array('nofollowlist_settings_form'), - 'access' => user_access('administer nofollowlist'), +function nofollowlist_menu() { + $items['admin/settings/nofollowlist'] = array( + 'title' => 'Nofollowlist', + 'description' => 'Add sites to the nofollowlist and determine whether links to those sites are followable or not.', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('nofollowlist_settings_form'), + 'access callback' => 'user_access', + 'access arguments' => array('administer nofollowlist'), ); return $items; @@ -57,8 +57,8 @@ * @return string * The help text */ -function nofollowlist_help($section) { - switch ($section) { +function nofollowlist_help($path, $arg) { + switch ($path) { case 'admin/help#nofollowlist': $output = '
'. t('This module implements a simple filter to add the nofollow tag to sites that are on your blacklist or to all sites except those on your whitelist.') .'
'; return $output; @@ -77,7 +77,7 @@ * The tip to be displayed */ function nofollowlist_filter_tips($delta, $format, $long = false) { - $output .= ''. t('Links to specified hosts will have a rel="nofollow" added to them.'). "
\n"; + $output .= ''. t('Links to specified hosts will have a rel="nofollow" added to them.') ."
\n"; return $output; } @@ -147,4 +147,4 @@ } return $link; -} \ No newline at end of file +}