function theme_client_list in Drupal 5
Same name and namespace in other branches
- 4 modules/drupal.module \theme_client_list()
Theme a client list.
1 theme call to theme_client_list()
- drupal_client_page in modules/
drupal/ drupal.module - Formats a list of all clients.
File
- modules/
drupal/ drupal.module, line 226 - Lets users log in using a Drupal ID and can notify a central server about your site.
Code
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;
}