? .DS_Store
? node-name-ux.patch
? skip-approval.patch
Index: usercomment.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/usercomment/usercomment.module,v
retrieving revision 1.5.4.4
diff -u -p -r1.5.4.4 usercomment.module
--- usercomment.module	3 Feb 2010 21:07:58 -0000	1.5.4.4
+++ usercomment.module	23 Nov 2010 20:47:42 -0000
@@ -227,16 +227,14 @@ function usercomment_user($op, &$edit, &
     if ($category == "account") {
       $form = array();
       foreach (node_get_types() as $node) {
-        if (user_access('create '. $node->type .' content', $account)) {
-          if ((user_access('approve comments on own '. $node->type .' content', $account)) || (user_access('administer comments on own content'))) {
+        if ((user_access('approve comments on own '. $node->type .' content', $account)) || (user_access('administer comments on own content'))) {
 
-            $form['usercomment_settings']['usercomment_approve_'. $node->type] = array(
-              '#type'          => 'checkbox',
-              '#title'         => t('Skip '. $node->type .' approvals'),
-              '#default_value' => isset($edit['usercomment_approve_'. $node->type]) ? $edit['usercomment_approve_'. $node->type] : 1,
-              '#description'   => t('If you check this, other non admin users will be able to post comments on your content without prior approval. Admin users, however, will be able to post comments without approval.'),
-            );
-          }
+          $form['usercomment_settings']['usercomment_approve_'. $node->type] = array(
+            '#type'          => 'checkbox',
+            '#title'         => t('Skip '. $node->name .' approvals'),
+            '#default_value' => isset($edit['usercomment_approve_'. $node->type]) ? $edit['usercomment_approve_'. $node->type] : 1,
+            '#description'   => t('If you check this, other non admin users will be able to post comments on your content without prior approval. Admin users, however, will be able to post comments without approval.'),
+          );
         }
       }
       // if user has approval rights, put the settings in a fieldset and
