/[drupal]/contributions/modules/simplenews/simplenews-newsletter-body.tpl.php
ViewVC logotype

Contents of /contributions/modules/simplenews/simplenews-newsletter-body.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Fri Jan 2 12:01:17 2009 UTC (10 months, 3 weeks ago) by sutharsan
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--2
Changes since 1.2: +2 -2 lines
File MIME type: text/x-php
Coder review.
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; ?>

  ViewVC Help
Powered by ViewVC 1.1.2