Uname:
Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
8.0.30 [ PHP INFO ] PHP os:
Linux
Server Ip:
145.239.37.162
Your Ip:
216.73.216.190
User:
dreampi (1009562) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<?php
/**
* The template to display Admin notices
*
* @package SPIN
* @since SPIN 1.0.64
*/
$spin_skins_url = get_admin_url( null, 'admin.php?page=trx_addons_theme_panel#trx_addons_theme_panel_section_skins' );
$spin_skins_args = get_query_var( 'spin_skins_notice_args' );
?>
<div class="spin_admin_notice spin_skins_notice notice notice-info is-dismissible" data-notice="skins">
<?php
// Theme image
$spin_theme_img = spin_get_file_url( 'screenshot.jpg' );
if ( '' != $spin_theme_img ) {
?>
<div class="spin_notice_image"><img src="<?php echo esc_url( $spin_theme_img ); ?>" alt="<?php esc_attr_e( 'Theme screenshot', 'spin' ); ?>"></div>
<?php
}
// Title
?>
<h3 class="spin_notice_title">
<?php esc_html_e( 'New skins are available', 'spin' ); ?>
</h3>
<?php
// Description
$spin_total = $spin_skins_args['update']; // Store value to the separate variable to avoid warnings from ThemeCheck plugin!
$spin_skins_msg = $spin_total > 0
// Translators: Add new skins number
? '<strong>' . sprintf( _n( '%d new version', '%d new versions', $spin_total, 'spin' ), $spin_total ) . '</strong>'
: '';
$spin_total = $spin_skins_args['free'];
$spin_skins_msg .= $spin_total > 0
? ( ! empty( $spin_skins_msg ) ? ' ' . esc_html__( 'and', 'spin' ) . ' ' : '' )
// Translators: Add new skins number
. '<strong>' . sprintf( _n( '%d free skin', '%d free skins', $spin_total, 'spin' ), $spin_total ) . '</strong>'
: '';
$spin_total = $spin_skins_args['pay'];
$spin_skins_msg .= $spin_skins_args['pay'] > 0
? ( ! empty( $spin_skins_msg ) ? ' ' . esc_html__( 'and', 'spin' ) . ' ' : '' )
// Translators: Add new skins number
. '<strong>' . sprintf( _n( '%d paid skin', '%d paid skins', $spin_total, 'spin' ), $spin_total ) . '</strong>'
: '';
?>
<div class="spin_notice_text">
<p>
<?php
// Translators: Add new skins info
echo wp_kses_data( sprintf( __( "We are pleased to announce that %s are available for your theme", 'spin' ), $spin_skins_msg ) );
?>
</p>
</div>
<?php
// Buttons
?>
<div class="spin_notice_buttons">
<?php
// Link to the theme dashboard page
?>
<a href="<?php echo esc_url( $spin_skins_url ); ?>" class="button button-primary"><i class="dashicons dashicons-update"></i>
<?php
// Translators: Add theme name
esc_html_e( 'Go to Skins manager', 'spin' );
?>
</a>
</div>
</div>