scs-newsletter.tpl.php in Simplenews Content Selection 7.2
Same filename and directory in other branches
1 theme call to scs-newsletter.tpl.php
- scs_form_node_form_alter in ./
scs.module - Implements hook_form_FORM_ID_alter().
File
scs-newsletter.tpl.phpView source
<?php
/**
* This template is used to assemble all nodes selected during newsletter
* creation with Simplenews Content Selection.
*
* The following variables are available:
* - $toc Table of content, if it exists, as generated by the function
* theme_scs_toc() or your own.
* - $nodes Array of built selected nodes, ready to be outputed with the
* render() function.
*/
?>
<div id="newsletter">
<?php
if ($toc) {
?>
<div id="toc">
<?php
echo $toc;
?>
</div>
<?php
}
?>
<?php
foreach ($nodes as $node) {
?>
<?php
echo render($node);
?>
<?php
}
?>
</div>