Files
dostavka_vodi/wp-content/plugins/!robin-image-optimizer/views/clearfy-component-card.php
User A0264400 a766acdc90 first commit
2026-04-01 23:20:16 +03:00

43 lines
1.7 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
/**
* @var array $data
* @var WRIO_Page $page
*/
if ( ! class_exists( 'WCL_Plugin' ) ) {
return;
}
$install_button = WCL_Plugin::app()->getInstallComponentsButton( 'WordPress', 'robin-image-optimizer/robin-image-optimizer.php' );
$delete_button = WCL_Plugin::app()->getDeleteComponentsButton( 'WordPress', 'robin-image-optimizer/robin-image-optimizer.php' );
$license_page_url = WRIO_Plugin::app()->getPluginPageUrl( 'rio_license' );
?>
<div class="plugin-card">
<div class="plugin-card-top">
<div class="name column-name">
<h3>
<a href="https://wordpress.org/plugins/robin-image-optimizer/" class="thickbox open-plugin-details-modal">
<?php _e( 'Robin image optimizer', 'robin-image-optimizer' ); ?>
<img src="<?php echo WCL_PLUGIN_URL; ?>/admin/assets/img/rio-icon-128x128.png" class="plugin-icon" alt="">
</a>
</h3>
</div>
<div class="desc column-description">
<p><?php _e( 'Automatic image optimization without any quality loss. No limitations, no paid plans. The best WordPress image optimization plugin allows optimizing any amount of images for free!', 'robin-image-optimizer' ); ?></p>
</div>
</div>
<div class="plugin-card-bottom" style="text-align: right">
<?php if ( ! wrio_is_license_activate() ) : ?>
<a href="<?php echo $license_page_url; ?>" class="button">
<span class="dashicons dashicons-lock" style="font-size: 15px;line-height: 1.7;color: #ff5722;"></span>
<?php _e( 'License', 'robin-image-optimizer' ); ?>
</a>
<?php endif; ?>
<?php $delete_button->renderButton(); ?><?php $install_button->renderButton(); ?>
</div>
</div>