);
$content_types = array_filter(variable_get('og_notifications_content_types', array()));
+ $content_names = node_get_types('names');
+
foreach ($account->og_groups as $gid => $group) {
$group_index = 'groups-'. $gid;
// group is not already subscribed to (for all posts).
$bool = isset($ngrouptypes[$gid]) && isset($ngrouptypes[$gid][$type]);
$types[$type] = array(
- 'title' => $title,
+ 'title' => check_plain($content_names[$type]),
'checkbox' => $bool,
'send_interval' => $bool ? $ngrouptypes[$gid][$type]->send_interval : $grouptype_form['defaults']['#value']['send_interval'],
'send_method' => $bool ? $ngrouptypes[$gid][$type]->send_method : $grouptype_form['defaults']['#value']['send_method']