removed advanced search code
This commit is contained in:
@@ -34,12 +34,6 @@ function materio_search_api_settings(){
|
||||
'#title' => t('Autocomplete search api index for %lang contents.', array('%lang'=>$name)),
|
||||
);
|
||||
|
||||
$form['advancedsearchindex_'.$lcode] = array(
|
||||
'#type'=>'select',
|
||||
'#options'=>$index_options,
|
||||
'#default_value' => variable_get('advancedsearchindex_'.$lcode, -1),
|
||||
'#title' => t('Advanced search api index for %lang contents.', array('%lang'=>$name)),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -75,19 +69,5 @@ function materio_search_api_settings(){
|
||||
);
|
||||
}
|
||||
|
||||
$vocabularies = taxonomy_get_vocabularies();
|
||||
// dsm($vocabularies, 'vocabularies');
|
||||
foreach ($vocabularies as $vid => $voc){
|
||||
$vocs_options[$vid] = $voc->name;
|
||||
}
|
||||
|
||||
$form['advancedsearchvocs'] = array(
|
||||
'#type'=>'select',
|
||||
'#options'=>$vocs_options,
|
||||
'#default_value' => variable_get('advancedsearchvocs', array()),
|
||||
'#title' => t('Advanced Search Vocabularies'),
|
||||
'#multiple' => true,
|
||||
);
|
||||
|
||||
return system_settings_form($form);
|
||||
}
|
||||
Reference in New Issue
Block a user