HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/www/wp-content/themes/alone/tribe/events/v2/components/subscribe-links/list.php
<?php
/**
 * Component: Subscribe To Calendar List
 *
 * Override this template in your own theme by creating a file at:
 * [your-theme]/tribe/events/v2/components/subscribe-links/list.php
 *
 * See more documentation about our views templating system.
 *
 * @link http://evnt.is/1aiy
 *
 * @version 5.12.0
 *
 * @var array<Tribe\Events\Views\V2\iCalendar\Links\Link_Abstract> $items Array containing subscribe/export objects.
 *
 */
if ( empty( $items ) ) {
	return;
}
?>
<div class="tribe-events-c-subscribe-dropdown__container">
	<div class="tribe-events-c-subscribe-dropdown">
		<div class="tribe-common-c-btn-border tribe-events-c-subscribe-dropdown__button">
			<button
				class="tribe-events-c-subscribe-dropdown__button-text tribe-common-c-btn--clear"
				aria-expanded="false"
				aria-controls="tribe-events-subscribe-dropdown-content"
				aria-label="<?php esc_attr__( 'View links to add events to your calendar', 'alone' ); ?>"
			>
				<?php
				if ( function_exists( 'icl_object_id' ) ) {
					if (ICL_LANGUAGE_CODE == "ar") {
						echo esc_html__( 'الاشتراك في التقويم', 'alone' ); 
					} else {
						echo esc_html__( 'Subscribe to calendar', 'alone' ); 
					}
				} else {
					echo esc_html__( 'Subscribe to calendar', 'alone' ); 
				}
				?>
			</button>
			<?php $this->template( 'components/icons/caret-down', [ 'classes' => [ 'tribe-events-c-subscribe-dropdown__button-icon' ] ] ); ?>
		</div>
		<div id="tribe-events-c-subscribe-dropdown-content" class="tribe-events-c-subscribe-dropdown__content">
			<ul class="tribe-events-c-subscribe-dropdown__list">
				<?php foreach ( $items as $item ) : ?>
					<?php $this->template( 'components/subscribe-links/item', [ 'item' => $item ] ); ?>
				<?php endforeach; ?>
			</ul>
		</div>
	</div>
</div>