Skip to content

Commit

Permalink
QC dash link title update; AVIF paid desc
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Zheng committed Jan 2, 2025
1 parent 494cfdf commit 8d92e61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tpl/cdn/qc.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<p><?php echo __('You are currently using services as an anonymous user. To manage your QUIC.cloud options, use the button below to create an account and link to the QUIC.cloud Dashboard.', 'litespeed-cache'); ?></p>
<p class="litespeed-top20"><a href="<?php echo $__cloud->qc_link(); ?>" target="_blank" class="button button-<?php echo ((empty($cloud_summary['qc_activated']) || $cloud_summary['qc_activated'] != 'cdn') ? 'secondary' : 'primary'); ?>"><?php echo __('Link to QUIC.cloud', 'litespeed-cache'); ?> <span class="dashicons dashicons-external"></span></a></p>
<?php elseif ($cloud_summary['qc_activated'] == 'linked') : ?>
<p class="litespeed-top20"><a href="<?php echo $__cloud->qc_link(); ?>" target="_blank" class="button button-<?php echo ((empty($cloud_summary['qc_activated']) || $cloud_summary['qc_activated'] != 'cdn') ? 'secondary' : 'primary'); ?>"><?php echo __('Enable QUIC.cloud CDN', 'litespeed-cache'); ?> <span class="dashicons dashicons-external"></span></a></p>
<p class="litespeed-top20"><a href="<?php echo $__cloud->qc_link(); ?>" target="_blank" class="button button-<?php echo ((empty($cloud_summary['qc_activated']) || $cloud_summary['qc_activated'] != 'cdn') ? 'secondary' : 'primary'); ?>"><?php echo __('My QUIC.cloud Dashboard', 'litespeed-cache'); ?> <span class="dashicons dashicons-external"></span></a></p>
<?php else : ?>
<p><?php echo __('To manage your QUIC.cloud options, go to QUIC.cloud Dashboard.', 'litespeed-cache'); ?></p>
<p class="litespeed-top20"><a href="<?php echo $__cloud->qc_link(); ?>" target="_blank" class="button button-<?php echo ((empty($cloud_summary['qc_activated']) || $cloud_summary['qc_activated'] != 'cdn') ? 'secondary' : 'primary'); ?>"><?php echo __('My QUIC.cloud Dashboard', 'litespeed-cache'); ?> <span class="dashicons dashicons-external"></span></a></p>
Expand Down
5 changes: 4 additions & 1 deletion tpl/img_optm/settings.media_webp.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@
<?php $this->title($id); ?>
</th>
<td>
<?php $this->build_switch($id, array(__('OFF', 'litespeed-cache'), __('WebP', 'litespeed-cache'), __('AVIF', 'litespeed-cache'))); ?>
<?php $this->build_switch($id, array(__('OFF', 'litespeed-cache'), 'WebP', 'AVIF')); ?>
<?php Doc::maybe_on_by_gm($id); ?>
<div class="litespeed-desc">
<?php echo __('Request WebP/AVIF versions of original images when doing optimization.', 'litespeed-cache'); ?>
<?php echo sprintf(__('Significantly improve load time by replacing images with their optimized %s versions.', 'litespeed-cache'), '.webp/.avif'); ?>
<br /><?php Doc::notice_htaccess(); ?>
<br /><?php Doc::crawler_affected(); ?>
<br />
<font class="litespeed-warning">
⚠️ <?php echo sprintf(__('%1$s is a %2$s paid feature.', 'litespeed-cache'), 'AVIF', 'QUIC.cloud'); ?></font>
</div>
</td>
</tr>

0 comments on commit 8d92e61

Please sign in to comment.