includes/clientside/static/comments.js
changeset 74 68469a95658d
parent 29 e5484a9e0818
child 85 7c68a18a27be
--- a/includes/clientside/static/comments.js	Sat Jul 21 18:12:10 2007 -0400
+++ b/includes/clientside/static/comments.js	Wed Jul 25 18:06:34 2007 -0400
@@ -166,7 +166,10 @@
     }
   }
   
-  // Posting form
+  if ( data.auth_post_comments )
+  {
+    
+    // Posting form
   
     html += '<h3>Got something to say?</h3>';
     html += '<p>If you have comments or suggestions on this article, you can shout it out here.';
@@ -193,6 +196,8 @@
     html += '  </table>';
     html += '</div>';
     
+  }
+    
   document.getElementById('ajaxEditContainer').innerHTML = html;
   
   for ( i = 0; i < data.comments.length; i++ )