_profile_form_explanation
- Drupal 5
- Drupal 6
modules/profile/profile.module, строка 332
- Версии
- 5 – 6
_profile_form_explanation($field)
Код
<?php
function _profile_form_explanation($field) {
$output = $field->explanation;
if ($field->type == 'list') {
$output .= ' '. t('Put each item on a separate line or separate them by commas. No HTML allowed.');
}
if ($field->visibility == PROFILE_PRIVATE) {
$output .= ' '. t('The content of this field is kept private and will not be shown publicly.');
}
return $output;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии