Project

General

Profile

« Previous | Next » 

Revision fc13aa30

Added by Andreas Kohlbecker about 11 years ago

fixing last bug related to #2890 (Classification switch not working when not signed-in before)

View differences:

7.x/modules/cdm_dataportal/cdm_dataportal.module
670 670

  
671 671
    // $block[0]["info"] = t("CDM DataPortal DevLinks");
672 672
    // $block[1]["info"] = t("CDM DataPortal Credits");
673
    $block["2"]["info"] = t("CDM Search Taxa");
673
    $block["2"] = array(
674
        "info" => t("CDM Search Taxa"),
675
        "cache" => DRUPAL_NO_CACHE
676
      );
674 677
    // $block[3]["info"] = t("CDM Filters");
675 678
    $block["4"]["info"] = t("CDM Dataportal Print");
676 679
    $block["keys"]["info"] = t("CDM identification keys");
7.x/modules/cdm_dataportal/cdm_taxontree/cdm_taxontree.module
49 49
 * Implements hook_block_info().
50 50
 */
51 51
function cdm_taxontree_block_info() {
52
  $block['cdm_tree']['info'] = t('CDM taxon tree');
53
  $block['cdm_tree']['cache'] = DRUPAL_NO_CACHE;
52
  $block['cdm_tree'] = array(
53
        "info" => t('CDM taxon tree'),
54
        "cache" => DRUPAL_NO_CACHE
55
      );
54 56

  
55 57
  $block['filters']['info'] = t('Active filters');
56 58
  $block[1]['info'] = t('Drupal taxonomy tree');

Also available in: Unified diff