### Eclipse Workspace Patch 1.0
#P google_cse_5
Index: google_cse.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/google_cse/Attic/google_cse.module,v
retrieving revision 1.1.2.13
diff -u -r1.1.2.13 google_cse.module
--- google_cse.module	24 Jun 2008 04:31:38 -0000	1.1.2.13
+++ google_cse.module	26 Jun 2008 22:14:46 -0000
@@ -64,6 +64,22 @@
     '#description' => t('Enter the desired title of the page where the search results will be displayed. This has no effect if you do not display results on your own site.'),
     '#default_value' => variable_get('google_cse_results_title', t('Search')),
   );
+  $form['google_cse_results_prefix'] = array(
+    '#title' => t('Prefix text'),
+    '#type' => 'textarea',
+    '#cols' => 50,
+    '#rows' => 4,
+    '#description' => t('Enter the text to appear before the search form.'),
+    '#default_value' => variable_get('google_cse_results_prefix', ''),
+  );
+  $form['google_cse_results_suffix'] = array(
+    '#title' => t('Suffix text'),
+    '#type' => 'textarea',
+    '#cols' => 50,
+    '#rows' => 4,
+    '#description' => t('Enter the text to appear after the search form.'),
+    '#default_value' => variable_get('google_cse_results_suffix', ''),
+  );
   $form['google_cse_searchbox_width'] = array(
     '#title' => t('Searchbox width'),
     '#type' => 'textfield',
@@ -305,7 +321,8 @@
     'cx' => variable_get('google_cse_cx', ''),
     'cof' => 'FORID:0',
   ) + google_cse_advanced_settings();
-  $output = drupal_get_form('google_cse_results_searchbox_form');
+  $output = filter_xss_admin(variable_get('google_cse_results_prefix', ''));
+  $output .= drupal_get_form('google_cse_results_searchbox_form');
   $output .= '<div id="google-cse-results">';
   $output .= '<noscript>';
   $output .= t('!google, or enable JavaScript to view them here.', array('!google' => l(t('View the results at Google'), 'http://www.google.com/cse', NULL, drupal_query_string_encode($query))));
@@ -321,6 +338,7 @@
     //]]>
     </script>
     <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>';
+  $output .= filter_xss_admin(variable_get('google_cse_results_suffix', ''));
   return $output;
 }
 
