|
@@ 794-800 (lines=7) @@
|
| 791 |
|
$rendered_content = elgg_echo("cp_notifications:mail_body:subtype:hjforumpost", array($author->name, $url), $language_preference); |
| 792 |
|
|
| 793 |
|
|
| 794 |
|
} elseif (strcmp($heading, "content_revision") == 0) { |
| 795 |
|
|
| 796 |
|
$url = "<a href='{$content_array['content_url']}'>{$content_title}</a>"; |
| 797 |
|
$rendered_content = elgg_echo("cp_notifications:mail_body:subtype:{$heading}", array($author, $subtype, $url), $language_preference); |
| 798 |
|
|
| 799 |
|
|
| 800 |
|
} elseif ($content_array['subtype'] === 'thewire' && $heading !== 'likes') { |
| 801 |
|
|
| 802 |
|
if($content_array['content_description'] && (is_array($content_array['wire_image']))){ |
| 803 |
|
$content_array['content_description'] .= elgg_echo('cp_notification_wire_image', $language_preference); |
|
@@ 818-824 (lines=7) @@
|
| 815 |
|
$rendered_content = elgg_echo("cp_notifications:mail_body:subtype:{$content_array['subtype']}_digest", array($author,$wire_fil, $url), $language_preference); |
| 816 |
|
|
| 817 |
|
|
| 818 |
|
} elseif (strcmp($heading, "likes") === 0) { |
| 819 |
|
|
| 820 |
|
$url = "<a href='{$content_array['content_url']}'>{$content_title}</a>"; |
| 821 |
|
$rendered_content = elgg_echo("cp_notifications:mail_body:subtype:{$heading}", array($author, $url), $language_preference); |
| 822 |
|
|
| 823 |
|
|
| 824 |
|
} elseif ($heading === 'response') { |
| 825 |
|
|
| 826 |
|
$url = "<a href='{$content_array['content_url']}'>{$content_title}</a>"; |
| 827 |
|
$rendered_content = elgg_echo("cp_notifications:mail_body:subtype:{$heading}", array($author, $url), $language_preference); |