| 1 |
<?php
|
| 2 |
// $Id: simplenews-newsletter-body.tpl.php,v 1.2 2008/12/28 16:21:20 sutharsan Exp $
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* Default theme implementation to format the simplenews newsletter body.
|
| 7 |
*
|
| 8 |
* Copy this file in your theme directory to create a custom themed body.
|
| 9 |
* Rename it to simplenews-newsletter-body--<tid>.tpl.php to override it for a
|
| 10 |
* newsletter using the newsletter term's id.
|
| 11 |
*
|
| 12 |
* Available variables:
|
| 13 |
* - node: Newsletter node object
|
| 14 |
* - $body: Newsletter body (formatted as plain text or HTML)
|
| 15 |
* - $title: Node title
|
| 16 |
* - $language: Language object
|
| 17 |
*
|
| 18 |
* @see template_preprocess_simplenews_newsletter_body()
|
| 19 |
*/
|
| 20 |
?>
|
| 21 |
<h2><?php print $title; ?></h2>
|
| 22 |
<?php print $body; ?>
|