@@ -168,7 +168,6 @@ function install_settings_form($profile, $install_locale, $settings_file, $db_ur
$db_types=drupal_detect_database_types();
if(count($db_types)==0){
$form['no_db_types']=array(
'#type'=>'markup',
'#value'=>st('Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that <a href="@drupal-databases">Drupal supports</a>.',array('@drupal-databases'=>'http://drupal.org/node/270#database')),
$form['content_ranking']['info']=array('#type'=>'markup','#value'=>'<em>'.t('The following numbers control which properties the content search should favor when ordering the results. Higher numbers mean more influence, zero means the property is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.').'</em>');
$form['content_ranking']['info']=array('#value'=>'<em>'.t('The following numbers control which properties the content search should favor when ordering the results. Higher numbers mean more influence, zero means the property is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.').'</em>');
@@ -239,7 +239,7 @@ function search_admin_settings() {
$form['indexing_throttle']['search_cron_limit']=array('#type'=>'select','#title'=>t('Items to index per cron run'),'#default_value'=>variable_get('search_cron_limit',100),'#options'=>$items,'#description'=>t('The maximum amount of items that will be indexed in one cron run. Set this number lower if your cron is timing out or if PHP is running out of memory.'));
$form['indexing_settings']['info']=array('#type'=>'markup','#value'=>'<em>'.t('<p>Changing the settings below will cause the site index to be rebuilt. The search index is not cleared but systematically updated to reflect the new settings. Searching will continue to work but new content won\'t be indexed until all existing content has been re-indexed.</p><p>The default settings should be appropriate for the majority of sites.</p>').'</em>');
$form['indexing_settings']['info']=array('#value'=>'<em>'.t('<p>Changing the settings below will cause the site index to be rebuilt. The search index is not cleared but systematically updated to reflect the new settings. Searching will continue to work but new content won\'t be indexed until all existing content has been re-indexed.</p><p>The default settings should be appropriate for the majority of sites.</p>').'</em>');
$form['indexing_settings']['minimum_word_size']=array('#type'=>'textfield','#title'=>t('Minimum word length to index'),'#default_value'=>variable_get('minimum_word_size',3),'#size'=>5,'#maxlength'=>3,'#description'=>t('The number of characters a word has to be to be indexed. A lower setting means better search result ranking, but also a larger database. Each search query must contain at least one keyword that is this size (or longer).'));
$form['indexing_settings']['overlap_cjk']=array('#type'=>'checkbox','#title'=>t('Simple CJK handling'),'#default_value'=>variable_get('overlap_cjk',TRUE),'#description'=>t('Whether to apply a simple Chinese/Japanese/Korean tokenizer based on overlapping sequences. Turn this off if you want to use an external preprocessor for this instead. Does not affect other languages.'));
$screenshot=file_exists($info->screenshot)?theme('image',$info->screenshot,t('Screenshot for %theme theme',array('%theme'=>$info->name)),'',array('class'=>'screenshot'),FALSE):t('no screenshot');
$screenshot=file_exists($info->screenshot)?theme('image',$info->screenshot,t('Screenshot for %theme theme',array('%theme'=>$info->name)),'',array('class'=>'screenshot'),FALSE):t('no screenshot');
$form['affiliates']=array('#type'=>'markup','#value'=>'<p>'.t('Note: if you have an account with one of our affiliates (!s), you may <a href="@login_uri">login now</a> instead of registering.',array('!s'=>$affiliates,'@login_uri'=>url('user'))).'</p>');
$form['affiliates']=array('#value'=>'<p>'.t('Note: if you have an account with one of our affiliates (!s), you may <a href="@login_uri">login now</a> instead of registering.',array('!s'=>$affiliates,'@login_uri'=>url('user'))).'</p>');
$form['picture']['picture_delete']=array('#type'=>'checkbox','#title'=>t('Delete picture'),'#description'=>t('Check this box to delete your current picture.'));