Project

General

Profile

« Previous | Next » 

Revision 793dae0a

Added by Andreas Kohlbecker almost 8 years ago

#5903 fixing resource uri

View differences:

modules/cdm_dataportal/cdm_dataportal.module
351 351

  
352 352
    //<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
353 353

  
354
    $font_awesome_css_uri=drupal_get_path('module', 'cdm_dataportal').'/fonts/font-awesome-4.6.3/css/font-awesome.min.css';
354
    $font_awesome_css_uri = base_path() . drupal_get_path('module', 'cdm_dataportal').'/fonts/font-awesome-4.6.3/css/font-awesome.min.css';
355 355
    //$font_awesome_css_uri="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css";
356 356

  
357 357
    drupal_add_html_head_link(
......
1447 1447
 *   Name of the part to display, valid values are:
1448 1448
 *   'description', 'images', 'synonymy', 'specimens', 'all'.
1449 1449
 *
1450
 * @return unknown_type
1450
 * @return string
1451 1451
 */
1452 1452
function cdm_dataportal_taxon_page_view($uuid, $chapter = 'all', $synonym_uuid = NULL) {
1453 1453

  
......
1458 1458
    drupal_set_message(t('The !url1 is enabled.
1459 1459
        WARNING: this is a performance penalty and must be turned off on production websites.', array(
1460 1460
          '!url1' => l('java-script development mode', 'admin/config/cdm_dataportal/settings', array('fragment' => 'edit-cdm-js-devel-mode'))
1461
    )),
1462
    'warning'
1463
        );
1461
        )),
1462
        'warning'
1463
    );
1464 1464
  }
1465 1465

  
1466 1466
  // Display the page for the taxon defined by $uuid.

Also available in: Unified diff