Project

General

Profile

« Previous | Next » 

Revision 2e82a602

Added by Patrick Plitzner over 7 years ago

ref #6320 Add page size to settings for compressed specimen table

View differences:

modules/cdm_dataportal/settings.php
22 22

  
23 23
  define('CDM_DATAPORTAL_NOMREF_IN_TITLE', 1);
24 24
  define('CDM_DATAPORTAL_COMPRESSED_SPECIMEN_DERIVATE_TABLE', 0);
25
  define('CDM_DATAPORTAL_COMPRESSED_SPECIMEN_DERIVATE_TABLE_PAGE_SIZE', 50);
25 26
  define('CDM_DATAPORTAL_TAXON_AUTO_SUGGEST', 0);
26 27
  define('CDM_DATAPORTAL_COMPRESSED_SPECIMEN_DERIVATE_TABLE_SHOW_DETERMINED_AS', 1);
27 28
  define('CDM_DATAPORTAL_DISPLAY_IS_ACCEPTED_FOR', 0);
......
2463 2464
    a collection and it can be expanded to get an overview of the specimens and their derivates.'),
2464 2465
  );
2465 2466

  
2467
    $form['taxon_specimens']['cdm_dataportal_compressed_specimen_derivate_table_page_size'] = array(
2468
        '#type' => 'textfield',
2469
        '#title' => t('Number of records per page') . ':',
2470
        '#default_value' => variable_get('cdm_dataportal_compressed_specimen_derivate_table_page_size', CDM_DATAPORTAL_COMPRESSED_SPECIMEN_DERIVATE_TABLE_PAGE_SIZE),
2471
    );
2472

  
2466 2473
  $form['taxon_specimens']['cdm_dataportal_compressed_specimen_derivate_table_show_determined_as'] = array(
2467 2474
    '#type' => 'checkbox',
2468 2475
    '#title' => t('Show "Associated with" in specimen table.'),

Also available in: Unified diff