--- google_cse.module	2007-07-31 19:48:53.000000000 -0700
+++ google_cseNew.module	2008-06-21 13:27:48.571600000 -0700
@@ -64,6 +64,22 @@ function google_cse_admin_settings() {
     '#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', NULL),
+  );
+  $form['google_cse_results_postfix'] = array(
+    '#title' => t('Postfix 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_postfix', NULL),
+  );
   $form['google_cse_searchbox_width'] = array(
     '#title' => t('Searchbox width'),
     '#type' => 'textfield',
@@ -221,7 +237,8 @@ function theme_google_cse_results() {
     'cx' => variable_get('google_cse_cx', ''),
     'cof' => 'FORID:0',
   );
-  $output = drupal_get_form('google_cse_results_searchbox_form');
+  $output = t(variable_get('google_cse_results_prefix', NULL));
+  $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))));
@@ -237,6 +254,7 @@ function theme_google_cse_results() {
     //]]>
     </script>
     <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>';
+  $output .= t(variable_get('google_cse_results_postfix', NULL));
   return $output;
 }
 
