- Patch #28159 by chx: removed some dead code from the search module's form.
parent
53872d2396
commit
ed7256f37a
|
@ -744,7 +744,7 @@ function node_search($op = 'search', $keys = null) {
|
|||
|
||||
// Node types
|
||||
$types = node_get_types();
|
||||
$form['advanced']['type'] = array('#type' => 'checkboxes', '#title' => t('Only of the type'), '#prefix' => '<div class="criterium">', '#suffix' => '</div>', '#options' => $types, '#multiple' => true);
|
||||
$form['advanced']['type'] = array('#type' => 'checkboxes', '#title' => t('Only of the type'), '#prefix' => '<div class="criterium">', '#suffix' => '</div>', '#options' => $types);
|
||||
$form['advanced']['submit'] = array('#type' => 'submit', '#value' => t('Advanced Search'), '#prefix' => '<div class="action">', '#suffix' => '</div>');
|
||||
return $form;
|
||||
|
||||
|
|
|
@ -744,7 +744,7 @@ function node_search($op = 'search', $keys = null) {
|
|||
|
||||
// Node types
|
||||
$types = node_get_types();
|
||||
$form['advanced']['type'] = array('#type' => 'checkboxes', '#title' => t('Only of the type'), '#prefix' => '<div class="criterium">', '#suffix' => '</div>', '#options' => $types, '#multiple' => true);
|
||||
$form['advanced']['type'] = array('#type' => 'checkboxes', '#title' => t('Only of the type'), '#prefix' => '<div class="criterium">', '#suffix' => '</div>', '#options' => $types);
|
||||
$form['advanced']['submit'] = array('#type' => 'submit', '#value' => t('Advanced Search'), '#prefix' => '<div class="action">', '#suffix' => '</div>');
|
||||
return $form;
|
||||
|
||||
|
|
Loading…
Reference in New Issue