diff -rup secondlife/samples/sltest.info temp/secondlife/samples/sltest.info --- secondlife/samples/sltest.info 2008-03-08 20:35:10.000000000 +0100 +++ temp/secondlife/samples/sltest.info 2008-12-14 19:28:18.000000000 +0100 @@ -1,12 +1,5 @@ -; $Id: sltest.info,v 1.3 2007/11/28 15:46:08 kbahey Exp $ name = Second Life test description = Second Life test and demo -dependencies = secondlife -package = -version = "$Name: DRUPAL-5--1-0 $" - -; Information added by drupal.org packaging script on 2008-03-08 -version = "5.x-1.0" -project = "secondlife" -datestamp = "1205004910" - +dependencies[] = secondlife +package = secondlife +core = 6.x \ No newline at end of file diff -rup secondlife/samples/sltest.module temp/secondlife/samples/sltest.module --- secondlife/samples/sltest.module 2007-11-28 16:46:08.000000000 +0100 +++ temp/secondlife/samples/sltest.module 2008-12-14 18:52:21.000000000 +0100 @@ -9,6 +9,7 @@ function sltest_help($section) { case 'admin/help#sltest': $output = '

'. t('Second Life test') .'

'; return $output; + break; } } diff -rup secondlife/secondlife.info temp/secondlife/secondlife.info --- secondlife/secondlife.info 2008-03-08 20:35:10.000000000 +0100 +++ temp/secondlife/secondlife.info 2008-12-14 19:29:27.000000000 +0100 @@ -1,11 +1,4 @@ -; $Id: secondlife.info,v 1.3 2007/11/28 15:46:08 kbahey Exp $ name = SecondLife Library description = SecondLife library integration -package = -version = "$Name: DRUPAL-5--1-0 $" - -; Information added by drupal.org packaging script on 2008-03-08 -version = "5.x-1.0" -project = "secondlife" -datestamp = "1205004910" - +package = secondlife +core = 6.x \ No newline at end of file diff -rup secondlife/secondlife.module temp/secondlife/secondlife.module --- secondlife/secondlife.module 2007-11-28 16:46:08.000000000 +0100 +++ temp/secondlife/secondlife.module 2008-12-14 19:57:39.000000000 +0100 @@ -1,6 +1,4 @@ '. t('SecondLife integration library') .'

'; return $output; + break; } } /** * Implementation of hook_menu(). */ -function secondlife_menu($may_cache) { - $items = array(); - - if ($may_cache) { - $items[] = array( - 'path' => 'admin/settings/secondlife', - 'title' => t('Second Life'), - 'description' => t('Settings for the Second Life Framework module.'), - 'callback' => 'drupal_get_form', - 'callback arguments' => array('secondlife_settings'), - 'access' => user_access('administer site configuration'), - 'type' => MENU_NORMAL_ITEM, - ); - - $items[] = array( - 'path' => 'secondlife', - 'callback' => 'secondlife_request', - 'access' => TRUE, - ); - } +function secondlife_menu() { + $items['admin/settings/secondlife'] = array( + 'title' => t('Second Life'), + 'description' => t('Settings for the Second Life Framework module.'), + 'page callback' => 'drupal_get_form', + 'page arguments' => array('secondlife_settings'), + 'access arguments' => array('administer site configuration'), + 'type' => MENU_NORMAL_ITEM, + ); + + $items['secondlife'] = array( + 'page callback' => 'secondlife_request', + 'access callback' => TRUE, + 'type' => MENU_LOCAL_TASK + ); return $items; }