| 1 |
<?php |
<?php |
| 2 |
/* $Id: notify_by_views.module,v 1.10 2009/04/28 18:29:54 matt2000 Exp $ */ |
/* $Id: notify_by_views.module,v 1.11 2009/04/28 18:40:03 matt2000 Exp $ */ |
| 3 |
/** |
/** |
| 4 |
* Display help and module information |
* Display help and module information |
| 5 |
* @param section which section of the site we're displaying help |
* @param section which section of the site we're displaying help |
| 421 |
foreach ($comment as $c) { |
foreach ($comment as $c) { |
| 422 |
|
|
| 423 |
$title = $c->subject; |
$title = $c->subject; |
| 424 |
$author = $c->name ? $c->name : variable_get(anonymous, 'Anonymous'); |
$author = $c->name ? $c->name : variable_get('anonymous', 'Anonymous'); |
| 425 |
$info = t('Comment Attached to @type posted by @author: @title', array( |
$info = t('Comment Attached to @type posted by @author: @title', array( |
| 426 |
'@title' => $nodes[$nid]->title, |
'@title' => $nodes[$nid]->title, |
| 427 |
'@type' => node_get_types('name', $nodes[$nid]), |
'@type' => node_get_types('name', $nodes[$nid]), |