<?php
/**
 * Link event settings block.
 *
 * @package EventimUSEventListings
 */

defined( 'ABSPATH' ) || exit;
?>
<div class="dashboard-module">
	<div class="module-header">
		<h1><?php esc_html_e( 'Link Event', 'eventim-us-event-listings' ); ?></h1>
	</div>
	<div class="module-content">
		<div style="display:flex; direction:row; align-items:center; justify-content:flex-start; padding: 12px;">
			<div style="display: flex; flex-wrap: wrap; gap: 20px;">
				<div style="display: flex; align-items: center; gap: 8px;">
					<input type="radio" 
							id="radio-link-title-and-image-to-postpage" 
							name="evusel_settings[link_title_and_image_to]" 
							value="postpage" 
							<?php echo $evuselConfig->get( 'link_title_and_image_to' ) === 'postpage' ? 'checked' : ''; ?>>
					<label for="radio-link-title-and-image-to-postpage">
						<?php esc_html_e( 'Single event post page', 'eventim-us-event-listings' ); ?>
					</label>
				</div>
				<div style="display: flex; align-items: center; gap: 8px;">
					<input type="radio" 
							id="radio-link-title-and-image-to-seepage" 
							name="evusel_settings[link_title_and_image_to]" 
							value="seepage" 
							<?php echo $evuselConfig->get( 'link_title_and_image_to' ) === 'seepage' ? 'checked' : ''; ?>>
					<label for="radio-link-title-and-image-to-seepage">
						<?php esc_html_e( 'Eventim US event page', 'eventim-us-event-listings' ); ?>
					</label>
				</div>
			</div>
		</div>
	</div>
</div>