function opigno_tools_page in Opigno 7
Page callback for the tools page.
1 string reference to 'opigno_tools_page'
- opigno_menu in ./
opigno.module - Implements hook_menu().
File
- ./
opigno.module, line 557 - Contains all hook_implementations and module specific API.
Code
function opigno_tools_page($node) {
global $user;
foreach (opigno_get_node_tools($node, $user) as $tool) {
$tools[] = theme('opigno_tool', array(
'tool' => $tool,
'course' => $node,
));
}
return theme('opigno_tools', array(
'tools' => $tools,
'course' => $node,
));
}