Index: talk.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/talk/talk.module,v
retrieving revision 1.6
diff -u -p -r1.6 talk.module
--- talk.module	24 Mar 2008 03:00:31 -0000	1.6
+++ talk.module	26 Aug 2008 18:38:16 -0000
@@ -36,6 +36,7 @@ function talk_menu() {
     'description' => t('Configure settings for the talk page.'),
     'page callback' => 'drupal_get_form',
     'page arguments' => array('talk_admin_form'),
+    'access arguments' => array('administer site configuration'),
   );
   return $items;
 }
@@ -107,13 +108,13 @@ function talk_link($type, $node = null, 
   if ($type == 'node' && talk_activated($node->type) && user_access('access comments')) {
     $result = array();
     if ($node->comment_count) {
-      $result['talk_view'] = array(
+      $result['comment_comments'] = array(
         'title' => t('@title page (@nr comments)', array('@nr' => $node->comment_count, '@title' => talk_title())),
         'href' => 'node/'. $node->nid .'/talk',
       );
     }
     elseif (_talk_node_comment_value($node) == COMMENT_NODE_READ_WRITE) {
-      $result['talk_view'] = array(
+      $result['comment_add'] = array(
         'title' => t('Add new comment'),
         'href' => "comment/reply/$node->nid",
       );
@@ -139,15 +140,6 @@ function talk_form_alter(&$form, $form_s
 }
 
 /**
- * Implementation of hook_link_alter().
- */
-function talk_link_alter(&$links, $node) {
-  if (talk_activated($node->type)) {
-    unset($links['comment_add']);
-  }
-}
-
-/**
  * Implementation of hook_comment()
  * Changing the destination to the talk page after posting a comment
  */
@@ -213,4 +205,4 @@ function template_preprocess_talkpage(&$
   $variables['redisplay'] = $redisplay;
   $variables['comment_link'] = $comment_link;
   $variables['comments'] = $comments;
-}
\ No newline at end of file
+}
