function theme_client_list in Drupal 4
Same name and namespace in other branches
- 5 modules/drupal/drupal.module \theme_client_list()
Theme a client list.
1 theme call to theme_client_list()
- drupal_client_page in modules/
drupal.module - Formats a list of all clients.
File
- modules/
drupal.module, line 225 - 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;
}