????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.217 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/metaboxes/tabs/ |
Upload File : |
<?php
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Direct script access denied.' );
}
$this->radio_buttonset(
'page_bg_layout',
esc_attr__( 'Layout', 'Avada' ),
array(
'default' => esc_attr__( 'Default', 'Avada' ),
'wide' => esc_attr__( 'Wide', 'Avada' ),
'boxed' => esc_attr__( 'Boxed', 'Avada' ),
),
esc_attr__( 'Select boxed or wide layout.', 'Avada' ) . Avada()->settings->get_default_description( 'layout', '', 'select' )
);
// Dependency check for boxed mode.
$boxed_dependency = array(
array(
'field' => 'page_bg_layout',
'value' => 'wide',
'comparison' => '!=',
),
);
if ( 'Wide' == Avada()->settings->get( 'layout' ) ) {
$boxed_dependency[] = array(
'field' => 'page_bg_layout',
'value' => 'default',
'comparison' => '!=',
);
}
$this->color(
'page_bg_color',
esc_attr__( 'Background Color', 'Avada' ),
esc_html__( 'Controls the background color for the outer background. Hex code, ex: #000', 'Avada' ) . Avada()->settings->get_default_description( 'bg_color' ),
true,
$boxed_dependency,
Avada()->settings->get( 'bg_color' )
);
$this->upload(
'page_bg',
esc_attr__( 'Background Image for Outer Area', 'Avada' ),
esc_attr__( 'Select an image to use for the outer background.', 'Avada' ) . Avada()->settings->get_default_description( 'bg_image', 'thumbnail' ),
$boxed_dependency
);
// Also add check for background image.
$boxed_dependency[] = array(
'field' => 'page_bg',
'value' => '',
'comparison' => '!=',
);
$this->radio_buttonset(
'page_bg_full',
esc_attr__( '100% Background Image', 'Avada' ),
array(
'no' => esc_attr__( 'No', 'Avada' ),
'yes' => esc_attr__( 'Yes', 'Avada' ),
),
esc_html__( 'Choose to have the background image display at 100%.', 'Avada' ),
$boxed_dependency
);
$this->select(
'page_bg_repeat',
esc_attr__( 'Background Repeat', 'Avada' ),
array(
'repeat' => esc_attr__( 'Tile', 'Avada' ),
'repeat-x' => esc_attr__( 'Tile Horizontally', 'Avada' ),
'repeat-y' => esc_attr__( 'Tile Vertically', 'Avada' ),
'no-repeat' => esc_attr__( 'No Repeat', 'Avada' ),
),
esc_html__( 'Select how the background image repeats.', 'Avada' ),
$boxed_dependency
);
// Dependency check for wide mode.
$wide_dependency = array(
array(
'field' => 'page_bg_layout',
'value' => 'boxed',
'comparison' => '!=',
),
);
if ( 'Boxed' == Avada()->settings->get( 'layout' ) ) {
$wide_dependency[] = array(
'field' => 'page_bg_layout',
'value' => 'default',
'comparison' => '!=',
);
}
$this->color(
'wide_page_bg_color',
esc_attr__( 'Background Color', 'Avada' ),
esc_html__( 'Controls the background color for the main content area. Hex code, ex: #000', 'Avada' ) . Avada()->settings->get_default_description( 'content_bg_color' ),
true,
$wide_dependency,
Avada()->settings->get( 'content_bg_color' )
);
$this->upload(
'wide_page_bg',
esc_attr__( 'Background Image for Main Content Area', 'Avada' ),
esc_html__( 'Select an image to use for the main content area.', 'Avada' ) . Avada()->settings->get_default_description( 'content_bg_image', 'thumbnail' ),
$wide_dependency
);
// Also add check for background image.
$wide_dependency[] = array(
'field' => 'wide_page_bg',
'value' => '',
'comparison' => '!=',
);
$this->radio_buttonset(
'wide_page_bg_full',
esc_html__( '100% Background Image', 'Avada' ),
array(
'no' => esc_attr__( 'No', 'Avada' ),
'yes' => esc_attr__( 'Yes', 'Avada' ),
),
esc_html__( 'Choose to have the background image display at 100%.', 'Avada' ),
$wide_dependency
);
$this->select(
'wide_page_bg_repeat',
esc_attr__( 'Background Repeat', 'Avada' ),
array(
'repeat' => esc_attr__( 'Tile', 'Avada' ),
'repeat-x' => esc_attr__( 'Tile Horizontally', 'Avada' ),
'repeat-y' => esc_attr__( 'Tile Vertically', 'Avada' ),
'no-repeat' => esc_attr__( 'No Repeat', 'Avada' ),
),
esc_html__( 'Select how the background image repeats.', 'Avada' ),
$wide_dependency
);
/* Omit closing PHP tag to avoid "Headers already sent" issues. */