theme_client_list
modules/drupal/drupal.module, строка 226
- Версии
- 5
theme_client_list($clients)
Theme a client list.
Код
<?php
function theme_client_list($clients) {
// Note: All fields except the mission are treated as plain-text.
// The mission is stripped of any HTML tags to keep the output simple and consistent.
$output = "\n<dl>\n";
foreach ($clients as $client) {
$output .= ' <dt><a href="' . check_url($client->link) . '">' . check_plain($client->name) . '</a> - ' . check_plain($client->slogan) . "</dt>\n";
$output .= ' <dd>' . strip_tags($client->mission) . "</dd>\n";
}
$output .= "</dl>\n";
return $output;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии