modal_page_modal.tpl.php in Modal 7
Default theme implementation for modal.
Available variables:
- $title: The title of modal.
- $text: The text of modal.
- $button: The button label of modal.
1 theme call to modal_page_modal.tpl.php
- modal_page_page_build in ./
modal_page.module - Implements hook_page_build().
File
templates/modal_page_modal.tpl.phpView source
<?php
/**
* @file
* Default theme implementation for modal.
*
* Available variables:
* - $title: The title of modal.
* - $text: The text of modal.
* - $button: The button label of modal.
*/
?>
<div class="modal fade" id="js-modal-page-show-modal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><?php
print $title;
?></h4>
</div>
<div class="modal-body">
<p><?php
print $text;
?></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php
print $button;
?></button>
</div>
</div>
</div>
</div>