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 / confirm.php
pods / tribe-common / src / views / dialog Last commit date
alert.php 1 week ago button.php 1 week ago confirm.php 1 week ago dialog.php 1 week ago modal.php 1 week ago
confirm.php
33 lines
1 <?php
2 /**
3 * Confirmation Dialog View Template
4 * The confirmation template for tribe-dialog.
5 *
6 * Override this template in your own theme by creating a file at [your-theme]/tribe/dialogs/confirm.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 <div <?php tribe_classes( $content_classes ) ?>>
22 <?php if ( ! empty( $title ) ) : ?>
23 <h2 <?php tribe_classes( $title_classes ) ?>><?php echo esc_html( $title ); ?></h2>
24 <?php endif; ?>
25
26 <?php echo $content; ?>
27 <div class="tribe-dialog__button_wrap">
28 <button class="tribe-button tribe-confirm__cancel"><?php echo esc_html( $cancel_button_text ); ?></button>
29 <button class="tribe-button tribe-confirm__continue"><?php echo esc_html( $continue_button_text ); ?></button>
30 </div>
31 </div>
32 </script>
33