Project

General

Profile

« Previous | Next » 

Revision 7cc085da

Added by Andreas Kohlbecker almost 8 years ago

#5912 fixing wrong usages of dynamic strings, using placeholders and avoiding concatination

View differences:

modules/cdm_dataportal/includes/pages.inc
601 601
        if($tab_key != 'general'){
602 602
          // add entry for page part
603 603
          $toc_elements[] = array(
604
              'data' => l(t(ucfirst($tab_key)), $_GET['q'], array('fragment' => $tab_key, 'query' => $http_request_params)),
604
              'data' => l(t('@tab-name', array('@tab-name' => ucfirst($tab_key))), $_GET['q'], array('fragment' => $tab_key, 'query' => $http_request_params)),
605 605
              'class' => array('page-part-toc-item-' . $tab_key)
606 606
          );
607 607
        } else {

Also available in: Unified diff