Index: indexpage.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/indexpage/indexpage.module,v
retrieving revision 1.5
diff -u -r1.5 indexpage.module
--- indexpage.module	5 May 2005 13:37:53 -0000	1.5
+++ indexpage.module	12 Jun 2005 01:05:37 -0000
@@ -139,9 +139,11 @@
   }
 
   /* Operations for this node type */
-  $output .= '<h3>'.t("Operations").'</h3>';
-  $output .= l(t("Create a new entry"), "node/add/".$type);
-  
+  if (node_access('create', $type)) {
+    $output .= '<h3>'.t("Operations").'</h3>';
+    $output .= l(t("Create a new entry"), "node/add/".$type);
+  }
+
   print theme("page", $output);
 }
 
