Now all modules are in core modules folder

This commit is contained in:
Manuel Cillero 2017-08-08 12:14:45 +02:00
parent 5ba1cdfa0b
commit 05b6a91b0c
1907 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,39 @@
<?php
/**
* @file
* Template file for the FAQ page if set to show/hide the answers when the
* question is clicked.
*/
/**
* Available variables:
*
* $nodes
* The array of nodes to be displayed.
* Each $node array contains the following information:
* $node['question'] is the question text.
* $node['body'] is the answer text.
* $node['links'] represents the node links, e.g. "Read more".
* $use_teaser
* Is true if $node['body'] is a teaser.
*/
?><div>
<?php if (count($nodes)): ?>
<?php foreach ($nodes as $node): ?>
<?php // Cycle through each of the nodes. We now have the variable $node to work with. ?>
<div class="faq-question-answer">
<div class="faq-question faq-dt-hide-answer">
<?php print $node['question']; ?>
</div> <!-- Close div: faq-question faq-dt-hide-answer -->
<div class="faq-answer faq-dd-hide-answer">
<?php print $node['body']; ?>
<?php if (isset($node['links'])): ?>
<?php print $node['links']; ?>
<?php endif; ?>
</div> <!-- Close div: faq-answer faq-dd-hide-answer -->
</div> <!-- Close div: faq-question-answer -->
<?php endforeach; ?>
<?php endif; ?>
</div> <!-- Close div -->