theme_tablesort_indicator

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/theme.inc, строка 848

Версии
5 – 6
theme_tablesort_indicator($style)

Return a themed sort icon.

Параметры

$style Set to either asc or desc. This sets which icon to show.

Возвращаемое значение

A themed sort icon.

Связанные темы

Код

<?php
function theme_tablesort_indicator($style) {
  if ($style == "asc"){
    return theme('image', 'misc/arrow-asc.png', t('sort icon'), t('sort ascending'));
  }
  else {
    return theme('image', 'misc/arrow-desc.png', t('sort icon'), t('sort descending'));
  }
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему