403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/themes/glaza/theme_options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/glaza/theme_options/panel_amp.php
<?php

if ( ! function_exists( 'glaza_theme_options_amp' ) ) {
	function glaza_theme_options_amp() {
		return array(
			'id'     => 'glaza_config_section_amp',
			'title'  => esc_html__( 'AMP Options', 'glaza' ),
			'desc'   => html_entity_decode( esc_html__( 'Accelerated Mobile Pages support, The theme requests to install and active the <a href="https://wordpress.org/plugins/amp/">Automattic AMP</a> plugin first.', 'glaza' ) ),
			'icon'   => 'el el-road',
			'class'  => 'section-amp',
			'fields' => glaza_theme_options_amp_config()
		);
	}
};


if ( ! function_exists( 'glaza_theme_options_amp_config' ) ) {
	function glaza_theme_options_amp_config() {
		$amp_fields = array();

		if ( function_exists( 'amp_init' ) ) {
			$amp_fields = array(
				array(
					'id'     => 'section_start_amp_logo',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'AMP - Logo Option', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'amp_logo',
					'type'     => 'media',
					'title'    => esc_html__( 'Logo Upload', 'glaza' ),
					'subtitle' => esc_html__( 'upload your AMP logo, allowed extensions are .jpg, .png and .gif.', 'glaza' )
				),
				array(
					'id'     => 'section_end_logo',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
				array(
					'id'     => 'section_start_amp_footer',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'AMP Footer Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'       => 'amp_back_top',
					'type'     => 'switch',
					'title'    => esc_html__( 'Back to Top', 'glaza' ),
					'subtitle' => esc_html__( 'enable or disable back to top button', 'glaza' )
				),
				array(
					'id'       => 'amp_footer_logo',
					'type'     => 'media',
					'title'    => esc_html__( 'Footer Logo', 'glaza' ),
					'subtitle' => esc_html__( 'upload your AMP footer logo, allowed extensions are .jpg, .png and .gif.', 'glaza' )
				),
				array(
					'id'       => 'amp_footer_menu',
					'type'     => 'select',
					'data'     => 'menu',
					'title'    => esc_html__( 'Footer Menu', 'glaza' ),
					'subtitle' => esc_html__( 'select footer menu for AMP pages.', 'glaza' )
				),
				array(
					'id'       => 'amp_copyright_text',
					'type'     => 'textarea',
					'title'    => esc_html__( 'Copyright Text', 'glaza' ),
					'subtitle' => esc_html__( 'input your copyright text for AMP pages.', 'glaza' )
				),
				array(
					'id'     => 'section_end_amp_footer',
					'type'   => 'section',
					'class'  => 'ruby-section-end',
					'indent' => false
				),
				array(
					'id'     => 'section_start_amp_color',
					'type'   => 'section',
					'class'  => 'ruby-section-start',
					'title'  => esc_html__( 'AMP Color Options', 'glaza' ),
					'indent' => true
				),
				array(
					'id'          => 'amp_bg_body',
					'title'       => esc_html__( 'Body Background', 'glaza' ),
					'subtitle'    => esc_html__( 'select background color for the body of AMP pages.', 'glaza' ),
					'type'        => 'color',
					'transparent' => false,
					'validate'    => 'color',
				),
				array(
					'id'          => 'amp_body_color',
					'title'       => esc_html__( 'Body Text Color', 'glaza' ),
					'subtitle'    => esc_html__( 'select color for the body text of AMP pages.', 'glaza' ),
					'type'        => 'color',
					'transparent' => false,
					'validate'    => 'color',
				),
				array(
					'id'          => 'amp_header_bg',
					'title'       => esc_html__( 'Header Background', 'glaza' ),
					'subtitle'    => esc_html__( 'select background color for the header of AMP pages.', 'glaza' ),
					'type'        => 'color',
					'transparent' => false,
					'validate'    => 'color',
				),
				array(
					'id'          => 'amp_title_color',
					'title'       => esc_html__( 'Title Color', 'glaza' ),
					'subtitle'    => esc_html__( 'select color for the headline of AMP pages.', 'glaza' ),
					'type'        => 'color',
					'transparent' => false,
					'validate'    => 'color',
				),
				array(
					'id'          => 'amp_meta_color',
					'title'       => esc_html__( 'Meta Info Color', 'glaza' ),
					'subtitle'    => esc_html__( 'select color for the meta tags of AMP pages.', 'glaza' ),
					'type'        => 'color',
					'transparent' => false,
					'validate'    => 'color',
				),
				array(
					'id'          => 'amp_link_color',
					'title'       => esc_html__( 'Hyperlink Color', 'glaza' ),
					'subtitle'    => esc_html__( 'select color for hyperlinks of AMP pages.', 'glaza' ),
					'type'        => 'color',
					'transparent' => false,
					'validate'    => 'color',
				),
				array(
					'id'          => 'amp_footer_bg',
					'title'       => esc_html__( 'Footer Background', 'glaza' ),
					'subtitle'    => esc_html__( 'select footer background color for AMP pages.', 'glaza' ),
					'type'        => 'color',
					'transparent' => false,
					'validate'    => 'color',
				),
				array(
					'id'          => 'amp_footer_color',
					'title'       => esc_html__( 'Footer Color', 'glaza' ),
					'subtitle'    => esc_html__( 'select footer color for AMP pages.', 'glaza' ),
					'type'        => 'color',
					'transparent' => false,
					'validate'    => 'color',
				),
				array(
					'id'     => 'section_end_amp_color',
					'type'   => 'section',
					'class'  => 'ruby-section-end no-border',
					'indent' => false
				),

			);
		};

		return $amp_fields;
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit