| Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 Path : /home/e/g/l/eglisebaa/www/wp-content/themes/hallelujah/templates/ |
| Current File : /home/e/g/l/eglisebaa/www/wp-content/themes/hallelujah/templates/admin-notice.php |
<?php
/**
* The template to display Admin notices
*
* @package WordPress
* @subpackage HALLELUJAH
* @since HALLELUJAH 1.0.1
*/
$hallelujah_theme_obj = wp_get_theme();
?>
<div class="hallelujah_admin_notice hallelujah_welcome_notice update-nag">
<?php
// Theme image
$hallelujah_theme_img = hallelujah_get_file_url( 'screenshot.jpg' );
if ( '' != $hallelujah_theme_img ) {
?>
<div class="hallelujah_notice_image"><img src="<?php echo esc_url( $hallelujah_theme_img ); ?>" alt="<?php esc_attr_e( 'Theme screenshot', 'hallelujah' ); ?>"></div>
<?php
}
// Title
?>
<h3 class="hallelujah_notice_title">
<?php
echo esc_html(
sprintf(
// Translators: Add theme name and version to the 'Welcome' message
__( 'Welcome to %1$s v.%2$s', 'hallelujah' ),
$hallelujah_theme_obj->name . ( HALLELUJAH_THEME_FREE ? ' ' . __( 'Free', 'hallelujah' ) : '' ),
$hallelujah_theme_obj->version
)
);
?>
</h3>
<?php
// Description
?>
<div class="hallelujah_notice_text">
<p class="hallelujah_notice_text_description">
<?php
echo str_replace( '. ', '.<br>', wp_kses_data( $hallelujah_theme_obj->description ) );
?>
</p>
<p class="hallelujah_notice_text_info">
<?php
echo wp_kses_data( __( 'Attention! Plugin "ThemeREX Addons" is required! Please, install and activate it!', 'hallelujah' ) );
?>
</p>
</div>
<?php
// Buttons
?>
<div class="hallelujah_notice_buttons">
<?php
// Link to the page 'About Theme'
?>
<a href="<?php echo esc_url( admin_url() . 'themes.php?page=hallelujah_about' ); ?>" class="button button-primary"><i class="dashicons dashicons-nametag"></i>
<?php
echo esc_html__( 'Install plugin "ThemeREX Addons"', 'hallelujah' );
?>
</a>
<?php
// Dismiss this notice
?>
<a href="#" data-notice="admin" class="hallelujah_hide_notice"><i class="dashicons dashicons-dismiss"></i> <span class="hallelujah_hide_notice_text"><?php esc_html_e( 'Dismiss', 'hallelujah' ); ?></span></a>
</div>
</div>