theme_phonenumber
developer/examples/example_element.module, строка 134
- Версии
- 5 – 6
theme_phonenumber($element)
Theme function to format the output.
We use the container-inline class so that all three of the HTML elements are placed next to each other, rather than on separate lines.
Код
<?php
function theme_phonenumber($element) {
return theme('form_element', $element, '<div class="container-inline">'. $element['#children'] .'</div>');
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии