--- orig/yahoo_terms.module	2007-05-11 12:09:02.000000000 -0400
+++ yahoo_terms.module	2007-05-17 14:13:05.437500000 -0400
@@ -78,6 +78,10 @@ function yahoo_terms_text_get_keywords($
     $result = $result['ResultSet']['Result'];
   }
   $result = array_unique($result);
+  //merge in Global Blacklist
+  $global_blacklist = preg_split('/\r\n?|\n/', variable_get('yahoo_terms_global_blacklist',''));	
+  $blacklist = array_merge($blacklist, $global_blacklist);
+    
   // Drop the blacklist items
   if (count($blacklist) > 0) {
     foreach($result as $id => $term) {
@@ -198,6 +202,14 @@ function yahoo_terms_admin_settings() {
     '#required' => TRUE,
     '#default_value' => variable_get('yahoo_terms_vocab', ''),
   );
+  
+	$form['yahoo_terms_global_blacklist'] = array(
+    '#title' => t('Global Blacklist'),
+    '#description' => t('Keywords that you never want to see returned (one per line)'),
+    '#type' => 'textarea',
+    '#required' => FALSE,
+    '#default_value' => variable_get('yahoo_terms_global_blacklist', ''),
+  );  
   return system_settings_form($form);
 }
 
