403Webshell
Server IP : 216.250.13.251  /  Your IP : 216.73.217.37
Web Server : nginx/1.24.0
System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : root ( 0)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/gunay/wp-content/plugins/rt19-extentions/inc/editor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gunay/wp-content/plugins/rt19-extentions/inc/editor/button.php
<?php
/*
*
* Button
*
*/ 
 
vc_map(
	array(
		'base'        => 'button',
		'name'        => __( 'Button','rt_theme' ),
		'icon'        => 'rt_theme rt_button',
		'category'    => array(__( 'Content','rt_theme' ), __( 'Theme Addons','rt_theme' )),
		'description' => __( 'Add a button','rt_theme' ),
		'params'      => array(

 
							/* button */

							array(
								'param_name'  => 'button_text',
								'heading'     => __('Button Text','rt_theme' ),
								'type'        => 'textfield',
								'value'       => '',
								'holder'      => 'span',
								'save_always' => true
							),


							array(
								'param_name'  => 'button_style',
								'heading'     => __( 'Button Style','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Default Flat",'rt_theme') => "default",
													__("Colored Flat",'rt_theme') => "color",
													__("Text Only",'rt_theme') => "text",
													__("Custom",'rt_theme') => "custom",													
												),
								'save_always' => true
							),


							array(
								'param_name'  => 'font',
								'heading'     => __( 'Font Family','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Default",'rt_theme') => "", 
													__("Heading Font",'rt_theme') => "heading-font", 
													__("Body Font",'rt_theme') => "body-font", 
													__("Secondary Font",'rt_theme') => "secondary-font", 
												),
								'save_always' => true
							),
							

							array(
								'param_name'  => 'button_size',
								'heading'     => __( 'Button Size','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Small",'rt_theme') => "small",
													__("Medium",'rt_theme') => "medium",
													__("Big",'rt_theme') => "big",
													__("Hero",'rt_theme') => "hero",
												),
								'save_always' => true,
								"dependency"  => array(
									"element" => "button_style",
									"value" => array("default", "color","custom")
								),											
							),

							array(
								'param_name'  => 'font_size',
								'heading'     => __('Custom Font Size (px)','rt_theme' ),
								'type'        => 'rt_number'
							),

							array(
								'param_name'  => 'button_icon',
								'heading'     => __('Button Icon','rt_theme' ),
								'type'        => 'textfield',
								'value'       => '',
								'save_always' => true,
								"dependency"  => array(
									"element" => "button_style",
									"value" => array("default", "color","custom")
								),											
							),

							array(
								'param_name'  => 'button_align',
								'heading'     => __( 'Button Align','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Default",'rt_theme') => "",
													__("Left",'rt_theme') => "left",
													__("Right",'rt_theme') => "right",
													__("Center",'rt_theme') => "center",													
												),
								'save_always' => true
							),


							array(
								'param_name'  => 'padding_v',
								'heading'     => __( 'Custom Vertical Padding (px)','rt_theme' ),
								'type'        => 'textfield',
							),


							array(
								'param_name'  => 'padding_h',
								'heading'     => __( 'Custom Horizontal Padding (px)','rt_theme' ),
								'type'        => 'textfield',
							),

							array(
								'param_name'  => 'button_link',
								'heading'     => __('Link','rt_theme' ),
								'type'        => 'textfield',
								'value'       => '',
								'save_always' => true
							),

							array(
								'param_name'  => 'link_open',
								'heading'     => __('Link Target','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Same Tab",'rt_theme') => "_self",
													__("New Tab",'rt_theme') => "_blank", 
												),
								'save_always' => true
							),

							array(
								'param_name'  => 'href_title',
								'heading'     => __('Link Title','rt_theme' ),
								'type'        => 'dropdown',
								'type'        => 'textfield',
							),		

							array(
								'param_name'  => 'id',
								'heading'     => __('ID','rt_theme' ),
								'description' => __('Unique ID','rt_theme' ),
								'type'        => 'textfield',
								'value'       => ''
							),

							array(
								'param_name'  => 'class',
								'heading'     => __('Class','rt_theme' ),
								'description' => __('CSS Class Name','rt_theme' ),
								'type'        => 'textfield'
							),



							array(
								'param_name'  => 'bg_color',
								'heading'     => __( 'Background Color','rt_theme' ),
								'description' => __( 'Select a background color for the button','rt_theme' ),
								'type'        => 'colorpicker',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),	
								'group'       => __( 'Button Style','rt_theme' ),							
							),

							array(
								'param_name'  => 'text_color',
								'heading'     => __( 'Text Color','rt_theme' ),
								'description' => __( 'Select a text color for the button','rt_theme' ),
								'type'        => 'colorpicker',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),
								'group'       => __( 'Button Style','rt_theme' ),
							),

							array(
								'param_name'  => 'border_size',
								'heading'     => __( 'Border Thickness (px)','rt_theme' ),
								'type'        => 'textfield',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),
								'group'       => __( 'Button Style','rt_theme' ),
							),

							array(
								'param_name'  => 'border_color',
								'heading'     => __( 'Border Color','rt_theme' ),
								'type'        => 'colorpicker',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),
								'group'       => __( 'Button Style','rt_theme' ),
							),

							array(
								'param_name'  => 'border_radius',
								'heading'     => __( 'Border Radius (px)','rt_theme' ),
								'type'        => 'textfield',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),
								'group'       => __( 'Button Style','rt_theme' ),
							),


							array(
								'param_name'  => 'h_bg_color',
								'heading'     => __( 'Background Color','rt_theme' ),
								'description' => __( 'Select a background color for the button','rt_theme' ),
								'type'        => 'colorpicker',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),	
								'group'       => __( 'Button Style (Hover)','rt_theme' ),							
							),

							array(
								'param_name'  => 'h_text_color',
								'heading'     => __( 'Text Color','rt_theme' ),
								'description' => __( 'Select a text color for the button','rt_theme' ),
								'type'        => 'colorpicker',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),
								'group'       => __( 'Button Style (Hover)','rt_theme' ),
							),

							array(
								'param_name'  => 'h_border_size',
								'heading'     => __( 'Border Thickness (px)','rt_theme' ),
								'type'        => 'textfield',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),
								'group'       => __( 'Button Style (Hover)','rt_theme' ),
							),

							array(
								'param_name'  => 'h_border_color',
								'heading'     => __( 'Border Color','rt_theme' ),
								'type'        => 'colorpicker',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),
								'group'       => __( 'Button Style (Hover)','rt_theme' ),
							),

							array(
								'param_name'  => 'h_border_radius',
								'heading'     => __( 'Border Radius (px)','rt_theme' ),
								'type'        => 'textfield',
								"dependency"  => array(
													"element" => "button_style",
													"value" => array("custom")
								),
								'group'       => __( 'Button Style (Hover)','rt_theme' ),
							),

						)
	)
);	

?>

Youez - 2016 - github.com/yon3zu
LinuXploit