simplenews-multi-block.tpl.php in Simplenews 6.2
Same filename and directory in other branches
Default theme implementation to display the simplenews block.
Copy this file in your theme directory to create a custom themed block.
Available variables:
- $user: the current user is authenticated
- $message: announcement message (Default: 'Stay informed on our latest news!')
- $form: newsletter subscription form
See also
1 theme call to simplenews-multi-block.tpl.php
- simplenews_block in ./
simplenews.module - Implementation of hook_block().
File
theme/simplenews-multi-block.tpl.phpView source
<?php
/**
* @file
* Default theme implementation to display the simplenews block.
*
* Copy this file in your theme directory to create a custom themed block.
*
* Available variables:
* - $user: the current user is authenticated
* - $message: announcement message (Default: 'Stay informed on our latest news!')
* - $form: newsletter subscription form
*
* @see template_preprocess_simplenews_multi_block()
*/
?>
<?php
if ($message) {
?>
<p><?php
print $message;
?></p>
<?php
}
?>
<?php
print $form;
?>