Project

General

Profile

Revision c278f2a0

IDc278f2a0a05bbbfebb22914b9092a0c1ecec1279
Parent 03c3b241
Child a20ddbc4

Added by Andreas Kohlbecker almost 4 years ago

Fixing case of labels and adding spanisch translations

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.common.theme
356 356
}
357 357

  
358 358
/* ============================ pager ============================= */
359

  
359 360
/**
360 361
 * @todo Please document this function.
361 362
 * @see http://drupal.org/node/1354
......
371 372
    $out .= '<div class="pager">';
372 373
    if ($pager->currentIndex > 0) {
373 374
      $out .= theme('cdm_pager_link', array(
374
        'text' => t('« first'),
375
        'text' => '« ' . t('First'),
375 376
        'linkIndex' => 0,
376 377
        'pager' => $pager,
377 378
        'path' => $path,
......
379 380
        'attributes' => array('class' => array('pager-first')),
380 381
        ));
381 382
      $out .= theme('cdm_pager_link', array(
382
        'text' => t('‹ previous'),
383
        'text' => '‹ ' . t('Previous'),
383 384
        'linkIndex' => $pager->currentIndex - 1,
384 385
        'pager' => $pager,
385 386
        'path' => $path,
......
403 404
    }
404 405

  
405 406
    if ($pager->nextIndex) {
406
      $out .= theme('cdm_pager_link', array('text' => t('next ›'), 'linkIndex' => $pager->nextIndex, 'pager' => $pager, 'path' => $path, 'parameters' => $parameters, 'attributes' => array(
407
  'class' => array('pager-next'),
408
)));
409
      $out .= theme('cdm_pager_link', array('text' => t('last »'), 'linkIndex' => $pager->pagesAvailable - 1, 'pager' => $pager, 'path' => $path, 'parameters' => $parameters, 'attributes' => array(
410
  'class' => array('pager-last'),
411
)));
407
      $out .= theme(
408
        'cdm_pager_link',
409
        array(
410
          'text' => t('Next') . ' ›',
411
          'linkIndex' => $pager->nextIndex,
412
          'pager' => $pager,
413
          'path' => $path,
414
          'parameters' => $parameters,
415
          'attributes' => array(
416
            'class' => array('pager-next'),
417
          )
418
        )
419
      );
420
      $out .= theme(
421
        'cdm_pager_link',
422
        array(
423
          'text' => t('Last') . ' »',
424
          'linkIndex' => $pager->pagesAvailable - 1,
425
          'pager' => $pager,
426
          'path' => $path,
427
          'parameters' => $parameters,
428
          'attributes' => array(
429
            'class' => array('pager-last'),
430
          )
431
        )
432
      );
412 433
    }
413 434
    $out .= '</div>';
414 435

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)