Project

General

Profile

« Previous | Next » 

Revision b2ebf0d3

Added by Andreas Kohlbecker about 6 years ago

turning theme method theme_cdm_reference_pager into simple markup method

View differences:

modules/cdm_dataportal/cdm_dataportal.module
963 963
}
964 964

  
965 965
/**
966
 * Created a view on a all references contained in the portal.
966
 * Creates a view on a all references contained in the portal.
967 967
 *
968 968
 * This function is used at the path cdm_dataportal/reference/list
969 969
 */
970 970
function cdm_dataportal_view_reference_list($pageNumber) {
971 971
  $referencePager = cdm_ws_page(CDM_WS_REFERENCE, variable_get('cdm_dataportal_search_items_on_page', CDM_DATAPORTAL_SEARCH_ITEMS_ON_PAGE), $pageNumber);
972
  return theme('cdm_reference_pager', array(
973
    'referencePager' => $referencePager,
974
    'path' => 'cdm_dataportal/reference/list/',
975
    ));
972
  cdm_reference_pager($referencePager, 'cdm_dataportal/reference/list/');
976 973
}
977 974

  
978 975
/**

Also available in: Unified diff