芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/Ultimate_VC_Addons/params/Ultimate_Gradient.php
= 0 ) { if ( function_exists( 'vc_add_shortcode_param' ) ) { vc_add_shortcode_param( 'gradient', array( &$this, 'gradient_picker' ) ); } } else { if ( function_exists( 'add_shortcode_param' ) ) { add_shortcode_param( 'gradient', array( &$this, 'gradient_picker' ) ); } } } /** * Gradient_picker. * * @param array $settings Settings. * @param string $value Value. */ public function gradient_picker( $settings, $value ) { $dependency = ''; $param_name = isset( $settings['param_name'] ) ? $settings['param_name'] : ''; $type = isset( $settings['type'] ) ? $settings['type'] : ''; $color1 = isset( $settings['color1'] ) ? $settings['color1'] : ' '; $color2 = isset( $settings['color2'] ) ? $settings['color2'] : ' '; $class = isset( $settings['class'] ) ? $settings['class'] : ''; $dependency_element = $settings['dependency']['element']; $dependency_value = $settings['dependency']['value']; $dependency_value_json = wp_json_encode( $dependency_value ); $uni = uniqid(); $output = '
'; // $output .= '
'.__('Gradient Type','upb_parallax').'
$output .= '
' . __( 'Vertical', 'ultimate_vc' ) . '
' . __( 'Horizontal', 'ultimate_vc' ) . '
' . __( 'Custom', 'ultimate_vc' ) . '
deg
'; $output .= '
' . __( 'Choose Colors', 'ultimate_vc' ) . '
'; $output .= '
'; $output .= '
'; $output .= '
'; ?>