Revision 9cf53dd8
Added by Patrick Plitzner about 8 years ago
modules/cdm_dataportal/includes/pages.inc | ||
---|---|---|
108 | 108 |
$by_associatedtaxon_query = http_build_query($associatedFieldUnitsQuery_parameters); |
109 | 109 |
$pagerFieldUnits = cdm_ws_get(CDM_WS_PORTAL_TAXON, array($taxon->uuid, 'associatedFieldUnits'), $by_associatedtaxon_query); |
110 | 110 |
// get icon images |
111 |
$expand_icon = '<img class="expand_icon" title="Show details" src="' . base_path() . drupal_get_path('module', 'cdm_dataportal') . '/images/btn_expand.gif' . '"/>'; |
|
112 |
$collapse_icon = '<img class="collapse_icon" title="Hide details" src="' . base_path() . drupal_get_path('module', 'cdm_dataportal') . '/images/btn_collapse.gif' . '"/>'; |
|
111 |
$expand_icon = font_awesome_icon_markup( |
|
112 |
'fa-plus-square-o', |
|
113 |
array( |
|
114 |
'alt'=>'Show details', |
|
115 |
'class' => array('expand_icon') |
|
116 |
) |
|
117 |
); |
|
118 |
$collapse_icon = font_awesome_icon_markup( |
|
119 |
'fa-minus-square-o', |
|
120 |
array( |
|
121 |
'alt'=>'Show details', |
|
122 |
'class' => array('collapse_icon') |
|
123 |
) |
|
124 |
); |
|
113 | 125 |
$detail_image_icon = '<img title="Detail Image" src="' . base_path() . drupal_get_path('module', 'cdm_dataportal') . '/images/detail_image_derivate-16x16-32.png' . '"/>'; |
114 | 126 |
$checked_box_icon = '<img src="' . base_path() . drupal_get_path('module', 'cdm_dataportal') . '/images/step_done.gif' . '"/>'; |
115 | 127 |
$sequence_icon = '<img title="Molecular Data" src="' . base_path() . drupal_get_path('module', 'cdm_dataportal') . '/images/sequence_derivate-16x16-32.png' . '"/>'; |
Also available in: Unified diff
Replace collapse/expand icon with font awesome icon markup #5107