PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 2.8.23.5
Pods – Custom Content Types and Fields v2.8.23.5
2.7.31.4 2.8.23.5 2.9.19.5 3.0.10.5 3.1.4.3 3.2.8.4 3.3.9.2 2.8.23.4 2.9.19.4 3.0.10.4 3.1.4.2 3.2.8.3 3.3.9.1 trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / tribe-common / src / views / dialog / modal.php
pods / tribe-common / src / views / dialog Last commit date
alert.php 6 days ago button.php 6 days ago confirm.php 6 days ago dialog.php 6 days ago modal.php 6 days ago
modal.php
29 lines
1 <?php
2 /**
3 * Dialog Modal View Template
4 * The base template for Tribe Dialog Modals.
5 *
6 * Override this template in your own theme by creating a file at [your-theme]/tribe/dialogs/modal.php
7 *
8 * @since 4.10.0
9 *
10 * @package Tribe
11 * @version 4.10.0
12 */
13
14 /** @var \Tribe\Dialog\View $dialog_view */
15 $dialog_view = tribe( 'dialog.view' );
16 // grab allthevars!
17 $vars = get_defined_vars();
18 ?>
19 <?php $dialog_view->template( 'button', $vars, true ); ?>
20 <script data-js="<?php echo esc_attr( 'dialog-content-' . $id ); ?>" type="text/template">
21 <?php if ( ! empty( $title ) ) : ?>
22 <h2 <?php tribe_classes( $title_classes ) ?>><?php echo esc_html( $title ); ?></h2>
23 <?php endif; ?>
24 <div <?php tribe_classes( $content_classes ) ?>>
25 <?php echo $content; ?>
26 </div>
27 </script>
28
29