PHP 8.2.30
Preview: entry.tpl.php Size: 1.00 KB
/usr/src/litespeed-wp-plugin/7.1/litespeed-cache/tpl/cdn/entry.tpl.php

<?php

namespace LiteSpeed;

defined('WPINC') || exit;

$menu_list = array(
	'qc'		=> __('QUIC.cloud', 'litespeed-cache'),
	'cf'		=> __('Cloudflare', 'litespeed-cache'),
	'other'	=> __('Other Static CDN', 'litespeed-cache'),
);

?>

<div class="wrap">
	<h1 class="litespeed-h1">
		<?php echo __('LiteSpeed Cache CDN', 'litespeed-cache'); ?>
	</h1>
	<span class="litespeed-desc">
		v<?php echo Core::VER; ?>
	</span>
	<hr class="wp-header-end">
</div>

<div class="litespeed-wrap">
	<h2 class="litespeed-header nav-tab-wrapper">
		<?php
		$i = 1;
		foreach ($menu_list as $tab => $val) {
			$accesskey = $i <= 9 ? "litespeed-accesskey='$i'" : '';
			echo "<a class='litespeed-tab nav-tab' href='#$tab' data-litespeed-tab='$tab' $accesskey>$val</a>";
			$i++;
		}
		?>
	</h2>

	<div class="litespeed-body">
		<?php

		// include all tpl for faster UE
		foreach ($menu_list as $tab => $val) {
			echo "<div data-litespeed-layout='$tab'>";
			require LSCWP_DIR . "tpl/cdn/$tab.tpl.php";
			echo "</div>";
		}

		?>
	</div>

</div>

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
5.68 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
1.00 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
6.43 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
7.76 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).