? expressinstall.swf ? swfobject.js ? swfobject1-5 ? swfobject_api.6.x.patch ? translations 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 8 Jul 2008 04:53:52 -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.11 diff -u -p -r1.11 swfobject_api.module --- swfobject_api.module 29 Jun 2007 14:48:13 -0000 1.11 +++ swfobject_api.module 8 Jul 2008 04:53:52 -0000 @@ -1,16 +1,15 @@ 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 nodes'), - '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; } @@ -132,4 +139,4 @@ function theme_swfobject_api($url, $para return $html; } - \ No newline at end of file +