晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
| DIR:/proc/self/root/home/salvufkx/www/wp-contentmmm/plugins/litespeed-cache/tpl/toolbox/ |
| Current File : //proc/self/root/home/salvufkx/www/wp-contentmmm/plugins/litespeed-cache/tpl/toolbox/report.tpl.php |
<?php
namespace LiteSpeed ;
defined( 'WPINC' ) || exit ;
$_report = Report::get_instance() ;
$report = $_report->generate_environment_report();
$env_ref = Report::get_summary() ;
// Detect password less plugin
$link = '';
$has_pswdless_plugin = false;
if ( function_exists( 'dologin_gen_link' ) ) {
$has_pswdless_plugin = true;
if ( ! empty( $_GET[ 'dologin_gen_link' ] ) ) {
unset( $_GET[ 'dologin_gen_link' ] );
$link = dologin_gen_link( 'Litespeed Report' );
?>
<script>window.history.pushState( 'remove_gen_link', document.title, window.location.href.replace( '&dologin_gen_link=1', '' ) );</script>
<?php
}
}
$install_link = Utility::build_url( Router::ACTION_ACTIVATION, Activation::TYPE_INSTALL_3RD, false, null, array( 'plugin' => 'dologin' ) );
?>
<?php if ( ! $has_pswdless_plugin ) : ?>
<div class="litespeed-callout notice notice-warning inline">
<h4><?php echo __( 'NOTICE:', 'litespeed-cache' ); ?></h4>
<p>
<?php echo sprintf( __( 'To generate a passwordless link for LiteSpeed Support Team access, you must install %s.', 'litespeed-cache' ), '<a href="https://wordpress.org/plugins/dologin/" target="_blank">DoLogin Security</a>' ); ?>
</p>
<p>
<a href="<?php echo $install_link; ?>" class="button litespeed-btn litespeed-right20"><?php echo __( 'Install DoLogin Security', 'litespeed-cache' ); ?></a>
<a href="plugin-install.php?s=dologin+security&tab=search&type=term" target="_blank"><?php echo __( 'Go to plugins list', 'litespeed-cache' ); ?></a>
</p>
</div>
<?php endif; ?>
<h3 class="litespeed-title">
<?php echo __('LiteSpeed Report', 'litespeed-cache') ; ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#report-tab' ); ?>
</h3>
<p><?php echo __('Report number', 'litespeed-cache') ; ?>: <b><?php echo ! empty( $env_ref[ 'num' ] ) ? $env_ref[ 'num' ] : '-' ; ?></b></p>
<p><?php echo __('Report date', 'litespeed-cache') ; ?>: <b><?php echo ! empty( $env_ref[ 'dateline' ] ) ? date( 'm/d/Y H:i:s', $env_ref[ 'dateline' ] ) : '-' ; ?></b></p>
<p class="litespeed-desc">
<?php echo __( 'The environment report contains detailed information about the WordPress configuration.', 'litespeed-cache' ); ?>
<br />
<?php echo __('If you run into any issues, please refer to the report number in your support message.', 'litespeed-cache'); ?>
</p>
<form action="<?php echo Utility::build_url( Router::ACTION_REPORT, Report::TYPE_SEND_REPORT ); ?>" method="post" class="litespeed-relative">
<table class="wp-list-table striped litespeed-table"><tbody>
<tr>
<th><?php echo __( 'System Information', 'litespeed-cache' ) ; ?></th>
<td>
<textarea id="litespeed-report" rows="20" cols="100" readonly><?php echo $report; ?></textarea>
</td>
</tr>
<tr>
<th><?php echo __( 'Passwordless Link', 'litespeed-cache' ) ; ?></th>
<td>
<input type="text" class="litespeed-regular-text" id="litespeed-report-link" name="link" value="<?php echo $link; ?>" style="width:500px;" />
<?php if ( $has_pswdless_plugin ) : ?>
<a href="<?php echo admin_url( 'admin.php?page=litespeed-toolbox&dologin_gen_link=1' ); ?>" class="button button-secondary"><?php echo __( 'Generate Link for Current User', 'litespeed-cache' ) ; ?></a>
<?php else: ?>
<button type="button" class="button button-secondary" disabled><?php echo __( 'Generate Link for Current User', 'litespeed-cache' ) ; ?></button>
<?php endif; ?>
<div class="litespeed-desc">
<?php echo __( 'To grant wp-admin access to the LiteSpeed Support Team, please generate a passwordless link for the current logged-in user to be sent with the report.', 'litespeed-cache' ) ; ?>
<?php if ( $link ) : ?>
<br /><strong>🚨 <?php echo __('Please do NOT share the above passwordless link with anyone.', 'litespeed-cache'); ?></strong>
<strong><?php echo sprintf( __('Generated links may be managed under <a %s>Settings</a>.', 'litespeed-cache'), 'href="' . menu_page_url( 'dologin', 0 ) . '"' ); ?></strong>
<?php endif; ?>
</div>
</td>
</tr>
<tr>
<th><?php echo __( 'Notes', 'litespeed-cache' ) ; ?></th>
<td>
<textarea name="notes" rows="10" cols="100"></textarea>
<div class="litespeed-desc">
<?php echo __( 'Optional', 'litespeed-cache' ); ?>:
<?php echo __( 'provide more information here to assist the LiteSpeed team with debugging.', 'litespeed-cache' ); ?>
</div>
</td>
</tr>
</tbody></table>
<div class='litespeed-top20'></div>
<button class="button button-primary" type="submit"><?php echo __( 'Send to LiteSpeed', 'litespeed-cache' ) ; ?></button>
<button class="button button-primary litespeed-float-submit" type="submit"><?php echo __( 'Send to LiteSpeed', 'litespeed-cache' ) ; ?></button>
<p class="litespeed-top30 litespeed-left10 litespeed-desc">
<?php echo __( 'Send this report to LiteSpeed. Refer to this report number when posting in the WordPress support forum.', 'litespeed-cache' ) ; ?>
</p>
</form>
<?php include_once LSCWP_DIR . "tpl/inc/api_key.php" ; ?>
|