| 1 |
<?php |
<?php |
| 2 |
// $Id: simplenews-newsletter-footer.tpl.php,v 1.2 2008/12/28 16:21:21 sutharsan Exp $ |
// $Id: simplenews-newsletter-footer.tpl.php,v 1.3 2009/01/02 12:01:17 sutharsan Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 18 |
* - $test_message: test message warning message |
* - $test_message: test message warning message |
| 19 |
* |
* |
| 20 |
* Available tokens: |
* Available tokens: |
| 21 |
* - !confirm_unsubscribe_url: unsubscribe url to be used as link |
* - [confirm-unsubscribe-url]: unsubscribe url to be used as link |
| 22 |
* for more tokens: see simplenews_mail_tokens() |
* for more tokens: see simplenews_mail_tokens() |
| 23 |
* |
* |
| 24 |
* @see template_preprocess_simplenews_newsletter_footer() |
* @see template_preprocess_simplenews_newsletter_footer() |
| 25 |
*/ |
*/ |
| 26 |
?> |
?> |
| 27 |
<?php if ($format == 'html'): ?> |
<?php if ($format == 'html'): ?> |
| 28 |
<p class="newsletter-footer"><a href="!confirm_unsubscribe_url"><?php print $unsubscribe_text ?></a></p> |
<p class="newsletter-footer"><a href="[simplenews-unsubscribe-url]"><?php print $unsubscribe_text ?></a></p> |
| 29 |
<?php else: ?> |
<?php else: ?> |
| 30 |
-- <?php print $unsubscribe_text ?>: !confirm_unsubscribe_url |
-- <?php print $unsubscribe_text ?>: [simplenews-unsubscribe-url] |
| 31 |
<?php endif ?> |
<?php endif ?> |
| 32 |
|
|
| 33 |
<?php if ($key == 'test'): ?> |
<?php if ($key == 'test'): ?> |