Index: hypergraph.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/hypergraph/hypergraph.module,v retrieving revision 1.17 diff -u -p -r1.17 hypergraph.module --- hypergraph.module 26 Oct 2007 19:04:09 -0000 1.17 +++ hypergraph.module 17 Jul 2008 03:45:51 -0000 @@ -1,438 +1,187 @@ '. t("Integration of Java hyperbolic tree geometry visualization developed at http://hypergraph.sourceforge.net/"). '
'; - break; - } - - return $output; -} // function hypergraph_help + switch ($section) { + case "admin/help#hypergraph": + $output = ''. t("Integration of Java hyperbolic tree geometry visualization developed at http://hypergraph.sourceforge.net/"). '
'; + break; + } + return $output; +} +/** + * Implementation of hook_perm(). + */ function hypergraph_perm() { + return array('access hypergraph'); +} -return array('access hypergraph'); #, 'administer hypergraph' - -} // function hypergraph_perm - - -function hypergraph_block($op='list', $delta=0) { - // listing of blocks, such as on the admin/block page - if ($op == "list") { - $block[0]["info"] = t("Hypergraph"); - return $block; - } else if ($op == 'view') { - // our block content - // content variable that will be returned for display - $block_content = ''; - - #$block_content .= l($links->title, 'node/'.$links->nid) . '