PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/figplantsparadise.com/wp-content/plugins/revslider/settings/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/figplantsparadise.com/wp-content/plugins/revslider/settings/layer_settings.php

<?php

	$operations = new RevOperations();

	//set Layer settings
	$contentCSS = $operations->getCaptionsContent();
	$arrAnimations = $operations->getArrAnimations();
	$arrEndAnimations = $operations->getArrEndAnimations();

	$htmlButtonDown = '<div id="layer_captions_down" style="width:30px; text-align:center;padding:0px;" class="revgray button-primary"><i class="eg-icon-down-dir"></i></div>';
	$buttonEditStyles = UniteFunctionsRev::getHtmlLink("javascript:void(0)", "<i class=\"revicon-magic\"></i>Edit Style","button_edit_css","button-primary revblue");
	$buttonEditStylesGlobal = UniteFunctionsRev::getHtmlLink("javascript:void(0)", "<i class=\"revicon-palette\"></i>Edit Global Style","button_edit_css_global","button-primary revblue");

	$arrSplit = $operations->getArrSplit();
	$arrEasing = $operations->getArrEasing();
	$arrEndEasing = $operations->getArrEndEasing();

	$captionsAddonHtml = $htmlButtonDown.$buttonEditStyles.$buttonEditStylesGlobal;

	//set Layer settings
	$layerSettings = new UniteSettingsAdvancedRev();
	$layerSettings->addSection(__("Layer Params",REVSLIDER_TEXTDOMAIN),__("layer_params",REVSLIDER_TEXTDOMAIN));
	$layerSettings->addSap(__("Layer Params",REVSLIDER_TEXTDOMAIN),__("layer_params", REVSLIDER_TEXTDOMAIN));
	$layerSettings->addTextBox("layer_caption", __("caption_green",REVSLIDER_TEXTDOMAIN), __("Style",REVSLIDER_TEXTDOMAIN),array(UniteSettingsRev::PARAM_ADDTEXT=>$captionsAddonHtml,"class"=>"textbox-caption"));

	$addHtmlTextarea = '';
	if($sliderTemplate == "true"){
		$addHtmlTextarea .= UniteFunctionsRev::getHtmlLink("javascript:void(0)", "Insert Meta","linkInsertTemplate","disabled revblue button-primary");
	}
	$addHtmlTextarea .= UniteFunctionsRev::getHtmlLink("javascript:void(0)", "Insert Button","linkInsertButton","disabled revblue button-primary");

	$layerSettings->addTextArea("layer_text", "",__("Text / Html",REVSLIDER_TEXTDOMAIN),array("class"=>"area-layer-params",UniteSettingsRev::PARAM_ADDTEXT_BEFORE_ELEMENT=>$addHtmlTextarea));
	$layerSettings->addTextBox("layer_image_link", "",__("Image Link",REVSLIDER_TEXTDOMAIN),array("class"=>"text-sidebar-link","hidden"=>true));
	$layerSettings->addSelect("layer_link_open_in",array("same"=>__("Same Window",REVSLIDER_TEXTDOMAIN),"new"=>__("New Window",REVSLIDER_TEXTDOMAIN)),__("Link Open In",REVSLIDER_TEXTDOMAIN),"same",array("hidden"=>true));

	$layerSettings->addSelect("layer_animation",$arrAnimations,__("Start Animation",REVSLIDER_TEXTDOMAIN),"fade");
	$layerSettings->addSelect("layer_easing", $arrEasing, __("Start Easing",REVSLIDER_TEXTDOMAIN),"Power3.easeInOut");
	$params = array("unit"=>__("ms",REVSLIDER_TEXTDOMAIN));
	$paramssplit = array("unit"=>__(" ms (keep it low i.e. 1- 200)",REVSLIDER_TEXTDOMAIN));
	$layerSettings->addTextBox("layer_speed", "","Start Duration",$params);
	$layerSettings->addTextBox("layer_splitdelay", "10","Split Delay",$paramssplit);
	$layerSettings->addSelect("layer_split", $arrSplit, __("Split Text per",REVSLIDER_TEXTDOMAIN),"none");
	$layerSettings->addCheckbox("layer_hidden", false,__("Hide Under Width",REVSLIDER_TEXTDOMAIN));

	$params = array("hidden"=>true);
	$layerSettings->addTextBox("layer_link_id", "",__("Link ID",REVSLIDER_TEXTDOMAIN),$params);
	$layerSettings->addTextBox("layer_link_class", "",__("Link Classes",REVSLIDER_TEXTDOMAIN),$params);
	$layerSettings->addTextBox("layer_link_title", "",__("Link Title",REVSLIDER_TEXTDOMAIN),$params);
	$layerSettings->addTextBox("layer_link_rel", "",__("Link Rel",REVSLIDER_TEXTDOMAIN),$params);

	//scale for img
	$textScaleX = __("Width",REVSLIDER_TEXTDOMAIN);
	$textScaleProportionalX = __("Width/Height",REVSLIDER_TEXTDOMAIN);
	$params = array("attrib_text"=>"data-textproportional='".$textScaleProportionalX."' data-textnormal='".$textScaleX."'", "hidden"=>false);
	$layerSettings->addTextBox("layer_scaleX", "",__("Width",REVSLIDER_TEXTDOMAIN),$params);
	$layerSettings->addTextBox("layer_scaleY", "",__("Height",REVSLIDER_TEXTDOMAIN),array("hidden"=>false));
	$layerSettings->addCheckbox("layer_proportional_scale", false,__("Scale Proportional",REVSLIDER_TEXTDOMAIN),array("hidden"=>false));

	$arrParallaxLevel = array(
							'-' => __('No Movement', REVSLIDER_TEXTDOMAIN),
							'1' => __('1', REVSLIDER_TEXTDOMAIN),
							'2' => __('2', REVSLIDER_TEXTDOMAIN),
							'3' => __('3', REVSLIDER_TEXTDOMAIN),
							'4' => __('4', REVSLIDER_TEXTDOMAIN),
							'5' => __('5', REVSLIDER_TEXTDOMAIN),
							'6' => __('6', REVSLIDER_TEXTDOMAIN),
							'7' => __('7', REVSLIDER_TEXTDOMAIN),
							'8' => __('8', REVSLIDER_TEXTDOMAIN),
							'9' => __('9', REVSLIDER_TEXTDOMAIN),
							'10' => __('10', REVSLIDER_TEXTDOMAIN),
							);
	$layerSettings->addSelect("parallax_level", $arrParallaxLevel, __("Level",REVSLIDER_TEXTDOMAIN),"nowrap", array("hidden"=>false));


	//put left top
	$textOffsetX = __("OffsetX",REVSLIDER_TEXTDOMAIN);
	$textX = __("X",REVSLIDER_TEXTDOMAIN);
	$params = array("attrib_text"=>"data-textoffset='".$textOffsetX."' data-textnormal='".$textX."'");
	$layerSettings->addTextBox("layer_left", "",__("X",REVSLIDER_TEXTDOMAIN),$params);

	$textOffsetY = __("OffsetY",REVSLIDER_TEXTDOMAIN);
	$textY = __("Y",REVSLIDER_TEXTDOMAIN);
	$params = array("attrib_text"=>"data-textoffset='".$textOffsetY."' data-textnormal='".$textY."'");
	$layerSettings->addTextBox("layer_top", "",__("Y",REVSLIDER_TEXTDOMAIN),$params);

	$layerSettings->addTextBox("layer_align_hor", "left",__("Hor Align",REVSLIDER_TEXTDOMAIN),array("hidden"=>true));
	$layerSettings->addTextBox("layer_align_vert", "top",__("Vert Align",REVSLIDER_TEXTDOMAIN),array("hidden"=>true));

	$para = array("unit"=>__("&nbsp;(example: 50px, 50%, auto)",REVSLIDER_TEXTDOMAIN), 'hidden'=>true);
	$layerSettings->addTextBox("layer_max_width", "auto",__("Max Width",REVSLIDER_TEXTDOMAIN),$para);
	$layerSettings->addTextBox("layer_max_height", "auto",__("Max Height",REVSLIDER_TEXTDOMAIN),$para);
	
	$layerSettings->addTextBox("layer_2d_rotation", "0",__("2D Rotation",REVSLIDER_TEXTDOMAIN),array("hidden"=>false, 'unit'=>'&nbsp;(-360 - 360)'));
	$layerSettings->addTextBox("layer_2d_origin_x", "50",__("Rotation Origin X",REVSLIDER_TEXTDOMAIN),array("hidden"=>false, 'unit'=>'%&nbsp;(-100 - 200)'));
	$layerSettings->addTextBox("layer_2d_origin_y", "50",__("Rotation Origin Y",REVSLIDER_TEXTDOMAIN),array("hidden"=>false, 'unit'=>'%&nbsp;(-100 - 200)'));

	//advanced params
	$arrWhiteSpace = array("normal"=>__("Normal",REVSLIDER_TEXTDOMAIN),
						"pre"=>__("Pre",REVSLIDER_TEXTDOMAIN),
						"nowrap"=>__("No-wrap",REVSLIDER_TEXTDOMAIN),
						"pre-wrap"=>__("Pre-Wrap",REVSLIDER_TEXTDOMAIN),
						"pre-line"=>__("Pre-Line",REVSLIDER_TEXTDOMAIN));


	$layerSettings->addSelect("layer_whitespace", $arrWhiteSpace, __("White Space",REVSLIDER_TEXTDOMAIN),"nowrap", array("hidden"=>true));


	$layerSettings->addSelect("layer_slide_link", $arrSlideLinkLayers, __("Link To Slide",REVSLIDER_TEXTDOMAIN),"nothing");

	$params = array("unit"=>__("px",REVSLIDER_TEXTDOMAIN),"hidden"=>true);
	$layerSettings->addTextBox("layer_scrolloffset", "0",__("Scroll Under Slider Offset",REVSLIDER_TEXTDOMAIN),$params);

	$layerSettings->addButton("button_change_image_source", __("Change Image Source",REVSLIDER_TEXTDOMAIN),array("hidden"=>true,"class"=>"button-primary revblue"));
	$layerSettings->addTextBox("layer_alt", "","Alt Text",array("hidden"=>true, "class"=>"area-alt-params"));
	$layerSettings->addButton("button_edit_video", __("Edit Video",REVSLIDER_TEXTDOMAIN),array("hidden"=>true,"class"=>"button-primary revblue"));



	$params = array("unit"=>__("ms",REVSLIDER_TEXTDOMAIN));
	$paramssplit = array("unit"=>__(" ms (keep it low i.e. 1- 200)",REVSLIDER_TEXTDOMAIN));
	$params_1 = array("unit"=>__("ms",REVSLIDER_TEXTDOMAIN), 'hidden'=>true);
	$layerSettings->addTextBox("layer_endtime", "",__("End Time",REVSLIDER_TEXTDOMAIN),$params_1);
	$layerSettings->addTextBox("layer_endspeed", "",__("End Duration",REVSLIDER_TEXTDOMAIN),$params);
	$layerSettings->addTextBox("layer_endsplitdelay", "10","End Split Delay",$paramssplit);
	$layerSettings->addSelect("layer_endsplit", $arrSplit, __("Split Text per",REVSLIDER_TEXTDOMAIN),"none");
	$layerSettings->addSelect("layer_endanimation",$arrEndAnimations,__("End Animation",REVSLIDER_TEXTDOMAIN),"auto");
	$layerSettings->addSelect("layer_endeasing", $arrEndEasing, __("End Easing",REVSLIDER_TEXTDOMAIN),"nothing");
	$params = array("unit"=>__("ms",REVSLIDER_TEXTDOMAIN));

	//advanced params
	$arrCorners = array("nothing"=>__("No Corner",REVSLIDER_TEXTDOMAIN),
						"curved"=>__("Sharp",REVSLIDER_TEXTDOMAIN),
						"reverced"=>__("Sharp Reversed",REVSLIDER_TEXTDOMAIN));
	$params = array();
	$layerSettings->addSelect("layer_cornerleft", $arrCorners, __("Left Corner",REVSLIDER_TEXTDOMAIN),"nothing",$params);
	$layerSettings->addSelect("layer_cornerright", $arrCorners, __("Right Corner",REVSLIDER_TEXTDOMAIN),"nothing",$params);
	$layerSettings->addCheckbox("layer_resizeme", true,__("Responsive Through All Levels",REVSLIDER_TEXTDOMAIN),$params);

	$params = array();
	$layerSettings->addTextBox("layer_id", "",__("ID",REVSLIDER_TEXTDOMAIN),$params);
	$layerSettings->addTextBox("layer_classes", "",__("Classes",REVSLIDER_TEXTDOMAIN),$params);
	$layerSettings->addTextBox("layer_title", "",__("Title",REVSLIDER_TEXTDOMAIN),$params);
	$layerSettings->addTextBox("layer_rel", "",__("Rel",REVSLIDER_TEXTDOMAIN),$params);

	//Loop Animation
	$arrAnims = array("none"=>__("Disabled",REVSLIDER_TEXTDOMAIN),
						"rs-pendulum"=>__("Pendulum",REVSLIDER_TEXTDOMAIN),
						"rs-slideloop"=>__("Slideloop",REVSLIDER_TEXTDOMAIN),
						"rs-pulse"=>__("Pulse",REVSLIDER_TEXTDOMAIN),
						"rs-wave"=>__("Wave",REVSLIDER_TEXTDOMAIN)
						);

	$params = array();
	$layerSettings->addSelect("layer_loop_animation", $arrAnims, __("Animation",REVSLIDER_TEXTDOMAIN),"none",$params);
	$layerSettings->addTextBox("layer_loop_speed", "2",__("Speed",REVSLIDER_TEXTDOMAIN),array("unit"=>__("&nbsp;(0.00 - 10.00)",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_startdeg", "-20",__("Start Degree",REVSLIDER_TEXTDOMAIN));
	$layerSettings->addTextBox("layer_loop_enddeg", "20",__("End Degree",REVSLIDER_TEXTDOMAIN),array("unit"=>__("&nbsp;(-720 - 720)",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_xorigin", "50",__("x Origin",REVSLIDER_TEXTDOMAIN),array("unit"=>__("%",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_yorigin", "50",__("y Origin",REVSLIDER_TEXTDOMAIN),array("unit"=>__("% (-250% - 250%)",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_xstart", "0",__("x Start Pos.",REVSLIDER_TEXTDOMAIN),array("unit"=>__("px",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_xend", "0",__("x End Pos.",REVSLIDER_TEXTDOMAIN),array("unit"=>__("px (-2000px - 2000px)",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_ystart", "0",__("y Start Pos.",REVSLIDER_TEXTDOMAIN),array("unit"=>__("px",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_yend", "0",__("y End Pos.",REVSLIDER_TEXTDOMAIN),array("unit"=>__("px (-2000px - 2000px)",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_zoomstart", "1",__("Start Zoom",REVSLIDER_TEXTDOMAIN));
	$layerSettings->addTextBox("layer_loop_zoomend", "1",__("End Zoom",REVSLIDER_TEXTDOMAIN),array("unit"=>__("&nbsp;(0.00 - 20.00)",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_angle", "0",__("Angle",REVSLIDER_TEXTDOMAIN),array("unit"=>__("° (0° - 360°)",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addTextBox("layer_loop_radius", "10",__("Radius",REVSLIDER_TEXTDOMAIN),array("unit"=>__("px (0px - 2000px)",REVSLIDER_TEXTDOMAIN)));
	$layerSettings->addSelect("layer_loop_easing", $arrEasing, __("Easing",REVSLIDER_TEXTDOMAIN),"Power3.easeInOut");

	self::storeSettings("layer_settings",$layerSettings);

	//store settings of content css for editing on the client.
	self::storeSettings("css_captions_content",$contentCSS);

?>