Here's a snippet from a recent application...
/**
* Implementation of hook_menu().
*/
function foo_menu($may_cache) {
if ($may_cache) {
'path' => 'admin/settings/foo',
'title' => t('Foo settings'),
'callback' => 'system_admin_menu_block',
'position' => 'right',
'description' => 'Define Foo Module Settings',
'acces' => user_access('Access Foo Module'),
);
'title' => t('Foo Page'),
'path' => 'foo_video',
'callback' => 'foo_page',
'access' => TRUE,
);
}
}
Yes, this really was (bar the altering to foo) submitted in an application. I'm not even going to point out the errors here, they should be obvious. All I am going to say is make sure you've actually tested your own work before applying for a CVS account.
This just makes you look careless. Say no more.