HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/studis.kauko.lt/wp-content/plugins/the-events-calendar/common/src/views/dialog/warning.php
<?php
/**
 * Warn Dialog View Template
 * The confirmation template for tribe-dialog.
 *
 * Override this template in your own theme by creating a file at [your-theme]/tribe/dialogs/warn.php
 *
 * @since 4.12.13
 *
 * @package Tribe
 * @version 4.12.13
 */

/** @var \Tribe\Dialog\View $dialog_view */
$dialog_view = tribe( 'dialog.view' );
// grab allthevars!
$vars        = get_defined_vars();
?>
<?php $dialog_view->template( 'button', $vars, true ); ?>
<script data-js="<?php echo esc_attr( 'dialog-content-' . $id ); ?>" type="text/template" >
	<div <?php tec_classes( $content_classes ); ?>>
		<?php if ( ! empty( $title ) ) : ?>
			<h2 <?php tec_classes( $title_classes ); ?>><?php echo esc_html( $title ); ?></h2>
		<?php endif; ?>

		<?php echo wp_kses_post( $content ); ?>
		<div class="tribe-dialog__button_wrap">
			<button <?php tec_classes( $continue_button_classes ); ?>><?php echo esc_html( $continue_button_text ); ?></button>
			<button <?php tec_classes( $cancel_button_classes ); ?>><?php echo esc_html( $cancel_button_text ); ?></button>
		</div>
	</div>
</script>