-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v7.0-b2: * **Crawler** Dropped
Threads
setting. Added PHP const `LI…
…TESPEED_CRAWLER_THREADS` support. * **Crawler** Dropped `Interval Between Runs` setting. Added PHP const `LITESPEED_CRAWLER_RUN_INTERVAL` support. * **Crawler** Dropped `Sitemap Timeout` setting. Added PHP const `LITESPEED_CRAWLER_MAP_TIMEOUT` support. * **Crawler** Dropped `Drop Domain from Sitemap` setting. Added PHP const `LITESPEED_CRAWLER_DROP_DOMAIN` support.
- Loading branch information
Hai Zheng
committed
Oct 31, 2024
1 parent
82eda98
commit 778fb59
Showing
15 changed files
with
103 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,53 @@ | ||
<?php | ||
namespace LiteSpeed ; | ||
defined( 'WPINC' ) || exit ; | ||
|
||
namespace LiteSpeed; | ||
|
||
defined('WPINC') || exit; | ||
|
||
$menu_list = array( | ||
'summary' => __( 'Summary', 'litespeed-cache' ), | ||
'map' => __( 'Map', 'litespeed-cache' ), | ||
'blacklist' => __( 'Blocklist', 'litespeed-cache' ), | ||
'settings-general' => __( 'General Settings', 'litespeed-cache' ), | ||
'settings-simulation' => __( 'Simulation Settings', 'litespeed-cache' ), | ||
'settings-sitemap' => __( 'Sitemap Settings', 'litespeed-cache' ), | ||
) ; | ||
'summary' => __('Summary', 'litespeed-cache'), | ||
'map' => __('Map', 'litespeed-cache'), | ||
'blacklist' => __('Blocklist', 'litespeed-cache'), | ||
'settings' => __('Settings', 'litespeed-cache'), | ||
); | ||
|
||
?> | ||
|
||
<div class="wrap"> | ||
<h1 class="litespeed-h1"> | ||
<?php echo __( 'LiteSpeed Cache Crawler', 'litespeed-cache' ) ; ?> | ||
<?php echo __('LiteSpeed Cache Crawler', 'litespeed-cache'); ?> | ||
</h1> | ||
<span class="litespeed-desc"> | ||
v<?php echo Core::VER ; ?> | ||
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 ++ ; | ||
<?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 | ||
<?php | ||
|
||
// include all tpl for faster UE | ||
foreach ($menu_list as $tab => $val) { | ||
echo "<div data-litespeed-layout='$tab'>" ; | ||
require LSCWP_DIR . "tpl/crawler/$tab.tpl.php" ; | ||
echo "</div>" ; | ||
echo "<div data-litespeed-layout='$tab'>"; | ||
require LSCWP_DIR . "tpl/crawler/$tab.tpl.php"; | ||
echo "</div>"; | ||
} | ||
|
||
?> | ||
?> | ||
</div> | ||
|
||
</div> | ||
|
||
<iframe name="litespeedHiddenIframe" src="" width="0" height="0" frameborder="0"></iframe> | ||
<iframe name="litespeedHiddenIframe" src="" width="0" height="0" frameborder="0"></iframe> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.