first commit

This commit is contained in:
alazhar
2020-01-02 23:15:16 +07:00
commit eda9661806
3433 changed files with 595883 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<?php
$generalSettings = new UniteSettingsRev();
$generalSettings->addSelect("role",
array(UniteBaseAdminClassRev::ROLE_ADMIN => __("To Admin",REVSLIDER_TEXTDOMAIN),
UniteBaseAdminClassRev::ROLE_EDITOR =>__("To Editor, Admin",REVSLIDER_TEXTDOMAIN),
UniteBaseAdminClassRev::ROLE_AUTHOR =>__("Author, Editor, Admin",REVSLIDER_TEXTDOMAIN)),
__("View Plugin Permission",REVSLIDER_TEXTDOMAIN),
UniteBaseAdminClassRev::ROLE_ADMIN,
array("description"=>"<br>".__("The role of user that can view and edit the plugin",REVSLIDER_TEXTDOMAIN)));
$generalSettings->addRadio("includes_globally",
array("on"=>__("On",REVSLIDER_TEXTDOMAIN),"off"=>__("Off",REVSLIDER_TEXTDOMAIN)),
__("Include RevSlider libraries globally",REVSLIDER_TEXTDOMAIN),
"off",
array("description"=>"<br>".__("Add css and js includes only on all pages. Id turned to off they will added to pages where the rev_slider shortcode exists only. This will work only when the slider added by a shortcode.",REVSLIDER_TEXTDOMAIN)));
$generalSettings->addTextBox("pages_for_includes", "",__("Pages to include RevSlider libraries",REVSLIDER_TEXTDOMAIN),
array("description"=>"<br>".__("Specify the page id's that the front end includes will be included in. Example: 2,3,5 also: homepage,3,4",REVSLIDER_TEXTDOMAIN)));
//--------------------------
//get stored values
$operations = new RevOperations();
$arrValues = $operations->getGeneralSettingsValues();
$generalSettings->setStoredValues($arrValues);
self::storeSettings("general", $generalSettings);
?>

View File

@ -0,0 +1,79 @@
<?php
$operations = new RevOperations();
//set Layer settings
$contentCSS = $operations->getCaptionsContent();
$arrAnimations = $operations->getArrAnimations();
$arrEndAnimations = $operations->getArrEndAnimations();
$htmlButtonDown = '<div id="layer_captions_down" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-arrowthick-1-s"></span></div>';
$buttonEditStyles = UniteFunctionsRev::getHtmlLink("javascript:void(0)", "Edit CSS File","button_edit_css","button-secondary");
$arrEasing = $operations->getArrEasing();
$arrEndEasing = $operations->getArrEndEasing();
$captionsAddonHtml = $htmlButtonDown.$buttonEditStyles;
//set Layer settings
$layerSettings = new UniteSettingsAdvancedRev();
$layerSettings->addSection(__("Layer Params",REVSLIDER_TEXTDOMAIN),__("layer_params",REVSLIDER_TEXTDOMAIN));
$layerSettings->addSap(__("Layer Params",REVSLIDER_TEXTDOMAIN),__("layer_params"));
$layerSettings->addTextBox(__("layer_caption"), __("caption_green"), __("Style",REVSLIDER_TEXTDOMAIN),array(UniteSettingsRev::PARAM_ADDTEXT=>$captionsAddonHtml,"class"=>"textbox-caption"));
$addHtmlTextarea = UniteFunctionsRev::getHtmlLink("javascript:void(0)", "insert button","linkInsertButton","disabled");
$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,__("Animation",REVSLIDER_TEXTDOMAIN),"fade");
$layerSettings->addSelect("layer_easing", $arrEasing, __("Easing",REVSLIDER_TEXTDOMAIN),"easeOutExpo");
$params = array("unit"=>__("ms",REVSLIDER_TEXTDOMAIN));
$layerSettings->addTextBox("layer_speed", "","Speed",$params);
$layerSettings->addCheckbox("layer_hidden", false,__("Hide Under Width",REVSLIDER_TEXTDOMAIN));
//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",array("hidden"=>true));
$layerSettings->addTextBox("layer_align_vert", "top","Vert Align",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_edit_video", __("Edit Video",REVSLIDER_TEXTDOMAIN),array("hidden"=>true,"class"=>"button-secondary"));
$layerSettings->addButton("button_change_image_source", __("Change Image Source",REVSLIDER_TEXTDOMAIN),array("hidden"=>true,"class"=>"button-secondary"));
$params = array("unit"=>__("ms",REVSLIDER_TEXTDOMAIN));
$layerSettings->addTextBox("layer_endtime", "",__("End Time",REVSLIDER_TEXTDOMAIN),$params);
$layerSettings->addTextBox("layer_endspeed", "",__("End Speed",REVSLIDER_TEXTDOMAIN),$params);
$layerSettings->addSelect("layer_endanimation",$arrEndAnimations,__("End Animation",REVSLIDER_TEXTDOMAIN),"auto");
$layerSettings->addSelect("layer_endeasing", $arrEndEasing, __("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", false,__("Responsive Through All Levels",REVSLIDER_TEXTDOMAIN),$params);
self::storeSettings("layer_settings",$layerSettings);
//store settings of content css for editing on the client.
self::storeSettings("css_captions_content",$contentCSS);
?>

View File

@ -0,0 +1,104 @@
<?php
//set Slide settings
$arrTransitions = $operations->getArrTransition();
$arrSlideNames = $slider->getArrSlideNames();
$slideSettings = new UniteSettingsAdvancedRev();
//title
$params = array("description"=>__("The title of the slide, will be shown in the slides list.",REVSLIDER_TEXTDOMAIN),"class"=>"medium");
$slideSettings->addTextBox("title",__("Slide",REVSLIDER_TEXTDOMAIN),__("Slide Title",REVSLIDER_TEXTDOMAIN), $params);
//state
$params = array("description"=>__("The state of the slide. The unpublished slide will be excluded from the slider.",REVSLIDER_TEXTDOMAIN));
$slideSettings->addSelect("state",array("published"=>__("Published",REVSLIDER_TEXTDOMAIN),"unpublished"=>__("Unpublished",REVSLIDER_TEXTDOMAIN)),__("State",REVSLIDER_TEXTDOMAIN),"published",$params);
//transition
$params = array("description"=>__("The appearance transitions of this slide.",REVSLIDER_TEXTDOMAIN),"minwidth"=>"450px");
$slideSettings->addChecklist("slide_transition",$arrTransitions,__("Transitions",REVSLIDER_TEXTDOMAIN),"random",$params);
//slot amount
$params = array("description"=>__("The number of slots or boxes the slide is divided into. If you use boxfade, over 7 slots can be juggy.",REVSLIDER_TEXTDOMAIN)
,"class"=>"small"
);
$slideSettings->addTextBox("slot_amount","7",__("Slot Amount",REVSLIDER_TEXTDOMAIN), $params);
//rotation:
$params = array("description"=>__("Rotation (-720 -> 720, 999 = random) Only for Simple Transitions.",REVSLIDER_TEXTDOMAIN)
,"class"=>"small"
);
$slideSettings->addTextBox("transition_rotation","0",__("Rotation",REVSLIDER_TEXTDOMAIN), $params);
//transition speed
$params = array("description"=>__("The duration of the transition (Default:300, min: 100 max 2000). ",REVSLIDER_TEXTDOMAIN)
,"class"=>"small"
);
$slideSettings->addTextBox("transition_duration","300",__("Transition Duration",REVSLIDER_TEXTDOMAIN), $params);
//delay
$params = array("description"=>__("A new delay value for the Slide. If no delay defined per slide, the delay defined via Options (",REVSLIDER_TEXTDOMAIN). $sliderDelay .__("ms) will be used",REVSLIDER_TEXTDOMAIN)
,"class"=>"small"
);
$slideSettings->addTextBox("delay","",__("Delay",REVSLIDER_TEXTDOMAIN), $params);
//-----------------------
//enable link
$slideSettings->addSelect_boolean("enable_link", __("Enable Link",REVSLIDER_TEXTDOMAIN), false, __("Enable",REVSLIDER_TEXTDOMAIN),__("Disable",REVSLIDER_TEXTDOMAIN));
$slideSettings->startBulkControl("enable_link", UniteSettingsRev::CONTROL_TYPE_SHOW, "true");
//link type
$slideSettings->addRadio("link_type", array("regular"=>__("Regular",REVSLIDER_TEXTDOMAIN),"slide"=>__("To Slide",REVSLIDER_TEXTDOMAIN)), __("Link Type",REVSLIDER_TEXTDOMAIN),"regular");
//link
$params = array("description"=>__("A link on the whole slide pic",REVSLIDER_TEXTDOMAIN));
$slideSettings->addTextBox("link","",__("Slide Link",REVSLIDER_TEXTDOMAIN), $params);
//link target
$params = array("description"=>__("The target of the slide link",REVSLIDER_TEXTDOMAIN));
$slideSettings->addSelect("link_open_in",array("same"=>__("Same Window",REVSLIDER_TEXTDOMAIN),"new"=>__("New Window")),__("Link Open In",REVSLIDER_TEXTDOMAIN),"same",$params);
//num_slide_link
$arrSlideLink = array();
$arrSlideLink["nothing"] = __("-- Not Chosen --",REVSLIDER_TEXTDOMAIN);
$arrSlideLink["next"] = __("-- Next Slide --",REVSLIDER_TEXTDOMAIN);
$arrSlideLink["prev"] = __("-- Previous Slide --",REVSLIDER_TEXTDOMAIN);
$arrSlideLinkLayers = $arrSlideLink;
$arrSlideLinkLayers["scroll_under"] = __("-- Scroll Below Slider --");
foreach($arrSlideNames as $slideNameID=>$slideName){
$arrSlideLink[$slideNameID] = $slideName;
$arrSlideLinkLayers[$slideNameID] = $slideName;
}
$slideSettings->addSelect("slide_link", $arrSlideLink, "Link To Slide","nothing");
$params = array("description"=>"The position of the link related to layers");
$slideSettings->addRadio("link_pos", array("front"=>"Front","back"=>"Back"), "Link Position","front",$params);
$slideSettings->addHr("link_sap");
$slideSettings->endBulkControl();
$slideSettings->addControl("link_type", "slide_link", UniteSettingsRev::CONTROL_TYPE_ENABLE, "slide");
$slideSettings->addControl("link_type", "link", UniteSettingsRev::CONTROL_TYPE_DISABLE, "slide");
$slideSettings->addControl("link_type", "link_open_in", UniteSettingsRev::CONTROL_TYPE_DISABLE, "slide");
//-----------------------
$params = array("description"=>__("Slide Thumbnail. If not set - it will be taken from the slide image.",REVSLIDER_TEXTDOMAIN));
$slideSettings->addImage("slide_thumb", "",__("Thumbnail",REVSLIDER_TEXTDOMAIN) , $params);
$params = array("description"=>__("Apply to full width mode only. Centering vertically slide images.",REVSLIDER_TEXTDOMAIN));
$slideSettings->addCheckbox("fullwidth_centering", false, __("Full Width Centering",REVSLIDER_TEXTDOMAIN), $params);
//add background type (hidden)
$slideSettings->addTextBox("background_type","image",__("Background Type",REVSLIDER_TEXTDOMAIN), array("hidden"=>true));
//store settings
self::storeSettings("slide_settings",$slideSettings);
?>

View File

@ -0,0 +1,54 @@
<?php
//set "slider_main" settings
$sliderMainSettings = new UniteSettingsAdvancedRev();
$sliderMainSettings->addTextBox("title", "",__("Slider Title",REVSLIDER_TEXTDOMAIN),array("description"=>__("The title of the slider. Example: Slider1",REVSLIDER_TEXTDOMAIN),"required"=>"true"));
$sliderMainSettings->addTextBox("alias", "",__("Slider Alias",REVSLIDER_TEXTDOMAIN),array("description"=>__("The alias that will be used for embedding the slider. Example: slider1",REVSLIDER_TEXTDOMAIN),"required"=>"true"));
$sliderMainSettings->addTextBox("shortcode", "",__("Slider Shortcode",REVSLIDER_TEXTDOMAIN), array("readonly"=>true,"class"=>"code"));
$sliderMainSettings->addHr();
//set slider type / texts
$sliderMainSettings->addRadio("slider_type", array("fixed"=>__("Fixed",REVSLIDER_TEXTDOMAIN),
"responsitive"=>__("Custom",REVSLIDER_TEXTDOMAIN),
"fullwidth"=>__("Auto Responsive",REVSLIDER_TEXTDOMAIN),
"fullscreen"=>__("Full Screen",REVSLIDER_TEXTDOMAIN)
),__("Slider Layout",REVSLIDER_TEXTDOMAIN),
"fixed");
$arrParams = array("class"=>"medium","description"=>__("Example: #header | The height of fullscreen slider will be decreased with the height of the #header to fit perfect in the screen",REVSLIDER_TEXTDOMAIN));
$sliderMainSettings->addTextBox("fullscreen_offset_container", "",__("Fullscreen Offset Container",REVSLIDER_TEXTDOMAIN), $arrParams);
$sliderMainSettings->addControl("slider_type", "fullscreen_offset_container", UniteSettingsRev::CONTROL_TYPE_SHOW, "fullscreen");
$paramsSize = array("width"=>960,"height"=>350);
$sliderMainSettings->addCustom("slider_size", "slider_size","",__("Grid Settings",REVSLIDER_TEXTDOMAIN),$paramsSize);
$paramsResponsitive = array("w1"=>940,"sw1"=>770,"w2"=>780,"sw2"=>500,"w3"=>510,"sw3"=>310);
$sliderMainSettings->addCustom("responsitive_settings", "responsitive","",__("Custom Responsive Sizes"),$paramsResponsitive);
$sliderMainSettings->addHr();
self::storeSettings("slider_main",$sliderMainSettings);
//set "slider_params" settings.
$sliderParamsSettings = new UniteSettingsAdvancedRev();
$sliderParamsSettings->loadXMLFile(self::$path_settings."/slider_settings.xml");
//update transition type setting.
$settingFirstType = $sliderParamsSettings->getSettingByName("first_transition_type");
$operations = new RevOperations();
$arrTransitions = $operations->getArrTransition();
$settingFirstType["items"] = $arrTransitions;
$sliderParamsSettings->updateArrSettingByName("first_transition_type", $settingFirstType);
//store params
self::storeSettings("slider_params",$sliderParamsSettings);
?>

View File

@ -0,0 +1,561 @@
<?xml version="1.0" encoding="utf-8"?>
<fields>
<fieldset name="general" label="General Settings">
<field name="delay"
type="text"
default="9000"
label="Delay"
description="The time one slide stays on the screen in Milliseconds">
</field>
<field name="shuffle"
type="radio"
default="off"
label="Shuffle Mode"
description="Turn Shuffle Mode on and off! Will be randomized only once at the start.">
<option value="on" text="On"></option>
<option value="off" text="Off"></option>
</field>
<field name="lazy_load"
type="radio"
default="off"
label="Lazy Load"
description="The lazy load means that the images will be loaded by demand, it speeds the loading of the slider.">
<option value="on" text="On"></option>
<option value="off" text="Off"></option>
</field>
<field type="hr"></field>
<field name="load_googlefont"
type="radio"
default="false"
label="Load Google Font"
description="yes / no to load google font">
<option value="true" text="Yes"></option>
<option value="false" text="No"></option>
</field>
<field name="google_font"
type="text"
label="Google Font"
class="text-sidebar-long"
default="PT+Sans+Narrow:400,700"
description="The google font family to load"></field>
<field name="text_google"
type="statictext"
label="To add more google fonts please read &lt;a target=&quot;_blank&quot; href=&quot;http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380/faqs/15268&quot;&gt; this tutorial &lt;/a&gt; ">
</field>
<field type="control"
ctype="enable"
parent="load_googlefont"
child="google_font"
value="true"
></field>
<field type="hr"></field>
<field name="stop_slider"
type="radio"
default="off"
label="Stop Slider"
description="On / Off to stop slider after some amount of loops / slides">
<option value="on" text="On"></option>
<option value="off" text="Off"></option>
</field>
<field name="stop_after_loops"
type="text"
default="0"
label="Stop After Loops"
description="Stop the slider after certain amount of loops. 0 related to the first loop.">
</field>
<field name="stop_at_slide"
type="text"
default="2"
label="Stop At Slide"
description="Stop the slider at the given slide">
</field>
<field type="control"
ctype="enable"
parent="stop_slider"
child="stop_after_loops"
value="on"
></field>
<field type="control"
ctype="enable"
parent="stop_slider"
child="stop_at_slide"
value="on"
></field>
</fieldset>
<fieldset name="position" label="Position">
<field name="position"
type="list"
default="center"
label="Position on the page"
description="The position of the slider on the page, (float:left, float:right, margin:0px auto;)">
<option value="left" text="Left"></option>
<option value="center" text="Center"></option>
<option value="right" text="Right"></option>
</field>
<field name="margin_top"
type="text"
label="Margin Top"
default="0"
unit="px"
description="The top margin of the slider wrapper div"></field>
<field name="margin_bottom"
type="text"
label="Margin Bottom"
default="0"
unit="px"
description="The bottom margin of the slider wrapper div"></field>
<field name="margin_left"
type="text"
label="Margin Left"
default="0"
unit="px"
description="The left margin of the slider wrapper div"></field>
<field name="margin_right"
type="text"
label="Margin Right"
default="0"
unit="px"
description="The right margin of the slider wrapper div"></field>
<field type="control"
ctype="disable"
parent="position"
child="margin_left"
value="center"></field>
<field type="control"
ctype="disable"
parent="position"
child="margin_right"
value="center"></field>
</fieldset>
<fieldset name="appearance" label="Appearance">
<field name="shadow_type"
type="list"
default="2"
label="Shadow Type"
description="The Shadow display underneath the banner. The shadow apply to fixed and responsive modes only, the full width slider don't have a shadow.">
<option value="0" text="No Shadow"></option>
<option value="1" text="1"></option>
<option value="2" text="2"></option>
<option value="3" text="3"></option>
</field>
<field name="show_timerbar"
type="list"
default="top"
label="Show Timer Line"
description="Show the top running timer line">
<option value="top" text="Top"></option>
<option value="bottom" text="Bottom"></option>
<option value="hide" text="Hide"></option>
</field>
<field name="background_color"
type="color"
default="#E9E9E9"
label="Background color"
description="Slider wrapper div background color, for transparent slider, leave empty.">
</field>
<field name="padding"
type="text"
default="0"
label="Padding (border)"
description="The wrapper div padding, if it has value, then together with background color it it will make border around the slider.">
</field>
<field name="show_background_image"
type="radio"
default="false"
label="Show Background Image"
description="yes / no to put background image to the main slider wrapper.">
<option value="true" text="Yes"></option>
<option value="false" text="No"></option>
</field>
<field name="background_image"
type="text"
default=""
label="Background Image Url"
class="text-sidebar-long"
description="The background image that will be on the slider wrapper. Will be shown at slider preloading.">
</field>
<field type="control"
ctype="enable"
parent="show_background_image"
child="background_image"
value="true"
></field>
</fieldset>
<fieldset name="navigation" label="Navigation">
<field name="touchenabled"
type="radio"
default="on"
label="Touch Enabled"
description="Enable Swipe Function on touch devices">
<option value="on" text="On"></option>
<option value="off" text="Off"></option>
</field>
<field name="stop_on_hover"
type="radio"
default="on"
label="Stop On Hover"
description="Stop the Timer when hovering the slider">
<option value="on" text="On"></option>
<option value="off" text="Off"></option>
</field>
<field name="navigaion_type"
type="list"
default="bullet"
label="Navigation Type"
description="Display type of the navigation bar (Default:none">
<option value="none" text="None"></option>
<option value="bullet" text="Bullet"></option>
<option value="thumb" text="Thumb"></option>
<option value="both" text="Both"></option>
</field>
<field name="navigation_arrows"
type="list"
default="solo"
label="Navigation Arrows"
description="Display position of the Navigation Arrows (** By navigation Type Thumb arrows always centered or none visible)">
<option value="nexttobullets" text="With Bullets"></option>
<option value="solo" text="Solo"></option>
<option value="none" text="None"></option>
</field>
<field name="navigation_style"
type="list"
default="round"
label="Navigation Style"
description="Look of the navigation bullets ** If you choose navbar, we recommend to choose Navigation Arrows to nexttobullets">
<option value="round" text="Round"></option>
<option value="navbar" text="Navbar"></option>
<option value="round-old" text="Old Round"></option>
<option value="square-old" text="Old Square"></option>
<option value="navbar-old" text="Old Navbar"></option>
</field>
<field name="navigaion_always_on"
type="list"
default="false"
label="Always Show Navigation"
description="Always show the navigation and the thumbnails.">
<option value="true" text="Yes"></option>
<option value="false" text="No"></option>
</field>
<field name="hide_thumbs"
type="text"
label="Hide Navitagion After"
default="200"
unit="ms"
description="Time after that the Navigation and the Thumbs will be hidden(Default: 200 ms)"></field>
<field type="control"
ctype="enable"
parent="navigaion_always_on"
child="hide_thumbs"
value="false"
></field>
<field type="bulk_control_start"
parent="navigaion_type"
ctype="hide"
value="none"
/>
<field type="hr"></field>
<field name="navigaion_align_hor"
type="list"
default="center"
label="Navigation Horizontal Align"
description="Horizontal Align of Bullets / Thumbnails">
<option value="left" text="Left"></option>
<option value="center" text="Center"></option>
<option value="right" text="Right"></option>
</field>
<field name="navigaion_align_vert"
type="list"
default="bottom"
label="Navigation Vertical Align"
description="Vertical Align of Bullets / Thumbnails">
<option value="top" text="Top"></option>
<option value="center" text="Center"></option>
<option value="bottom" text="Bottom"></option>
</field>
<field name="navigaion_offset_hor"
type="text"
label="Navigation Horizontal Offset"
default="0"
unit="px"
description="Offset from current Horizontal position of Bullets / Thumbnails negative and positive direction"></field>
<field name="navigaion_offset_vert"
type="text"
label="Navigation Vertical Offset"
default="20"
unit="px"
description="Offset from current Vertical position of Bullets / Thumbnails negative and positive direction"></field>
<field type="bulk_control_end"></field>
<field type="bulk_control_start"
parent="navigation_arrows"
ctype="hide"
value="none"
/>
<field type="hr"></field>
<field name="leftarrow_align_hor"
type="list"
default="left"
label="Left Arrow Horizontal Align"
description="Horizontal Align of left Arrow (only if arrow is not next to bullets)">
<option value="left" text="Left"></option>
<option value="center" text="Center"></option>
<option value="right" text="Right"></option>
</field>
<field name="leftarrow_align_vert"
type="list"
default="center"
label="Left Arrow Vertical Align"
description="Vertical Align of left Arrow (only if arrow is not next to bullets)">
<option value="top" text="Top"></option>
<option value="center" text="Center"></option>
<option value="bottom" text="Bottom"></option>
</field>
<field name="leftarrow_offset_hor"
type="text"
label="Left Arrow Horizontal Offset"
default="20"
unit="px"
description="Offset from current Horizontal position of of left Arrow negative and positive direction"></field>
<field name="leftarrow_offset_vert"
type="text"
label="Left Arrow Vertical Offset"
default="0"
unit="px"
description="Offset from current Vertical position of of left Arrow negative and positive direction"></field>
<field type="hr"></field>
<field name="rightarrow_align_hor"
type="list"
default="right"
label="Right Arrow Horizontal Align"
description="Horizontal Align of right Arrow (only if arrow is not next to bullets)">
<option value="left" text="Left"></option>
<option value="center" text="Center"></option>
<option value="right" text="Right"></option>
</field>
<field name="rightarrow_align_vert"
type="list"
default="center"
label="Right Arrow Vertical Align"
description="Vertical Align of right Arrow (only if arrow is not next to bullets)">
<option value="top" text="Top"></option>
<option value="center" text="Center"></option>
<option value="bottom" text="Bottom"></option>
</field>
<field name="rightarrow_offset_hor"
type="text"
label="Right Arrow Horizontal Offset"
default="20"
unit="px"
description="Offset from current Horizontal position of of right Arrow negative and positive direction"></field>
<field name="rightarrow_offset_vert"
type="text"
label="Right Arrow Vertical Offset"
default="0"
unit="px"
description="Offset from current Vertical position of of right Arrow negative and positive direction"></field>
<field type="bulk_control_end"></field>
</fieldset>
<fieldset name="thumbs" label="Thumbnails">
<field name="thumb_width"
type="text"
label="Thumb Width"
default="100"
unit="px"
description="The basic Width of one Thumbnail (only if thumb is selected)"></field>
<field name="thumb_height"
type="text"
label="Thumb Height"
default="50"
unit="px"
description="the basic Height of one Thumbnail (only if thumb is selected)"></field>
<field name="thumb_amount"
type="text"
label="Thumb Amount"
default="5"
unit="px"
description="the amount of the Thumbs visible same time (only if thumb is selected)"></field>
</fieldset>
<fieldset name="mobile_visibility" label="Mobile Visibility">
<field name="hide_slider_under"
type="text"
label="Hide Slider Under Width"
default="0"
unit="px"
description="Hide the slider under some slider width. Works only in Responsive Style. Not available for Fullwidth."></field>
<field name="hide_defined_layers_under"
type="text"
label="Hide Defined Layers Under Width"
default="0"
unit="px"
description="Hide some defined layers in the layer properties under some slider width."></field>
<field name="hide_all_layers_under"
type="text"
label="Hide All Layers Under Width"
default="0"
unit="px"
description="Hide all layers under some slider width"></field>
</fieldset>
<fieldset name="first_slide" label="Alternative First Slide">
<field name="start_with_slide"
type="text"
default="1"
label="Start With Slide"
description="Change it if you want to start from a different slide then 1">
</field>
<field type="hr"></field>
<field name="first_transition_active"
type="radio"
default="off"
label="First Transition Active"
description="If active, it will overwrite the first slide transition. Use it when you want a special transition for the first slide only.">
<option value="true" text="On"></option>
<option value="false" text="Off"></option>
</field>
<field type="bulk_control_start"
parent="first_transition_active"
ctype="enable"
value="true"
/>
<field name="first_transition_type"
type="list"
default="fade"
label="First Transition Type"
description="First slide transition type">
<option value="replace" text="Replace me!"></option>
<option value="replace2" text="Replace me!"></option>
</field>
<field name="first_transition_duration"
type="text"
default="300"
label="First Transition Duration"
description="First slide transition duration (Default:300, min: 100 max 2000)"
unit="ms">
</field>
<field name="first_transition_slot_amount"
type="text"
default="7"
label="First Transition Slot Amount"
description="The number of slots or boxes the slide is divided into. If you use boxfade, over 7 slots can be juggy"
unit="ms">
</field>
<field type="bulk_control_end"/>
</fieldset>
<fieldset name="troubleshooting" label="Troubleshooting">
<field name="jquery_noconflict"
type="list"
default="on"
label="JQuery No Conflict Mode"
description="Turns on / off jquery noconflict mode. You can play with this option when you have some javascript conflicts.">
<option value="on" text="On"></option>
<option value="off" text="Off"></option>
</field>
<field name="js_to_body"
type="radio"
default="false"
label="Put JS Includes To Body"
description="Putting the js to body (in addition to head) is good for fixing some javascript conflicts of type: TypeError: tpj('#rev_slider_1_1').show().revolution is not a function">
<option value="true" text="True"></option>
<option value="false" text="False"></option>
</field>
<field name="output_type"
type="list"
default="none"
label="Output Filters Protection"
description="Activate a protection against wordpress output filters that adds html blocks to the shortcode output like P and BR">
<option value="none" text="None"></option>
<option value="compress" text="By Compressing Output"></option>
<option value="echo" text="By Echo Output"></option>
</field>
</fieldset>
</fields>

View File

@ -0,0 +1,147 @@
<?php
_e("General Settings","revslider");
_e("Position","revslider");
_e("Appearance","revslider");
_e("Navigation","revslider");
_e("Thumbnails","revslider");
_e("Mobile Visibility","revslider");
_e("Alternative First Slide","revslider");
_e("Troubleshooting","revslider");
_e("Delay","revslider");
_e("The time one slide stays on the screen in Milliseconds","revslider");
_e("Shuffle Mode","revslider");
_e("Turn Shuffle Mode on and off! Will be randomized only once at the start.","revslider");
_e("On","revslider");
_e("Off","revslider");
_e("Lazy Load","revslider");
_e("The lazy load means that the images will be loaded by demand, it speeds the loading of the slider.","revslider");
_e("Load Google Font","revslider");
_e("yes / no to load google font","revslider");
_e("Yes","revslider");
_e("No","revslider");
_e("Google Font","revslider");
_e("The google font family to load","revslider");
_e("To add more google fonts please read <a target=\"_blank\" href=\"http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380/faqs/15268\"> this tutorial </a> ","revslider");
_e("Stop Slider","revslider");
_e("On / Off to stop slider after some amount of loops / slides","revslider");
_e("Stop After Loops","revslider");
_e("Stop the slider after certain amount of loops. 0 related to the first loop.","revslider");
_e("Stop At Slide","revslider");
_e("Stop the slider at the given slide","revslider");
_e("Position on the page","revslider");
_e("The position of the slider on the page, (float:left, float:right, margin:0px auto;)","revslider");
_e("Left","revslider");
_e("Center","revslider");
_e("Right","revslider");
_e("Margin Top","revslider");
_e("The top margin of the slider wrapper div","revslider");
_e("px","revslider");
_e("Margin Bottom","revslider");
_e("The bottom margin of the slider wrapper div","revslider");
_e("Margin Left","revslider");
_e("The left margin of the slider wrapper div","revslider");
_e("Margin Right","revslider");
_e("The right margin of the slider wrapper div","revslider");
_e("Shadow Type","revslider");
_e("The Shadow display underneath the banner. The shadow apply to fixed and responsive modes only, the full width slider don't have a shadow.","revslider");
_e("No Shadow","revslider");
_e("1","revslider");
_e("2","revslider");
_e("3","revslider");
_e("Show Timer Line","revslider");
_e("Show the top running timer line","revslider");
_e("Top","revslider");
_e("Bottom","revslider");
_e("Hide","revslider");
_e("Background color","revslider");
_e("Slider wrapper div background color, for transparent slider, leave empty.","revslider");
_e("Padding (border)","revslider");
_e("The wrapper div padding, if it has value, then together with background color it it will make border around the slider.","revslider");
_e("Show Background Image","revslider");
_e("yes / no to put background image to the main slider wrapper.","revslider");
_e("Background Image Url","revslider");
_e("The background image that will be on the slider wrapper. Will be shown at slider preloading.","revslider");
_e("Touch Enabled","revslider");
_e("Enable Swipe Function on touch devices","revslider");
_e("Stop On Hover","revslider");
_e("Stop the Timer when hovering the slider","revslider");
_e("Navigation Type","revslider");
_e("Display type of the navigation bar (Default:none","revslider");
_e("None","revslider");
_e("Bullet","revslider");
_e("Thumb","revslider");
_e("Both","revslider");
_e("Navigation Arrows","revslider");
_e("Display position of the Navigation Arrows (** By navigation Type Thumb arrows always centered or none visible)","revslider");
_e("With Bullets","revslider");
_e("Solo","revslider");
_e("Navigation Style","revslider");
_e("Look of the navigation bullets ** If you choose navbar, we recommend to choose Navigation Arrows to nexttobullets","revslider");
_e("Round","revslider");
_e("Navbar","revslider");
_e("Old Round","revslider");
_e("Old Square","revslider");
_e("Old Navbar","revslider");
_e("Always Show Navigation","revslider");
_e("Always show the navigation and the thumbnails.","revslider");
_e("Hide Navitagion After","revslider");
_e("Time after that the Navigation and the Thumbs will be hidden(Default: 200 ms)","revslider");
_e("ms","revslider");
_e("Navigation Horizontal Align","revslider");
_e("Horizontal Align of Bullets / Thumbnails","revslider");
_e("Navigation Vertical Align","revslider");
_e("Vertical Align of Bullets / Thumbnails","revslider");
_e("Navigation Horizontal Offset","revslider");
_e("Offset from current Horizontal position of Bullets / Thumbnails negative and positive direction","revslider");
_e("Navigation Vertical Offset","revslider");
_e("Offset from current Vertical position of Bullets / Thumbnails negative and positive direction","revslider");
_e("Left Arrow Horizontal Align","revslider");
_e("Horizontal Align of left Arrow (only if arrow is not next to bullets)","revslider");
_e("Left Arrow Vertical Align","revslider");
_e("Vertical Align of left Arrow (only if arrow is not next to bullets)","revslider");
_e("Left Arrow Horizontal Offset","revslider");
_e("Offset from current Horizontal position of of left Arrow negative and positive direction","revslider");
_e("Left Arrow Vertical Offset","revslider");
_e("Offset from current Vertical position of of left Arrow negative and positive direction","revslider");
_e("Right Arrow Horizontal Align","revslider");
_e("Horizontal Align of right Arrow (only if arrow is not next to bullets)","revslider");
_e("Right Arrow Vertical Align","revslider");
_e("Vertical Align of right Arrow (only if arrow is not next to bullets)","revslider");
_e("Right Arrow Horizontal Offset","revslider");
_e("Offset from current Horizontal position of of right Arrow negative and positive direction","revslider");
_e("Right Arrow Vertical Offset","revslider");
_e("Offset from current Vertical position of of right Arrow negative and positive direction","revslider");
_e("Thumb Width","revslider");
_e("The basic Width of one Thumbnail (only if thumb is selected)","revslider");
_e("Thumb Height","revslider");
_e("the basic Height of one Thumbnail (only if thumb is selected)","revslider");
_e("Thumb Amount","revslider");
_e("the amount of the Thumbs visible same time (only if thumb is selected)","revslider");
_e("Hide Slider Under Width","revslider");
_e("Hide the slider under some slider width. Works only in Responsive Style. Not available for Fullwidth.","revslider");
_e("Hide Defined Layers Under Width","revslider");
_e("Hide some defined layers in the layer properties under some slider width.","revslider");
_e("Hide All Layers Under Width","revslider");
_e("Hide all layers under some slider width","revslider");
_e("Start With Slide","revslider");
_e("Change it if you want to start from a different slide then 1","revslider");
_e("First Transition Active","revslider");
_e("If active, it will overwrite the first slide transition. Use it when you want a special transition for the first slide only.","revslider");
_e("First Transition Type","revslider");
_e("First slide transition type","revslider");
_e("Replace me!","revslider");
_e("First Transition Duration","revslider");
_e("First slide transition duration (Default:300, min: 100 max 2000)","revslider");
_e("First Transition Slot Amount","revslider");
_e("The number of slots or boxes the slide is divided into. If you use boxfade, over 7 slots can be juggy","revslider");
_e("JQuery No Conflict Mode","revslider");
_e("Turns on / off jquery noconflict mode. You can play with this option when you have some javascript conflicts.","revslider");
_e("Put JS Includes To Body","revslider");
_e("Putting the js to body (in addition to head) is good for fixing some javascript conflicts of type: TypeError: tpj('#rev_slider_1_1').show().revolution is not a function","revslider");
_e("True","revslider");
_e("False","revslider");
_e("Output Filters Protection","revslider");
_e("Activate a protection against wordpress output filters that adds html blocks to the shortcode output like P and BR","revslider");
_e("By Compressing Output","revslider");
_e("By Echo Output","revslider");
?>