Project

General

Profile

« Previous | Next » 

Revision 71667d19

Added by Andreas Kohlbecker over 12 years ago

fixing #2493 (CICHORIEAE: Links of thumbnails in search results not working properly)

View differences:

modules/cdm_dataportal/settings.php
742 742

  
743 743
        $form_feature_list_layout[$subform_id] = array(
744 744
          '#tree' => TRUE,
745
     			'#title' => $featureNode->feature->representation_L10n,
745
           '#title' => $featureNode->feature->representation_L10n,
746 746
          '#collapsible' => FALSE,
747 747
          '#collapsed' => FALSE,
748 748
          '#type' => 'fieldset',
......
751 751

  
752 752
        $form_feature_list_layout[$subform_id]['enabled'] = array(
753 753
          '#type' => 'checkbox',
754
     			'#title' => t('Enable'),
755
  				'#default_value' => $settings['enabled'],
754
           '#title' => t('Enable'),
755
          '#default_value' => $settings['enabled'],
756 756
          '#description' => t('Enable user defined layout for this feature')
757 757
        );
758 758

  
759 759
        $form_feature_list_layout[$subform_id]['enclosingTag'] = array(
760 760
          '#type' => 'textfield',
761
     			'#title' => t('Enclosing tag'),
761
           '#title' => t('Enclosing tag'),
762 762
          '#disabled' => !$settings['enabled'],
763
  				'#default_value' => $settings['enclosingTag'],
763
          '#default_value' => $settings['enclosingTag'],
764 764
          '#description' => t('Default is: ') . "'<code>" . $systemDefaults['enclosingTag'] . "</code>'"
765 765
        );
766 766

  
767 767
        $form_feature_list_layout[$subform_id]['entryEnclosingTag'] = array(
768 768
          '#type' => 'textfield',
769
     			'#title' => t('Entry enclosing tag'),
769
           '#title' => t('Entry enclosing tag'),
770 770
          '#disabled' => !$settings['enabled'],
771
  				'#default_value' => $settings['entryEnclosingTag'],
771
          '#default_value' => $settings['entryEnclosingTag'],
772 772
          '#description' => t('Default is: ') . "'<code>". $systemDefaults['entryEnclosingTag'] ."</code>'"
773 773
        );
774 774

  
775 775
        $form_feature_list_layout[$subform_id]['glue'] = array(
776 776
          '#type' => 'textfield',
777
     			'#title' => t('Glue'),
777
           '#title' => t('Glue'),
778 778
          '#disabled' => !$settings['enabled'],
779
  				'#default_value' => $settings['glue'],
779
          '#default_value' => $settings['glue'],
780 780
          '#description' => t('Default is: ') . "'<code>" . $systemDefaults['glue'] . "</code>'"
781 781
        );
782 782

  
......
915 915
  $form = array();
916 916

  
917 917
  $form['search_settings'] = array(
918
      '#type' => 'fieldset',
919
      '#title' => t('Taxa Search'),
920
      '#collapsible' => TRUE,
921
      '#collapsed' => FALSE,
918
    '#type' => 'fieldset',
919
    '#title' => t('Taxa Search'),
920
    '#collapsible' => TRUE,
921
    '#collapsed' => FALSE,
922 922
    '#description' => t('<p>The data portal allows the users to perform searchs.</p><p>To perform searchs
923
                         the block <em>CDM Taxon Search</em> should be enabled and visible for users
924
                         where they can write the text to be searched. You can find Drupal block configuration
925
                         site at <a href="./?q=admin/build/block">Administer&#45&#62Site building&#45&#62Blocks</a></p> '),
926
      );
923
         the block <em>CDM Taxon Search</em> should be enabled and visible for users
924
         where they can write the text to be searched. You can find Drupal block configuration
925
         site at <a href="./?q=admin/build/block">Administer&#45&#62Site building&#45&#62Blocks</a></p> '),
926
  );
927 927

  
928 928
  $form['search_settings']['cdm_dataportal_search_items_on_page'] = array(
929 929
    '#type' => 'textfield',
......
1026 1026
   */
1027 1027

  
1028 1028
    $form['map_settings'] = array(
1029
			'#type' => 'fieldset',
1029
      '#type' => 'fieldset',
1030 1030
      '#title' => t('Maps settings'),
1031 1031
      '#collapsible' => TRUE,
1032 1032
      '#collapsed' => TRUE,
1033
    	'#description' => t('Configuration of the renderized maps.'),
1033
      '#description' => t('Configuration of the renderized maps.'),
1034 1034
     );
1035 1035

  
1036 1036
    $form['map_settings']['cdm_dataportal_geoservice_display_width'] = array(

Also available in: Unified diff