Posted by paparts on June 26, 2009 at 3:22pm
Jump to:
| Project: | Spry Framework |
| Version: | 5.x-1.x-dev |
| Component: | Spry Module |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Issue Summary
Hi,
Do you have an updated module of spry menu?
Comments
#1
Unfortunately not. If anyone submits any patches or anything though, I'd be more then happy to commit them.
#2
<?phpdiff -x spry -x '\.svn' -Naur /tmp/spry/spry.module spry/spry.module
--- /tmp/spry/spry.module 2007-07-23 21:36:18.000000000 +0200
+++ spry/spry.module 2010-02-03 20:55:57.000000000 +0100
@@ -43,13 +43,12 @@
*/
function spry_menu() {
$items = array();
- $items[] = array(
- 'path' => 'admin/settings/spry',
- 'title' => t('Spry'),
- 'description' => t('Configuration settings for the Spry Framework'),
- 'callback' => 'drupal_get_form',
- 'callback arguments' => 'spry_admin',
- 'access' => user_access('access administration pages'),
+ $items['admin/settings/spry'] = array(
+ 'title' => 'Spry',
+ 'description' => 'Configuration settings for the Spry Framework',
+ 'page callback' => 'drupal_get_form',
+ 'page arguments' => array('spry_admin_settings'),
+ 'access arguments' => array('administer site configuration'),
'type' => MENU_NORMAL_ITEM,
);
return $items;
?>
Contributed by jarl.