--- trackback.module	Fri Jul 22 20:01:58 2005+++ trackback.module.new	Wed Aug 10 08:52:30 2005@@ -415,15 +415,16 @@   if (module_exist('spam')) {
     $operations['trackback_spam_admin_mark_spam'] = t('Mark the selected trackbacks as spam');
     $operations['trackback_spam_admin_mark_notspam'] = t('Mark the selected trackbacks as not spam');
+
+    if ($type == 'new') {
+      $operations['trackback_spam_admin_unpublish'] = t('Unpublish the selected trackbacks');
+    }
+    else {
+      $operations['trackback_spam_admin_publish'] = t('Publish the selected trackbacks');
+    }
+    $operations['trackback_spam_delete_spam'] = t('Delete the selected trackbacks (no confirmation)');
   }
-  if ($type == 'new') {
-    $operations['trackback_spam_admin_unpublish'] = t('Unpublish the selected trackbacks');
-  }
-  else {
-    $operations['trackback_spam_admin_publish'] = t('Publish the selected trackbacks');
-  }
-  $operations['trackback_spam_delete_spam'] = t('Delete the selected trackbacks (no confirmation)');
-  
+
   $form  = form_select(NULL, 'operation', 0, $operations, NULL, ($disabled ? 'disabled="disabled"' : ''));
   $form .= form_submit(t('Update trackbacks'), 'op', ($disabled ? array('disabled' => 'disabled') : array()));
   $form  = form(form_group(t('Update options'), "<div class=\"container-inline\">". $form ."</div>") . theme('table', $header, $rows));
