? expressinstall.swf ? swfobject.js ? swfobject.zip ? swfobject1-5 ? swfobject_api.6.x.6.patch Index: swfobject_api.info =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/swfobject_api/swfobject_api.info,v retrieving revision 1.1 diff -u -p -r1.1 swfobject_api.info --- swfobject_api.info 25 Jan 2007 17:38:38 -0000 1.1 +++ swfobject_api.info 31 Jul 2008 18:31:34 -0000 @@ -1,3 +1,4 @@ ; $Id$ name = SWFObject Module description = Implements the SWFObject Library, makes it easy for developers to add flash content +core = 6.x Index: swfobject_api.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/swfobject_api/swfobject_api.module,v retrieving revision 1.2.2.20 diff -u -p -r1.2.2.20 swfobject_api.module --- swfobject_api.module 24 Jun 2008 12:33:39 -0000 1.2.2.20 +++ swfobject_api.module 31 Jul 2008 18:31:34 -0000 @@ -8,9 +8,8 @@ /** * Implementation of hook_help() */ -function swfobject_api_help($section) { - $output = ''; - switch ($section) { +function swfobject_api_help($path, $arg) { + switch ($path) { case 'admin/help#swfobject_api': case 'admin/settings/swfobject_api': return t('This module creates an API for flash content generation in pages based on the swfObject library. For more information, visit http://blog.deconcept.com/swfobject/.'); @@ -19,22 +18,30 @@ function swfobject_api_help($section) { } } +/** + * Implementation of hook_theme(). + */ +function swfobject_api_theme() { + return array( + 'swfobject_api' => array( + 'arguments' => array('url' => NULL, 'params' => NULL, 'vars' => NULL), + ), + ); +} + /** * Implementation of hook_menu(). */ -function swfobject_api_menu($may_cache) { +function swfobject_api_menu() { $items = array(); - if ($may_cache) { - $items[] = array( - 'path' => 'admin/settings/swfobject_api', - 'title' => t('SWFObject API'), - '#description' => t('Configure the SWFObject API.'), - 'access' => user_access('administer swfobject_api'), - 'callback' => 'drupal_get_form', - 'callback arguments' => 'swfobject_api_settings_form' - ); - } + $items['admin/settings/swfobject_api'] = array( + 'title' => 'SWFObject API', + '#description' => 'Configure the SWFObject API.', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('swfobject_api_settings_form'), + 'access arguments' => array('administer nodes'), + ); return $items; }