simplenews-status.tpl.php in Simplenews 6.2
Default theme implementation to display the simplenews newsletter status.
Available variables:
- $image: status image
- $alt: 'alt' message
- $title: 'title' message
See also
2 theme calls to simplenews-status.tpl.php
- simplenews_admin_news in includes/
simplenews.admin.inc - Menu callback: Admin form for sent and draft newsletters.
- simplenews_subscription_list_form in includes/
simplenews.admin.inc - Build the form for admin subscription.
File
theme/simplenews-status.tpl.phpView source
<?php
/**
* @file
* Default theme implementation to display the simplenews newsletter status.
*
* Available variables:
* - $image: status image
* - $alt: 'alt' message
* - $title: 'title' message
*
* @see template_preprocess_simplenews_status()
*/
?>
<?php
if (isset($image)) {
?>
<img src="<?php
print $image;
?>" width="15" height="15" alt="<?php
print $alt;
?>" border="0" title="<?php
print $title;
?>" />
<?php
if (isset($trailer)) {
?>
<span id="simplenews_status_sent"> (<?php
print $trailer;
?>) </span>
<?php
}
?>
<?php
}
else {
?>
<?php
print $title;
?>
<?php
}