summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-04-06 13:07:22 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-04-06 13:07:22 +0000
commitcfe001af7a26926f02672275dcd516841fc1b985 (patch)
tree938e2bde84787a01e8d5932cf587a1dccb77b30a /modules/system
parentbe0b774cbcae15a664eff0f308b436aabd6f3dd0 (diff)
downloadbrdo-cfe001af7a26926f02672275dcd516841fc1b985.tar.gz
brdo-cfe001af7a26926f02672275dcd516841fc1b985.tar.bz2
#56457: Allow different search forms to coexist without breaking validation
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module19
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index ae7d2580d..54182afaa 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1211,25 +1211,6 @@ function system_theme_settings($key = '') {
}
/**
- * Output a search form.
- */
-function search_box($path = NULL) {
- $form['keys'] = array('#type' => 'textfield', '#size'=> 15, '#default_value' => '', '#attributes' => array('alt' => t('Enter the terms you wish to search for.')));
- $form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
- return drupal_get_form('search_box', $form);
-}
-
-/**
- * Theme a search form.
- */
-function theme_search_box($form) {
- $output = '<div id="search" class="container-inline">';
- $output .= form_render($form);
- $output .= '</div>';
- return $output;
-}
-
-/**
* Output a confirmation form
*
* This function outputs a complete form for confirming an action. A link is