function theme_notifications_ui_add_list in Notifications 7
Same name and namespace in other branches
- 6.4 notifications_ui/notifications_ui.admin.inc \theme_notifications_ui_add_list()
- 6 notifications_ui/notifications_ui.pages.inc \theme_notifications_ui_add_list()
- 6.2 notifications_ui/notifications_ui.pages.inc \theme_notifications_ui_add_list()
- 6.3 notifications_ui/notifications_ui.pages.inc \theme_notifications_ui_add_list()
Display the list of available subscription types for creation
File
- notifications_ui/
notifications_ui.admin.inc, line 93 - User pages for User Interface for subscriptions modules
Code
function theme_notifications_ui_add_list($content) {
$output = '';
if ($content) {
$output = '<dl class="subscriptions-type-list">';
foreach ($content as $item) {
$output .= '<dt>' . l($item['title'], $item['href']) . '</dt>';
$output .= '<dd>' . filter_xss_admin($item['description']) . '</dd>';
}
$output .= '</dl>';
}
return $output;
}