Project

General

Profile

« Previous | Next » 

Revision c8624e9a

Added by Andreas Kohlbecker over 3 years ago

fix #9109 making fontawesome icons appear again:

  • updating fonts/.htaccess for for woff2 fonts
  • using button tag instead of input for better fontawsome compatibility
  • updating css to renamed font familly

View differences:

modules/cdm_dataportal/cdm_dataportal.search.php
1143 1143
  );
1144 1144

  
1145 1145
  $form['submit'] = array(
1146
    '#type' => 'submit',
1147
    '#attributes' => array('class' => array('fa-icon'), 'title' => t('Search')),
1148
    '#value' => decode_entities(''), // fontawesome search icon
1146
    '#markup' => '<button type="submit" title="Search" class="form-submit">' . font_awesome_icon_markup('fa-search') . '</button>'
1149 1147
//    '#prefix' => "<div class=\"form-item\"><label>&nbsp</label>",
1150 1148
//    '#suffix' => "</div>"
1151 1149

  

Also available in: Unified diff