You are here

disclaimer.tpl.php in Disclaimer 7

Default theme implementation for Disclaimer content.

Available variables:

  • $hidden: Style display hidden.
  • $content: Disclaimer content.
  • $age_form: Age validation form if enable.
  • $footer: Disclaimer footer.
  • $enter_link: Enter text link or image link.
  • $exit_link: Enter text link or image link.

File

disclaimer.tpl.php
View source
<?php

/**
 * @file
 * Default theme implementation for Disclaimer content.
 *
 * Available variables:
 * - $hidden: Style display hidden.
 * - $content: Disclaimer content.
 * - $age_form: Age validation form if enable.
 * - $footer: Disclaimer footer.
 * - $enter_link: Enter text link or image link.
 * - $exit_link: Enter text link or image link.
 */
?>
<div <?php

if ($hidden) {
  ?> style="display: none;" <?php

}
?>>
  <div id="disclaimer">
    <?php

if ($content) {
  ?>
    <div class="content">
      <?php

  print $content;
  ?>
    </div>
    <?php

}
?>
    <?php

if ($age_form) {
  ?>
    <div class="age">
      <?php

  print $age_form;
  ?>
    </div>
    <?php

}
?>
    <div class="actions">
      <div class="enter"><?php

print $enter_link;
?></div>
      <div class="exit"><?php

print $exit_link;
?></div>
    </div>
    <?php

if ($footer) {
  ?>
    <div class="footer">
      <?php

  print $footer;
  ?>
    </div>
    <?php

}
?>
  </div>
</div>