Project

General

Profile

Revision f695daf4

IDf695daf41da78de978bdab0b464a623fedbec87a
Parent 36818236
Child a565e612

Added by Andreas Kohlbecker over 4 years ago

developer option to show reder paths

View differences:

modules/cdm_dataportal/cdm_dataportal.module
668 668
              to be rendered will be the synonymy of the accepted taxon and not the above selected tab.'),
669 669
  );
670 670

  
671
  $form['developer_options'] = array(
672
      '#type' => 'fieldset',
673
      '#tree' => true,
674
      '#title' => t('Developer options'),
675
  );
676 671

  
677
  $form['developer_options']['show_render_path'] = array(
678
    '#type' => 'checkbox',
679
    '#title' => t('Display the render path for each taxon name.'),
680
    '#default_value' => variable_get($checkbox_value, 0),
681
    '#description' => t('This option is very helpful if you are editing the !link for taxon names.',
682
      array(
683
          '!link' => l(
684
            'render template', 'admin/config/cdm_dataportal/settings/layout', array('fragment' => 'edit-cdm-name-render-templates'))
685
          )
686
      ),
687
  );
672
  if(false){
673
    $form['developer_options'] = array(
674
        '#type' => 'fieldset',
675
        '#tree' => true,
676
        '#title' => t('Developer options'),
677
    );
678

  
679
    $form['developer_options']['show_render_path'] = array(
680
      '#type' => 'checkbox',
681
      '#title' => t('Display the render path for each taxon name.'),
682
      '#default_value' => variable_get($checkbox_value, 0),
683
      '#description' => t('This option is very helpful if you are editing the !link for taxon names.',
684
        array(
685
            '!link' => l(
686
              'render template', 'admin/config/cdm_dataportal/settings/layout', array('fragment' => 'edit-cdm-name-render-templates'))
687
            )
688
        ),
689
    );
690
  }
688 691

  
689 692
  $form['submit'] = array(
690 693
    '#type' => 'submit',

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)