root / drupal7 / sites / all / themes / bootstrap / theme / bootstrap / bootstrap-modal.tpl.php @ 87dbc3bf
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* @file
|
4 |
* bootstrap-modal.tpl.php
|
5 |
*
|
6 |
* Markup for Bootstrap modals.
|
7 |
*
|
8 |
* Variables:
|
9 |
* - $attributes: Attributes for the outer modal div.
|
10 |
* - $heading: Modal title.
|
11 |
* - $body: The rendered body of the modal.
|
12 |
* - $footer: The rendered footer of the modal.
|
13 |
*/
|
14 |
?>
|
15 |
<div<?php print $attributes; ?>> |
16 |
<div class="modal-dialog"> |
17 |
<div class="modal-content"> |
18 |
<div class="modal-header"> |
19 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
20 |
<h4 class="modal-title"><?php print $heading; ?></h4> |
21 |
</div>
|
22 |
<div class="modal-body"><?php print $body; ?></div> |
23 |
<div class="modal-footer"><?php print $footer; ?></div> |
24 |
</div>
|
25 |
</div>
|
26 |
</div>
|