simplenews-multi-block.tpl.php 690 B

123456789101112131415161718192021222324
  1. <?php
  2. // $Id: simplenews-multi-block.tpl.php,v 1.6 2009/01/02 12:01:17 sutharsan Exp $
  3. /**
  4. * @file
  5. * Default theme implementation to display the simplenews block.
  6. *
  7. * Copy this file in your theme directory to create a custom themed block.
  8. *
  9. * Available variables:
  10. * - $subscribed: the current user is subscribed to the $tid newsletter
  11. * - $user: the current user is authenticated
  12. * - $message: announcement message (Default: 'Stay informed on our latest news!')
  13. * - $form: newsletter subscription form
  14. *
  15. * @see template_preprocess_simplenews_multi_block()
  16. */
  17. ?>
  18. <?php if ($message): ?>
  19. <p><?php print $message; ?></p>
  20. <?php endif; ?>
  21. <?php print render($form); ?>