Current File : /home/mdkeenpw/www/wp-content/themes/globallogistics/skins/skins-notice-missing.php
<?php
/**
 * The template to display Admin notices
 *
 * @package GLOBALLOGISTICS
 * @since GLOBALLOGISTICS 1.98.0
 */

$globallogistics_skins_url   = get_admin_url( null, 'admin.php?page=trx_addons_theme_panel#trx_addons_theme_panel_section_skins' );
$globallogistics_active_skin = globallogistics_skins_get_active_skin_name();
?>
<div class="globallogistics_admin_notice globallogistics_skins_notice notice notice-error">
	<?php
	// Theme image
	$globallogistics_theme_img = globallogistics_get_file_url( 'screenshot.jpg' );
	if ( '' != $globallogistics_theme_img ) {
		?>
		<div class="globallogistics_notice_image"><img src="<?php echo esc_url( $globallogistics_theme_img ); ?>" alt="<?php esc_attr_e( 'Theme screenshot', 'globallogistics' ); ?>"></div>
		<?php
	}

	// Title
	?>
	<h3 class="globallogistics_notice_title">
		<?php esc_html_e( 'Active skin is missing!', 'globallogistics' ); ?>
	</h3>
	<div class="globallogistics_notice_text">
		<p>
			<?php
			// Translators: Add a current skin name to the message
			echo wp_kses_data( sprintf( __( "Your active skin <b>'%s'</b> is missing. Usually this happens when the theme is updated directly through the server or FTP.", 'globallogistics' ), ucfirst( $globallogistics_active_skin ) ) );
			?>
		</p>
		<p>
			<?php
			echo wp_kses_data( __( "Please use only <b>'ThemeREX Updater v.1.6.0+'</b> plugin for your future updates.", 'globallogistics' ) );
			?>
		</p>
		<p>
			<?php
			echo wp_kses_data( __( "But no worries! You can re-download the skin via 'Skins Manager' ( Theme Panel - Theme Dashboard - Skins ).", 'globallogistics' ) );
			?>
		</p>
	</div>
	<?php

	// Buttons
	?>
	<div class="globallogistics_notice_buttons">
		<?php
		// Link to the theme dashboard page
		?>
		<a href="<?php echo esc_url( $globallogistics_skins_url ); ?>" class="button button-primary"><i class="dashicons dashicons-update"></i> 
			<?php
			// Translators: Add theme name
			esc_html_e( 'Go to Skins manager', 'globallogistics' );
			?>
		</a>
	</div>
</div>