first commit
This commit is contained in:
51
wp-content/plugins/revslider/views/master_view.php
Normal file
51
wp-content/plugins/revslider/views/master_view.php
Normal file
@ -0,0 +1,51 @@
|
||||
<?php
|
||||
global $revSliderVersion;
|
||||
|
||||
$wrapperClass = "";
|
||||
if(GlobalsRevSlider::$isNewVersion == false)
|
||||
$wrapperClass = " oldwp";
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
var g_uniteDirPlagin = "<?php echo self::$dir_plugin?>";
|
||||
var g_urlContent = "<?php echo UniteFunctionsWPRev::getUrlContent()?>";
|
||||
var g_urlAjaxShowImage = "<?php echo UniteBaseClassRev::$url_ajax_showimage?>";
|
||||
var g_urlAjaxActions = "<?php echo UniteBaseClassRev::$url_ajax_actions?>";
|
||||
var g_settingsObj = {};
|
||||
|
||||
</script>
|
||||
|
||||
<div id="div_debug"></div>
|
||||
|
||||
<div class='unite_error_message' id="error_message" style="display:none;"></div>
|
||||
|
||||
<div class='unite_success_message' id="success_message" style="display:none;"></div>
|
||||
|
||||
<div id="viewWrapper" class="view_wrapper<?php echo $wrapperClass?>">
|
||||
|
||||
<?php
|
||||
self::requireView($view);
|
||||
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="divColorPicker" style="display:none;"></div>
|
||||
|
||||
<?php self::requireView("system/video_dialog")?>
|
||||
<?php self::requireView("system/update_dialog")?>
|
||||
<?php self::requireView("system/general_settings_dialog")?>
|
||||
|
||||
<div class="tp-plugin-version">© All rights reserved, <a href="http://themepunch.com" target="_blank">Themepunch</a> ver. <?php echo $revSliderVersion?>
|
||||
<a id="button_upload_plugin" class="greenbutton_normal update_plugin mleft_10" href="javascript:void(0)"><?php _e("Update Plugin",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
</div>
|
||||
|
||||
<?php if(GlobalsRevSlider::SHOW_DEBUG == true): ?>
|
||||
|
||||
Debug Functions (for developer use only):
|
||||
<br><br>
|
||||
|
||||
<a id="button_update_text" class="button-primary" href="javascript:void(0)">Update Text</a>
|
||||
|
||||
<?php endif?>
|
||||
|
105
wp-content/plugins/revslider/views/slide.php
Normal file
105
wp-content/plugins/revslider/views/slide.php
Normal file
@ -0,0 +1,105 @@
|
||||
<?php
|
||||
|
||||
//get input
|
||||
$slideID = UniteFunctionsRev::getGetVar("id");
|
||||
|
||||
//init slide object
|
||||
$slide = new RevSlide();
|
||||
$slide->initByID($slideID);
|
||||
$slideParams = $slide->getParams();
|
||||
|
||||
//dmp($slideParams);exit();
|
||||
|
||||
$operations = new RevOperations();
|
||||
|
||||
//init slider object
|
||||
$sliderID = $slide->getSliderID();
|
||||
$slider = new RevSlider();
|
||||
$slider->initByID($sliderID);
|
||||
$sliderParams = $slider->getParams();
|
||||
|
||||
$arrSlideNames = $slider->getArrSlideNames();
|
||||
|
||||
//set slide delay
|
||||
$sliderDelay = $slider->getParam("delay","9000");
|
||||
$slideDelay = $slide->getParam("delay","");
|
||||
if(empty($slideDelay))
|
||||
$slideDelay = $sliderDelay;
|
||||
|
||||
require self::getSettingsFilePath("slide_settings");
|
||||
require self::getSettingsFilePath("layer_settings");
|
||||
|
||||
$settingsLayerOutput = new UniteSettingsProductSidebarRev();
|
||||
$settingsSlideOutput = new UniteSettingsRevProductRev();
|
||||
|
||||
$arrLayers = $slide->getLayers();
|
||||
|
||||
//get settings objects
|
||||
$settingsLayer = self::getSettings("layer_settings");
|
||||
$settingsSlide = self::getSettings("slide_settings");
|
||||
|
||||
$cssContent = self::getSettings("css_captions_content");
|
||||
$arrCaptionClasses = $operations->getArrCaptionClasses($cssContent);
|
||||
|
||||
$arrButtonClasses = $operations->getButtonClasses();
|
||||
|
||||
//set layer caption as first caption class
|
||||
$firstCaption = !empty($arrCaptionClasses)?$arrCaptionClasses[0]:"";
|
||||
$settingsLayer->updateSettingValue("layer_caption",$firstCaption);
|
||||
|
||||
//set stored values from "slide params"
|
||||
$settingsSlide->setStoredValues($slideParams);
|
||||
|
||||
//init the settings output object
|
||||
$settingsLayerOutput->init($settingsLayer);
|
||||
$settingsSlideOutput->init($settingsSlide);
|
||||
|
||||
//set various parameters needed for the page
|
||||
$width = $sliderParams["width"];
|
||||
$height = $sliderParams["height"];
|
||||
$imageUrl = $slide->getImageUrl();
|
||||
$imageID = $slide->getImageID();
|
||||
|
||||
$imageFilename = $slide->getImageFilename();
|
||||
$urlCaptionsCSS = GlobalsRevSlider::$urlCaptionsCSS;
|
||||
|
||||
$style = "width:{$width}px;height:{$height}px;";
|
||||
|
||||
//set iframe parameters
|
||||
$iframeWidth = $width+60;
|
||||
$iframeHeight = $height+50;
|
||||
|
||||
$iframeStyle = "width:{$iframeWidth}px;height:{$iframeHeight}px;";
|
||||
|
||||
$closeUrl = self::getViewUrl(RevSliderAdmin::VIEW_SLIDES,"id=".$sliderID);
|
||||
|
||||
$jsonLayers = UniteFunctionsRev::jsonEncodeForClientSide($arrLayers);
|
||||
$jsonCaptions = UniteFunctionsRev::jsonEncodeForClientSide($arrCaptionClasses);
|
||||
|
||||
$loadGoogleFont = $slider->getParam("load_googlefont","false");
|
||||
|
||||
//bg type params
|
||||
$bgType = UniteFunctionsRev::getVal($slideParams, "background_type","image");
|
||||
$slideBGColor = UniteFunctionsRev::getVal($slideParams, "slide_bg_color","#E7E7E7");
|
||||
$divLayersClass = "slide_layers";
|
||||
$bgSolidPickerProps = 'class="inputColorPicker slide_bg_color disabled" disabled="disabled"';
|
||||
|
||||
switch($bgType){
|
||||
case "trans":
|
||||
$divLayersClass = "slide_layers trans_bg";
|
||||
break;
|
||||
case "solid":
|
||||
$style .= "background-color:{$slideBGColor};";
|
||||
$bgSolidPickerProps = 'class="inputColorPicker slide_bg_color" style="background-color:'.$slideBGColor.'"';
|
||||
break;
|
||||
case "image":
|
||||
$style .= "background-image:url('{$imageUrl}');";
|
||||
break;
|
||||
}
|
||||
|
||||
$slideTitle = $slide->getParam("title","Slide");
|
||||
$slideOrder = $slide->getOrder();
|
||||
|
||||
require self::getPathTemplate("slide");
|
||||
?>
|
||||
|
65
wp-content/plugins/revslider/views/slider.php
Normal file
65
wp-content/plugins/revslider/views/slider.php
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
$settingsMain = self::getSettings("slider_main");
|
||||
$settingsParams = self::getSettings("slider_params");
|
||||
|
||||
$settingsSliderMain = new RevSliderSettingsProduct();
|
||||
$settingsSliderParams = new UniteSettingsProductSidebarRev();
|
||||
|
||||
//check existing slider data:
|
||||
$sliderID = self::getGetVar("id");
|
||||
|
||||
if(!empty($sliderID)){
|
||||
$slider = new RevSlider();
|
||||
$slider->initByID($sliderID);
|
||||
|
||||
//get setting fields
|
||||
$settingsFields = $slider->getSettingsFields();
|
||||
$arrFieldsMain = $settingsFields["main"];
|
||||
$arrFieldsParams = $settingsFields["params"];
|
||||
|
||||
//modify arrows type for backword compatability
|
||||
$arrowsType = UniteFunctionsRev::getVal($arrFieldsParams, "navigation_arrows");
|
||||
switch($arrowsType){
|
||||
case "verticalcentered":
|
||||
$arrFieldsParams["navigation_arrows"] = "solo";
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
//set setting values from the slider
|
||||
$settingsMain->setStoredValues($arrFieldsParams);
|
||||
|
||||
//set custom type params values:
|
||||
$settingsMain = RevSliderSettingsProduct::setSettingsCustomValues($settingsMain, $arrFieldsParams);
|
||||
|
||||
$settingsParams->setStoredValues($arrFieldsParams);
|
||||
|
||||
//update short code setting
|
||||
$shortcode = $slider->getShortcode();
|
||||
$settingsMain->updateSettingValue("shortcode",$shortcode);
|
||||
|
||||
$linksEditSlides = self::getViewUrl(RevSliderAdmin::VIEW_SLIDES,"id=$sliderID");
|
||||
|
||||
$settingsSliderParams->init($settingsParams);
|
||||
$settingsSliderMain->init($settingsMain);
|
||||
|
||||
$settingsSliderParams->isAccordion(true);
|
||||
|
||||
require self::getPathTemplate("slider_edit");
|
||||
}
|
||||
|
||||
else{
|
||||
|
||||
$settingsSliderParams->init($settingsParams);
|
||||
$settingsSliderMain->init($settingsMain);
|
||||
|
||||
$settingsSliderParams->isAccordion(true);
|
||||
|
||||
require self::getPathTemplate("slider_new");
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
12
wp-content/plugins/revslider/views/sliders.php
Normal file
12
wp-content/plugins/revslider/views/sliders.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$slider = new RevSlider();
|
||||
$arrSliders = $slider->getArrSliders();
|
||||
|
||||
$addNewLink = self::getViewUrl(RevSliderAdmin::VIEW_SLIDER);
|
||||
|
||||
|
||||
require self::getPathTemplate("sliders");
|
||||
?>
|
||||
|
||||
|
||||
|
34
wp-content/plugins/revslider/views/slides.php
Normal file
34
wp-content/plugins/revslider/views/slides.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
$sliderID = self::getGetVar("id");
|
||||
|
||||
if(empty($sliderID))
|
||||
UniteFunctionsRev::throwError("Slider ID not found");
|
||||
|
||||
$slider = new RevSlider();
|
||||
$slider->initByID($sliderID);
|
||||
$sliderParams = $slider->getParams();
|
||||
|
||||
$arrSliders = $slider->getArrSlidersShort($sliderID);
|
||||
$selectSliders = UniteFunctionsRev::getHTMLSelect($arrSliders,"","id='selectSliders'",true);
|
||||
|
||||
$numSliders = count($arrSliders);
|
||||
|
||||
//set iframe parameters
|
||||
$width = $sliderParams["width"];
|
||||
$height = $sliderParams["height"];
|
||||
|
||||
$iframeWidth = $width+60;
|
||||
$iframeHeight = $height+50;
|
||||
|
||||
$iframeStyle = "width:{$iframeWidth}px;height:{$iframeHeight}px;";
|
||||
|
||||
$arrSlides = $slider->getSlides();
|
||||
$numSlides = count($arrSlides);
|
||||
|
||||
$linksSliderSettings = self::getViewUrl(RevSliderAdmin::VIEW_SLIDER,"id=$sliderID");
|
||||
|
||||
require self::getPathTemplate("slides");
|
||||
|
||||
?>
|
||||
|
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
$generalSettings = self::getSettings("general");
|
||||
$settingsOutput = new UniteSettingsRevProductRev();
|
||||
$settingsOutput->init($generalSettings);
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div id="dialog_general_settings" title="<?php _e("General Settings",REVSLIDER_TEXTDOMAIN)?>" style="display:none;">
|
||||
|
||||
<?php
|
||||
$settingsOutput->draw("form_general_settings",true);
|
||||
?>
|
||||
<br>
|
||||
|
||||
<a id="button_save_general_settings" class="button-primary"><?php _e("Update",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<span id="loader_general_settings" class="loader_round mleft_10"></span>
|
||||
|
||||
<!--
|
||||
|
||||
<a class="button-primary"><?php _e("Close",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
-->
|
||||
|
||||
</div>
|
24
wp-content/plugins/revslider/views/system/update_dialog.php
Normal file
24
wp-content/plugins/revslider/views/system/update_dialog.php
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
<div id="dialog_update_plugin" class="api_wrapper" title="<?php _e("Update Slider Plugin",REVSLIDER_TEXTDOMAIN)?>" style="display:none;">
|
||||
<div class="api-caption"><?php _e("Update Revolution Slider Plugin",REVSLIDER_TEXTDOMAIN)?>:</div>
|
||||
<div class="api-desc">
|
||||
<?php _e("To update the slider please show the slider install package. The files will be overwriten.",REVSLIDER_TEXTDOMAIN) ?>
|
||||
<br> <?php _e("File example: revslider.zip")?>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<form action="<?php echo UniteBaseClassRev::$url_ajax?>" enctype="multipart/form-data" method="post">
|
||||
|
||||
<input type="hidden" name="action" value="revslider_ajax_action">
|
||||
<input type="hidden" name="client_action" value="update_plugin">
|
||||
|
||||
<?php _e("Choose the update file:",REVSLIDER_TEXTDOMAIN)?>
|
||||
<br>
|
||||
<input type="file" name="update_file" class="input_update_slider">
|
||||
|
||||
<input type="submit" class='button-secondary' value="<?php _e("Update Slider",REVSLIDER_TEXTDOMAIN)?>">
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
160
wp-content/plugins/revslider/views/system/video_dialog.php
Normal file
160
wp-content/plugins/revslider/views/system/video_dialog.php
Normal file
@ -0,0 +1,160 @@
|
||||
|
||||
<!-- //Youtube dialog: -->
|
||||
<div id="dialog_video" class="dialog-video" title="<?php _e("Add Youtube Layout",REVSLIDER_TEXTDOMAIN)?>" style="display:none">
|
||||
|
||||
<div class="video_left">
|
||||
|
||||
<!-- Type chooser -->
|
||||
|
||||
<div class="video-type-chooser">
|
||||
<div class="choose-video-type">
|
||||
<?php _e("Choose video type",REVSLIDER_TEXTDOMAIN)?>
|
||||
</div>
|
||||
|
||||
<label for="video_radio_youtube"><?php _e("Youtube",REVSLIDER_TEXTDOMAIN)?></label>
|
||||
<input type="radio" checked id="video_radio_youtube" name="video_select">
|
||||
|
||||
<label for="video_radio_vimeo"><?php _e("Vimeo",REVSLIDER_TEXTDOMAIN)?></label>
|
||||
<input type="radio" id="video_radio_vimeo" name="video_select">
|
||||
|
||||
<label for="video_radio_html5"><?php _e("HTML5",REVSLIDER_TEXTDOMAIN)?></label>
|
||||
<input type="radio" id="video_radio_html5" name="video_select">
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Vimeo block -->
|
||||
|
||||
<div id="video_block_vimeo" class="video-select-block" style="display:none;" >
|
||||
<div class="video-title" >
|
||||
<?php _e("Enter Vimeo ID or URL",REVSLIDER_TEXTDOMAIN)?>
|
||||
</div>
|
||||
|
||||
<input type="text" id="vimeo_id" value=""></input>
|
||||
|
||||
<input type="button" id="button_vimeo_search" class="button-regular" value="search">
|
||||
|
||||
<img id="vimeo_loader" src="<?php echo self::$url_plugin?>/images/loader.gif" style="display:none">
|
||||
|
||||
<div class="video_example">
|
||||
<?php _e("example: 30300114",REVSLIDER_TEXTDOMAIN)?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Youtube block -->
|
||||
|
||||
<div id="video_block_youtube" class="video-select-block">
|
||||
|
||||
<div class="video-title">
|
||||
<?php _e("Enter Youtube ID or URL",REVSLIDER_TEXTDOMAIN)?>:
|
||||
</div>
|
||||
|
||||
<input type="text" id="youtube_id" value=""></input>
|
||||
|
||||
<input type="button" id="button_youtube_search" class="button-regular" value="search">
|
||||
|
||||
<img id="youtube_loader" src="<?php echo self::$url_plugin?>/images/loader.gif" style="display:none">
|
||||
|
||||
<div class="video_example">
|
||||
<?php _e("example",REVSLIDER_TEXTDOMAIN)?>: <?php echo GlobalsRevSlider::YOUTUBE_EXAMPLE_ID?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Html 5 block -->
|
||||
|
||||
<div id="video_block_html5" class="video-select-block" style="display:none;">
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<div class="video_title2">
|
||||
<?php _e("Poster Image Url")?>:
|
||||
</div>
|
||||
<input type="text" id="html5_url_poster" value=""></input>
|
||||
<span class="video_example"><?php _e("Example",REVSLIDER_TEXTDOMAIN)?>: http://video-js.zencoder.com/oceans-clip.png</span>
|
||||
</li>
|
||||
<li>
|
||||
<div class="video_title2">
|
||||
<?php _e("Video MP4 Url")?>:
|
||||
</div>
|
||||
<input type="text" id="html5_url_mp4" value=""></input>
|
||||
<span class="video_example"><?php _e("Example",REVSLIDER_TEXTDOMAIN)?>: http://video-js.zencoder.com/oceans-clip.mp4</span>
|
||||
</li>
|
||||
<li>
|
||||
<div class="video_title2">
|
||||
<?php _e("Video WEBM Url")?>:
|
||||
</div>
|
||||
<input type="text" id="html5_url_webm" value=""></input>
|
||||
<span class="video_example"><?php _e("Example",REVSLIDER_TEXTDOMAIN)?>: http://video-js.zencoder.com/oceans-clip.webm</span>
|
||||
</li>
|
||||
<li>
|
||||
<div class="video_title2">
|
||||
<?php _e("Video OGV Url")?>:
|
||||
</div>
|
||||
<input type="text" id="html5_url_ogv" value=""></input>
|
||||
<span class="video_example"><?php _e("Example",REVSLIDER_TEXTDOMAIN)?>: http://video-js.zencoder.com/oceans-clip.ogv</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Video controls -->
|
||||
|
||||
<div id="video_hidden_controls" style="display:none;">
|
||||
|
||||
<div id="video_size_wrapper" class="youtube-inputs-wrapper">
|
||||
<?php _e("Width",REVSLIDER_TEXTDOMAIN)?>:
|
||||
<input type="text" id="input_video_width" class="video-input-small" value="320">
|
||||
|
||||
<?php _e("Height",REVSLIDER_TEXTDOMAIN)?>:
|
||||
<input type="text" id="input_video_height" class="video-input-small" value="240">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="mtop_20">
|
||||
<label for="input_video_fullwidth" class="video-title float_left">
|
||||
<?php _e("Full Width:",REVSLIDER_TEXTDOMAIN)?>
|
||||
</label>
|
||||
|
||||
<input type="checkbox" class="checkbox_video_dialog float_left" id="input_video_fullwidth" ></input>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="video-title mtop_20">
|
||||
<?php _e("Arguments:",REVSLIDER_TEXTDOMAIN)?>
|
||||
</div>
|
||||
|
||||
<input type="text" id="input_video_arguments" style="width:245px;" value="" data-youtube="<?php echo GlobalsRevSlider::DEFAULT_YOUTUBE_ARGUMENTS?>" data-vimeo="<?php GlobalsRevSlider::DEFAULT_VIMEO_ARGUMENTS?>" ></input>
|
||||
|
||||
<div class="mtop_20">
|
||||
<label for="input_video_autoplay" class="video-title float_left">
|
||||
<?php _e("Autplay:",REVSLIDER_TEXTDOMAIN)?>
|
||||
</label>
|
||||
|
||||
<input type="checkbox" class="checkbox_video_dialog float_left" id="input_video_autoplay" ></input>
|
||||
|
||||
<label for="input_video_nextslide" class="video-title float_left mleft_20">
|
||||
<?php _e("Next Slide On End:",REVSLIDER_TEXTDOMAIN)?>
|
||||
</label>
|
||||
|
||||
<input type="checkbox" class="checkbox_video_dialog float_left" id="input_video_nextslide" ></input>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="add-button-wrapper">
|
||||
<a href="javascript:void(0)" class="button-primary" id="button-video-add" data-textadd="<?php _e("Add This Video",REVSLIDER_TEXTDOMAIN)?>" data-textupdate="<?php _e("Update Video",REVSLIDER_TEXTDOMAIN)?>" ><?php _e("Add This Video",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="video_content" class="video_right"></div>
|
||||
|
||||
</div>
|
@ -0,0 +1,9 @@
|
||||
|
||||
<div id="dialog_preview" class="dialog_preview" title="Preview Slide" style="display:none;">
|
||||
<iframe id="frame_preview" name="frame_preview" style="<?php echo $iframeStyle?>"></iframe>
|
||||
</div>
|
||||
|
||||
<form id="form_preview_slide" name="form_preview_slide" action="" target="frame_preview" method="post">
|
||||
<input type="hidden" name="client_action" value="preview_slide">
|
||||
<input type="hidden" name="data" value="" id="preview_slide_data">
|
||||
</form>
|
@ -0,0 +1,8 @@
|
||||
<div id="dialog_preview_sliders" class="dialog_preview_sliders" title="Preview Slider" style="display:none;">
|
||||
<iframe id="frame_preview_slider" name="frame_preview_slider"></iframe>
|
||||
</div>
|
||||
|
||||
<form id="form_preview" name="form_preview" action="" target="frame_preview_slider" method="post">
|
||||
<input type="hidden" name="client_action" value="preview_slider">
|
||||
<input type="hidden" id="preview_sliderid" name="sliderid" value="">
|
||||
</form>
|
243
wp-content/plugins/revslider/views/templates/edit_layers.php
Normal file
243
wp-content/plugins/revslider/views/templates/edit_layers.php
Normal file
@ -0,0 +1,243 @@
|
||||
|
||||
<div class="edit_slide_wrapper">
|
||||
|
||||
<div class="editor_buttons_wrapper postbox unite-postbox mw960">
|
||||
<h3 class="box-closed tp-accordion"><span class="postbox-arrow2">-</span><span><?php _e("Slide Image and Layers",REVSLIDER_TEXTDOMAIN) ?></span></h3>
|
||||
<div class="toggled-content">
|
||||
<div class="inner_wrapper p10 pb0 pt0 boxsized">
|
||||
<div class="editor_buttons_wrapper_top">
|
||||
<input type="radio" name="radio_bgtype" data-bgtype="image" id="radio_back_image" <?php if($bgType == "image") echo 'checked="checked"'?> >
|
||||
<label for="radio_back_image"><?php _e("Image BG",REVSLIDER_TEXTDOMAIN)?></label>
|
||||
<a href="javascript:void(0)" id="button_change_image" class="button-primary margin_right10 <?php if($bgType != "image") echo "button-disabled" ?>" style="margin-bottom:5px">Change Image</a>
|
||||
|
||||
<span class="hor_sap"></span>
|
||||
|
||||
<input type="radio" name="radio_bgtype" data-bgtype="trans" id="radio_back_trans" <?php if($bgType == "trans") echo 'checked="checked"'?>>
|
||||
<label for="radio_back_trans"><?php _e("Transparent BG",REVSLIDER_TEXTDOMAIN)?></label>
|
||||
|
||||
<span class="hor_sap"></span>
|
||||
|
||||
<input type="radio" name="radio_bgtype" data-bgtype="solid" id="radio_back_solid" <?php if($bgType == "solid") echo 'checked="solid"'?>>
|
||||
<label for="radio_back_solid"><?php _e("Solid BG",REVSLIDER_TEXTDOMAIN)?></label>
|
||||
<input type="text" name="bg_color" id="slide_bg_color" <?php echo $bgSolidPickerProps?> value="<?php echo $slideBGColor?>">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="editor_buttons_wrapper_bottom">
|
||||
<a href="javascript:void(0)" id="button_add_layer" class="button-secondary margin_top2 ml0 mr10 mb10"><?php _e("Add Layer",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<a href="javascript:void(0)" id="button_add_layer_image" class="button-secondary margin_top2 ml0 mr10 mb10"><?php _e("Add Layer: Image",REVSLIDER_TEXTDOMAIN)?> </a>
|
||||
<a href="javascript:void(0)" id="button_add_layer_video" class="button-secondary margin_top2 ml0 mr10 mb10"><?php _e("Add Layer: Video",REVSLIDER_TEXTDOMAIN)?> </a>
|
||||
|
||||
<a href="javascript:void(0)" id="button_delete_layer" class="button-secondary margin_top2 ml0 mr10 mb10 button-disabled"><?php _e("Delete Layer",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<a href="javascript:void(0)" id="button_delete_all" class="button-secondary margin_top2 ml0 mr10 mb10 button-disabled"><?php _e("Delete All Layers",REVSLIDER_TEXTDOMAIN)?> </a>
|
||||
|
||||
<a href="javascript:void(0)" id="button_duplicate_layer" class="button-secondary margin_top2 ml0 mr10 mb10 button-disabled"><?php _e("Duplicate Layer")?></a>
|
||||
|
||||
<a href="javascript:void(0)" id="button_preview_slide" class="button-secondary ml0 mr10 mb10" title="Preview Slide">Preview Slide</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="divide10"></div>
|
||||
|
||||
<div id="divLayers" class="<?php echo $divLayersClass?>" style="<?php echo $style?>"></div>
|
||||
<div class="clear"></div>
|
||||
<div class="vert_sap"></div>
|
||||
|
||||
|
||||
|
||||
<div class="layer_props_wrapper">
|
||||
|
||||
<!----- Left Layers Form ------>
|
||||
|
||||
<div class="edit_layers_left">
|
||||
|
||||
<form name="form_layers" id="form_layers">
|
||||
<script type='text/javascript'>
|
||||
g_settingsObj['form_layers'] = {}
|
||||
</script>
|
||||
|
||||
<!-- THE GENERAL LAYER PARAMETERS -->
|
||||
<div class='settings_wrapper'>
|
||||
<div class="postbox unite-postbox">
|
||||
<h3 class='no-accordion tp-accordion'><span class="postbox-arrow2">-</span>
|
||||
<span><?php _e("Layer General Parameters",REVSLIDER_TEXTDOMAIN)?> </span>
|
||||
</h3>
|
||||
<div class="toggled-content tp-closeifotheropen">
|
||||
<ul class="list_settings">
|
||||
<?php
|
||||
$s = $settingsLayerOutput;
|
||||
$s->drawSettingsByNames("layer_caption,layer_text,button_edit_video,button_change_image_source");
|
||||
?>
|
||||
<li style="clear:both">
|
||||
<span class="setting_text_2 text-disabled" original-title=""><?php _e("Align & Position",REVSLIDER_TEXTDOMAIN)?></span>
|
||||
<hr>
|
||||
</li>
|
||||
<li class="align_table_wrapper">
|
||||
<table id="align_table" class="align_table table_disabled">
|
||||
<tr>
|
||||
<td><a href="javascript:void(0)" id="linkalign_left_top" data-hor="left" data-vert="top"></a></td>
|
||||
<td><a href="javascript:void(0)" id="linkalign_center_top" data-hor="center" data-vert="top"></a></td>
|
||||
<td><a href="javascript:void(0)" id="linkalign_right_top" data-hor="right" data-vert="top"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="javascript:void(0)" id="linkalign_left_middle" data-hor="left" data-vert="middle"></a></td>
|
||||
<td><a href="javascript:void(0)" id="linkalign_center_middle" data-hor="center" data-vert="middle"></a></td>
|
||||
<td><a href="javascript:void(0)" id="linkalign_right_middle" data-hor="right" data-vert="middle"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="javascript:void(0)" id="linkalign_left_bottom" data-hor="left" data-vert="bottom"></a></td>
|
||||
<td><a href="javascript:void(0)" id="linkalign_center_bottom" data-hor="center" data-vert="bottom"></a></td>
|
||||
<td><a href="javascript:void(0)" id="linkalign_right_bottom" data-hor="right" data-vert="bottom"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
|
||||
<?php
|
||||
$s->drawSettingsByNames("layer_left,layer_top");
|
||||
$s->drawSettingsByNames("layer_align_hor,layer_align_vert");
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- THE ANIMATION PARAMETERS -->
|
||||
<div class='settings_wrapper'>
|
||||
<div class="postbox unite-postbox">
|
||||
<h3 class='no-accordion tp-accordion tpa-closed'><span class="postbox-arrow2">+</span>
|
||||
<span><?php _e("Layer Animation",REVSLIDER_TEXTDOMAIN)?> </span>
|
||||
</h3>
|
||||
<div class="toggled-content tp-closedatstart tp-closeifotheropen">
|
||||
<ul class="list_settings">
|
||||
|
||||
<!--LAYER START ANIMATION -->
|
||||
<li id="end_layer_sap" class="attribute_title" style="">
|
||||
<span class="setting_text_2 text-disabled" original-title=""><?php _e("Start Transition",REVSLIDER_TEXTDOMAIN)?></span>
|
||||
<hr>
|
||||
</li>
|
||||
<?php
|
||||
$s->drawSettingsByNames("layer_animation,layer_easing,layer_speed");
|
||||
?>
|
||||
|
||||
<!--LAYER END ANIMATION -->
|
||||
<li id="end_layer_sap" class="attribute_title" style="">
|
||||
<span class="setting_text_2 text-disabled" original-title=""><?php _e("End Transition (optional)",REVSLIDER_TEXTDOMAIN)?></span>
|
||||
<hr>
|
||||
</li>
|
||||
<?php
|
||||
$s->drawSettingsByNames("layer_endanimation,layer_endeasing,layer_endspeed,layer_endtime");
|
||||
?>
|
||||
|
||||
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- END OF ANIMATION PARAMETERS -->
|
||||
|
||||
|
||||
<!-- THE ADVANCED LAYER PARAMETERS -->
|
||||
<div class='settings_wrapper'>
|
||||
<div class="postbox unite-postbox">
|
||||
<h3 class='no-accordion tp-accordion tpa-closed'><span class="postbox-arrow2">+</span>
|
||||
<span><?php _e("Layer Links & Advanced Params",REVSLIDER_TEXTDOMAIN)?> </span>
|
||||
</h3>
|
||||
<div class="toggled-content tp-closedatstart tp-closeifotheropen">
|
||||
|
||||
<ul class="list_settings">
|
||||
<?php
|
||||
$s = $settingsLayerOutput;
|
||||
$s->drawSettingsByNames("layer_image_link,layer_link_open_in,layer_slide_link,layer_scrolloffset,layer_cornerleft,layer_cornerright,layer_resizeme");
|
||||
?>
|
||||
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!----- End Left Layers Form ------>
|
||||
|
||||
<div class="edit_layers_right">
|
||||
<div class="postbox unite-postbox layer_sortbox">
|
||||
<h3 class="no-accordion">
|
||||
<span><?php _e("Layers Timing & Sorting",REVSLIDER_TEXTDOMAIN)?></span>
|
||||
<div id="button_sort_visibility" title="Hide All Layers"></div>
|
||||
<div id="button_sort_time" class="ui-state-active ui-corner-all button_sorttype"><span><?php _e("By Time",REVSLIDER_TEXTDOMAIN) ?></span></div>
|
||||
<div id="button_sort_depth" class="ui-state-hover ui-corner-all button_sorttype"><span><?php _e("By Depth",REVSLIDER_TEXTDOMAIN)?><span></div>
|
||||
</h3>
|
||||
|
||||
<div id="global_timeline" class="timeline">
|
||||
<div id="timeline_handle" class="timerdot"></div>
|
||||
<div id="layer_timeline" class="layertime"></div>
|
||||
<div class="mintime">0 ms</div>
|
||||
<div class="maxtime"><?php echo $slideDelay?> ms</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="inside">
|
||||
<ul id="sortlist" class='sortlist'></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="dialog_edit_css" class="dialog_edit_file" title="Edit captions.css file" style="display:none;">
|
||||
<p>
|
||||
<textarea id="textarea_edit" rows="20" cols="100"></textarea>
|
||||
</p>
|
||||
<div class='unite_error_message' id="dialog_error_message" style="display:none;"></div>
|
||||
<div class='unite_success_message' id="dialog_success_message" style="display:none;"></div>
|
||||
</div>
|
||||
|
||||
<div id="dialog_insert_button" class="dialog_insert_button" title="Insert Button" style="display:none;">
|
||||
<p>
|
||||
<ul class="list-buttons">
|
||||
<?php foreach($arrButtonClasses as $class=>$text): ?>
|
||||
<li>
|
||||
<a href="javascript:UniteLayersRev.insertButton('<?php echo $class?>','<?php echo $text?>')" class="tp-button <?php echo $class?> small"><?php echo $text?></a>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
<?php if(!empty($jsonLayers)):?>
|
||||
//set init layers object
|
||||
UniteLayersRev.setInitLayersJson(<?php echo $jsonLayers?>);
|
||||
<?php endif?>
|
||||
|
||||
<?php if(!empty($jsonCaptions)):?>
|
||||
UniteLayersRev.setInitCaptionClasses(<?php echo $jsonCaptions?>);
|
||||
<?php endif?>
|
||||
|
||||
UniteLayersRev.setCssCaptionsUrl('<?php echo $urlCaptionsCSS?>');
|
||||
UniteLayersRev.init("<?php echo $slideDelay?>");
|
||||
|
||||
});
|
||||
|
||||
</script>
|
103
wp-content/plugins/revslider/views/templates/slide.php
Normal file
103
wp-content/plugins/revslider/views/templates/slide.php
Normal file
@ -0,0 +1,103 @@
|
||||
|
||||
<!-- load good font -->
|
||||
<?php
|
||||
|
||||
if($loadGoogleFont == "true"){
|
||||
$googleFont = $slider->getParam("google_font","");
|
||||
if(!empty($googleFont))
|
||||
echo "<link href='http://fonts.googleapis.com/css?family=$googleFont' rel='stylesheet' id='google-font-css' type='text/css' media='all' />";
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="wrap settings_wrap">
|
||||
|
||||
<div class="title_line">
|
||||
<div id="icon-options-general" class="icon32"></div>
|
||||
<h2>
|
||||
<?php _e("Edit Slide",REVSLIDER_TEXTDOMAIN)?> <?php echo $slideOrder?>, title: <?php echo $slideTitle?>
|
||||
</h2>
|
||||
|
||||
<a href="<?php echo GlobalsRevSlider::LINK_HELP_SLIDE?>" class="button-secondary float_right mtop_10 mleft_10" target="_blank"><?php _e("Help",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="slide_selector" class="slide_selector">
|
||||
<ul class="list_slide_links">
|
||||
<?php
|
||||
$counter = 0;
|
||||
foreach($arrSlideNames as $slidelistID=>$slideName):
|
||||
$counter++;
|
||||
$class = "tipsy_enabled_top";
|
||||
$urlEditSlide = self::getViewUrl(RevSliderAdmin::VIEW_SLIDE,"id=$slidelistID");
|
||||
if($slidelistID == $slideID){
|
||||
$class .= " selected";
|
||||
$urlEditSlide = "javascript:void(0)";
|
||||
}
|
||||
|
||||
$addParams = "class='{$class}'";
|
||||
|
||||
$slideName = str_replace("'", "", $slideName);
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $urlEditSlide?>" title='<?php echo $slideName?>' <?php echo $addParams?>><span class="nowrap">Slide <?php echo $counter?></span></a>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
<li>
|
||||
<a id="link_add_slide" href="javascript:void(0)" class="add_slide" <?php echo $addParams?>><span class="nowrap"><?php _e("Add Slide",REVSLIDER_TEXTDOMAIN)?></span></a>
|
||||
</li>
|
||||
<li>
|
||||
<div id="loader_add_slide" class="loader_round" style="display:none"></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear"></div>
|
||||
<hr class="tabdivider">
|
||||
<div class="divide20"></div>
|
||||
<div id="slide_params_holder" class="postbox unite-postbox mw960">
|
||||
<h3 class="box-closed tp-accordion"><span class="postbox-arrow2">-</span><span><?php _e("General Slide Settings",REVSLIDER_TEXTDOMAIN) ?></span></h3>
|
||||
<div class="toggled-content">
|
||||
<form name="form_slide_params" id="form_slide_params">
|
||||
<?php
|
||||
$settingsSlideOutput->draw("form_slide_params",false);
|
||||
?>
|
||||
<input type="hidden" id="image_url" name="image_url" value="<?php echo $imageUrl?>" />
|
||||
<input type="hidden" id="image_id" name="image_id" value="<?php echo $imageID?>" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="jqueryui_error_message" class="unite_error_message" style="display:none;">
|
||||
<b>Warning!!! </b>The jquery ui javascript include that is loaded by some of the plugins are custom made and not contain needed components like 'autocomplete' or 'draggable' function.
|
||||
Without those functions the editor may not work correctly. Please remove those custom jquery ui includes in order the editor will work correctly.
|
||||
</div>
|
||||
|
||||
<?php require self::getPathTemplate("edit_layers");?>
|
||||
|
||||
|
||||
|
||||
<div class="slide_update_button_wrapper">
|
||||
<a href="javascript:void(0)" id="button_save_slide" class="orangebutton"><?php _e("Update Slide",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<div id="loader_update" class="loader_round" style="display:none;"><?php _e("updating",REVSLIDER_TEXTDOMAIN)?>...</div>
|
||||
<div id="update_slide_success" class="success_message" class="display:none;"></div>
|
||||
</div>
|
||||
<a id="button_close_slide" href="<?php echo $closeUrl?>" class="button-primary"><?php _e("Close",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="vert_sap"></div>
|
||||
|
||||
<?php require self::getPathTemplate("dialog_preview_slide");?>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
RevSliderAdmin.initEditSlideView(<?php echo $slideID?>,<?php echo $sliderID?>);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
105
wp-content/plugins/revslider/views/templates/slider_api.php
Normal file
105
wp-content/plugins/revslider/views/templates/slider_api.php
Normal file
@ -0,0 +1,105 @@
|
||||
<?php
|
||||
$api = "revapi".$sliderID;
|
||||
?>
|
||||
|
||||
<div id="api_wrapper" class="api_wrapper postbox unite-postbox ">
|
||||
<h3 class="box_closed tp-accordion tpa-closed"><div class="postbox-arrow"></div><span><?php _e("API Functions",REVSLIDER_TEXTDOMAIN) ?></span></h3>
|
||||
<div class="toggled-content tp-closedatstart p20">
|
||||
<div class="api-caption"><?php _e("API Methods",REVSLIDER_TEXTDOMAIN)?>:</div>
|
||||
<div class="divide20"></div>
|
||||
<div class="api-desc"><?php _e("Please copy / paste those functions into your functions js file",REVSLIDER_TEXTDOMAIN)?>. </div>
|
||||
|
||||
<table class="api-table">
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("Pause Slider",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revpause();"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("Resume Slider",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revresume();"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("Previous Slide",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revprev();"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("Next Slide",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revnext();"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("Go To Slide",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revshowslide(2);"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("Get Num Slides",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revmaxslide();"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("Get Current Slide Number",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revcurrentslide();"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("Get Last Playing Slide Number",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revlastslide();"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="api-cell1"><?php _e("External Scroll",REVSLIDER_TEXTDOMAIN)?>:</td>
|
||||
<td class="api-cell2"><input type="text" readonly class="api-input" value="<?php echo $api?>.revscroll(offset);"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<div class="divide20"></div>
|
||||
<hr>
|
||||
<div class="divide20"></div>
|
||||
<div class="api-caption"><?php _e("API Events",REVSLIDER_TEXTDOMAIN)?>:</div>
|
||||
<div class="divide20"></div>
|
||||
<div class="api-desc"><?php _e("Copy and Paste the Below listed API Functions into your jQuery Functions for Revslider Event Listening",REVSLIDER_TEXTDOMAIN)?>.</div>
|
||||
<textarea id="api_area" readonly>
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onloaded",function (e) {
|
||||
//alert("slider loaded");
|
||||
});
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onchange",function (e,data) {
|
||||
//alert("slide changed to: "+data.slideIndex);
|
||||
});
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onpause",function (e,data) {
|
||||
//alert("timer paused");
|
||||
});
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onresume",function (e,data) {
|
||||
//alert("timer resume");
|
||||
});
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onvideoplay",function (e,data) {
|
||||
//alert("video play");
|
||||
});
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onvideostop",function (e,data) {
|
||||
//alert("video stopped");
|
||||
});
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onstop",function (e,data) {
|
||||
//alert("slider stopped");
|
||||
});
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onbeforeswap",function (e) {
|
||||
//alert("before swap");
|
||||
});
|
||||
|
||||
<?php echo $api?>.bind("revolution.slide.onafterswap",function (e) {
|
||||
//alert("after swap");
|
||||
});
|
||||
|
||||
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
RevSliderAdmin.initEditSlideView();
|
||||
});
|
||||
</script>
|
67
wp-content/plugins/revslider/views/templates/slider_edit.php
Normal file
67
wp-content/plugins/revslider/views/templates/slider_edit.php
Normal file
@ -0,0 +1,67 @@
|
||||
<input type="hidden" id="sliderid" value="<?php echo $sliderID?>"></input>
|
||||
|
||||
<div class="wrap settings_wrap">
|
||||
|
||||
<div class="title_line">
|
||||
<div id="icon-options-general" class="icon32"></div>
|
||||
<h2><?php _e("Edit Slider",REVSLIDER_TEXTDOMAIN)?></h2>
|
||||
|
||||
<a href="<?php echo GlobalsRevSlider::LINK_HELP_SLIDER?>" class="button-secondary float_right mtop_10 mleft_10" target="_blank"><?php _e("Help",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="settings_panel">
|
||||
|
||||
<div class="settings_panel_left">
|
||||
|
||||
<div id="main_dlier_settings_wrapper" class="postbox unite-postbox ">
|
||||
<h3 class="box-closed"><span><?php _e("Main Slider Settings",REVSLIDER_TEXTDOMAIN) ?></span></h3>
|
||||
<div class="p10">
|
||||
|
||||
|
||||
<?php $settingsSliderMain->draw("form_slider_main",true)?>
|
||||
|
||||
<div class="divide20"></div>
|
||||
|
||||
<div id="slider_update_button_wrapper" class="slider_update_button_wrapper" style="width:120px">
|
||||
<a class='orangebutton' href='javascript:void(0)' id="button_save_slider" ><?php _e("Update Slider",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<div id="loader_update" class="loader_round" style="display:none;"><?php _e("updating...",REVSLIDER_TEXTDOMAIN)?> </div>
|
||||
<div id="update_slider_success" class="success_message" class="display:none;"></div>
|
||||
</div>
|
||||
|
||||
<a id="button_delete_slider" class='button-primary' href='javascript:void(0)' id="button_delete_slider" ><?php _e("Delete Slider",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
<a id="button_close_slider_edit" class='button-primary' href='<?php echo self::getViewUrl("sliders") ?>' ><?php _e("Close",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
<a href="<?php echo $linksEditSlides?>" class="greenbutton" id="link_edit_slides"><?php _e("Edit Slides",REVSLIDER_TEXTDOMAIN)?> </a>
|
||||
|
||||
<a href="javascript:void(0)" class="button-secondary prpos" id="button_preview_slider" title="Preview Slider"><?php _e("Preview Slider",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
<div class="clear"></div>
|
||||
<div class="divide20"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php require self::getPathTemplate("slider_toolbox"); ?>
|
||||
<?php require self::getPathTemplate("slider_api"); ?>
|
||||
|
||||
</div>
|
||||
<div class="settings_panel_right">
|
||||
<?php $settingsSliderParams->draw("form_slider_params",true); ?>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php require self::getPathTemplate("dialog_preview_slider");?>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
RevSliderAdmin.initEditSliderView();
|
||||
});
|
||||
</script>
|
||||
|
43
wp-content/plugins/revslider/views/templates/slider_new.php
Normal file
43
wp-content/plugins/revslider/views/templates/slider_new.php
Normal file
@ -0,0 +1,43 @@
|
||||
|
||||
|
||||
<div class="wrap settings_wrap">
|
||||
|
||||
<div class="title_line">
|
||||
<div id="icon-options-general" class="icon32"></div>
|
||||
<h2><?php _e("New Slider",REVSLIDER_TEXTDOMAIN)?></h2>
|
||||
|
||||
<a href="<?php echo GlobalsRevSlider::LINK_HELP_SLIDER?>" class="button-secondary float_right mtop_10 mleft_10" target="_blank"><?php _e("Help",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="settings_panel">
|
||||
|
||||
<div class="settings_panel_left">
|
||||
|
||||
<?php $settingsSliderMain->draw("form_slider_main",true)?>
|
||||
|
||||
<div class="vert_sap_medium"></div>
|
||||
|
||||
<a id="button_save_slider" class='button-primary' href='javascript:void(0)' ><?php _e("Create Slider",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
<span class="hor_sap"></span>
|
||||
|
||||
<a id="button_cancel_save_slider" class='button-primary' href='<?php echo self::getViewUrl("sliders") ?>' ><?php _e("Close",REVSLIDER_TEXTDOMAIN)?> </a>
|
||||
|
||||
</div>
|
||||
<div class="settings_panel_right">
|
||||
<?php $settingsSliderParams->draw("form_slider_params",true); ?>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
RevSliderAdmin.initAddSliderView();
|
||||
});
|
||||
</script>
|
||||
|
@ -0,0 +1,33 @@
|
||||
|
||||
<div id="toolbox_wrapper" class="toolbox_wrapper postbox unite-postbox">
|
||||
<h3 class="box_closed tp-accordion tpa-closed"><div class="postbox-arrow"></div><span><?php _e("Import / Export",REVSLIDER_TEXTDOMAIN) ?></span></h3>
|
||||
<div class="toggled-content tp-closedatstart p20">
|
||||
|
||||
<div class="api-caption"><?php _e("Import Slider",REVSLIDER_TEXTDOMAIN)?>:</div>
|
||||
<div class="divide20"></div
|
||||
|
||||
<form action="<?php echo UniteBaseClassRev::$url_ajax?>" enctype="multipart/form-data" method="post">
|
||||
<input type="hidden" name="action" value="revslider_ajax_action">
|
||||
<input type="hidden" name="client_action" value="import_slider">
|
||||
<input type="hidden" name="sliderid" value="<?php echo $sliderID?>">
|
||||
<input type="file" name="import_file" class="input_import_slider" style="width:100%">
|
||||
<div class="divide20"></div>
|
||||
<input type="submit" class='button-secondary' value="Import Slider">
|
||||
</form>
|
||||
<div class="divide20"></div>
|
||||
<div class="api-desc"><?php _e("Note, that when you importing slider, it delete all the current slider settings and slides, then replace it with the new ones",REVSLIDER_TEXTDOMAIN)?>.</div>
|
||||
|
||||
|
||||
<hr>
|
||||
<div class="divide20"></div>
|
||||
|
||||
|
||||
<div class="api-caption"><?php _e("Export Slider",REVSLIDER_TEXTDOMAIN)?>:</div>
|
||||
<div class="divide20"></div>
|
||||
|
||||
<a id="button_export_slider" class='button-secondary' href='javascript:void(0)' ><?php _e("Export Slider",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
78
wp-content/plugins/revslider/views/templates/sliders.php
Normal file
78
wp-content/plugins/revslider/views/templates/sliders.php
Normal file
@ -0,0 +1,78 @@
|
||||
<?php
|
||||
$exampleID = '"slider1"';
|
||||
if(!empty($arrSliders))
|
||||
$exampleID = '"'.$arrSliders[0]->getAlias().'"';
|
||||
?>
|
||||
|
||||
<div class='wrap'>
|
||||
|
||||
<div class="title_line">
|
||||
<h2>
|
||||
<?php _e("Revolution Sliders",REVSLIDER_TEXTDOMAIN)?>
|
||||
</h2>
|
||||
|
||||
<a href="<?php echo GlobalsRevSlider::LINK_HELP_SLIDERS?>" class="button-secondary float_right mtop_10 mleft_10" target="_blank"><?php _e("Help",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
<a id="button_general_settings" class="button-secondary float_right mtop_10"><?php _e("Global Settings",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if(empty($arrSliders)): ?>
|
||||
<?php _e("No Sliders Found",REVSLIDER_TEXTDOMAIN)?>
|
||||
<br>
|
||||
<?php else:
|
||||
require self::getPathTemplate("sliders_list");
|
||||
endif?>
|
||||
|
||||
|
||||
<br>
|
||||
<p>
|
||||
<a class='button-primary' href='<?php echo $addNewLink?>'><?php _e("Create New Slider",REVSLIDER_TEXTDOMAIN)?> </a>
|
||||
|
||||
<a id="button_import_slider" class='button-secondary float_right' href='javascript:void(0)'><?php _e("Import Slider",REVSLIDER_TEXTDOMAIN)?> </a>
|
||||
</p>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<h3> <?php _e("How To Use",REVSLIDER_TEXTDOMAIN)?>:</h3>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<?php _e("* From the")?> <b><?php _e("theme html",REVSLIDER_TEXTDOMAIN)?></b> <?php _e("use",REVSLIDER_TEXTDOMAIN)?>: <code><?php putRevSlider( "alias" ) ?></code> <?php _e("example",REVSLIDER_TEXTDOMAIN)?>: <code><?php putRevSlider(<?echo $exampleID?>) ?></code>
|
||||
<br>
|
||||
<?php _e("For show only on homepage use",REVSLIDER_TEXTDOMAIN)?>: <code><?php putRevSlider(<?echo $exampleID?>,"homepage") ?></code>
|
||||
<br> <?php _e("For show on certain pages use")?>: <code><?php putRevSlider(<?echo $exampleID?>,"2,10") ?></code>
|
||||
</li>
|
||||
<li><?php _e("* From the",REVSLIDER_TEXTDOMAIN)?> <b><?php _e("widgets panel",REVSLIDER_TEXTDOMAIN)?></b> <?php _e("drag the \"Revolution Slider\" widget to the desired sidebar",REVSLIDER_TEXTDOMAIN)?></li>
|
||||
<li><?php _e("* From the",REVSLIDER_TEXTDOMAIN)?> <b><?php _e("post editor",REVSLIDER_TEXTDOMAIN)?></b> <?php _e("insert the shortcode from the sliders table",REVSLIDER_TEXTDOMAIN)?></li>
|
||||
</ul>
|
||||
---------
|
||||
<p>
|
||||
<?php _e("If you have some support issue, don't hesitate to",REVSLIDER_TEXTDOMAIN)?>
|
||||
<a href="http://themepunch.ticksy.com" target="_blank"><?php _e("write here",REVSLIDER_TEXTDOMAIN)?>.</a>
|
||||
<br><?php _e("The ThemePunch team will be happy to support you on any issue",REVSLIDER_TEXTDOMAIN)?>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p></p>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Import slider dialog -->
|
||||
<div id="dialog_import_slider" title="<?php _e("Import Slider",REVSLIDER_TEXTDOMAIN)?>" class="dialog_import_slider" style="display:none">
|
||||
<br><br><br>
|
||||
<form action="<?php echo UniteBaseClassRev::$url_ajax?>" enctype="multipart/form-data" method="post">
|
||||
|
||||
<input type="hidden" name="action" value="revslider_ajax_action">
|
||||
<input type="hidden" name="client_action" value="import_slider_slidersview">
|
||||
|
||||
<?php _e("Choose the import file",REVSLIDER_TEXTDOMAIN)?>:
|
||||
<br>
|
||||
<input type="file" size="60" name="import_file" class="input_import_slider">
|
||||
<br><br>
|
||||
<input type="submit" class='button-primary' value="Import Slider">
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
@ -0,0 +1,60 @@
|
||||
|
||||
<table class='wp-list-table widefat fixed unite_table_items'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th width='20'><?php _e("ID",REVSLIDER_TEXTDOMAIN)?></th>
|
||||
<th width=''><?php _e("Name",REVSLIDER_TEXTDOMAIN)?></th>
|
||||
<th width='65'><?php _e("N. Slides",REVSLIDER_TEXTDOMAIN)?></th>
|
||||
<th width='435'><?php _e("Actions",REVSLIDER_TEXTDOMAIN)?> </th>
|
||||
<th width='15%'><?php _e("Shortcode",REVSLIDER_TEXTDOMAIN)?> </th>
|
||||
<th width='60'><?php _e("Preview",REVSLIDER_TEXTDOMAIN)?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($arrSliders as $slider):
|
||||
|
||||
$id = $slider->getID();
|
||||
$showTitle = $slider->getShowTitle();
|
||||
$title = $slider->getTitle();
|
||||
$alias = $slider->getAlias();
|
||||
$shortCode = $slider->getShortcode();
|
||||
$numSlides = $slider->getNumSlides();
|
||||
|
||||
$editLink = self::getViewUrl(RevSliderAdmin::VIEW_SLIDER,"id=$id");
|
||||
$editSlidesLink = self::getViewUrl(RevSliderAdmin::VIEW_SLIDES,"id=$id");
|
||||
|
||||
$showTitle = UniteFunctionsRev::getHtmlLink($editLink, $showTitle);
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $id?><span id="slider_title_<?php echo $id?>" class="hidden"><?php echo $title?></span></td>
|
||||
<td><?php echo $showTitle?></td>
|
||||
<td><?php echo $numSlides?></td>
|
||||
<td>
|
||||
<a class="greenbutton newlineheight" href='<?php echo $editLink ?>'><?php _e("Edit Slider",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<div class="clearme"></div>
|
||||
<a class="greenbutton newlineheight" href='<?php echo $editSlidesLink ?>'><?php _e("Edit Slides",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<div class="clearme"></div>
|
||||
<a id="button_delete_<?php echo $id?>" href='javascript:void(0)' class="button-secondary button_delete_slider changemargin newlineheight"><?php _e("Delete",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<div class="clearme"></div>
|
||||
<a id="button_duplicate_<?php echo $id?>" href='javascript:void(0)' class="button-secondary button_duplicate_slider changemargin2 newlineheight"><?php _e("Duplicate",REVSLIDER_TEXTDOMAIN)?> </a>
|
||||
</td>
|
||||
<td><?php echo $shortCode?></td>
|
||||
<td>
|
||||
<div id="button_preview_<?php echo $id?>" class="button_slider_preview" title="<?php _e("Preview",REVSLIDER_TEXTDOMAIN)?> <?php echo $title?>"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php require self::getPathTemplate("dialog_preview_slider");?>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function(){
|
||||
RevSliderAdmin.initSlidersListView();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
70
wp-content/plugins/revslider/views/templates/slides.php
Normal file
70
wp-content/plugins/revslider/views/templates/slides.php
Normal file
@ -0,0 +1,70 @@
|
||||
<div class="wrap settings_wrap">
|
||||
|
||||
|
||||
<div class="title_line">
|
||||
<div id="icon-options-general" class="icon32"></div>
|
||||
<h2><?php _e("Edit Slides",REVSLIDER_TEXTDOMAIN)?>: <?php echo $slider->getTitle()?></h2>
|
||||
|
||||
<a href="<?php echo GlobalsRevSlider::LINK_HELP_SLIDE_LIST?>" class="button-secondary float_right mtop_10 mleft_10" target="_blank"><?php _e("Help",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="vert_sap"></div>
|
||||
<?php if($numSlides >= 5):?>
|
||||
<a class='button-primary' id="button_new_slide_top" href='javascript:void(0)' ><?php _e("New Slide",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<span class="hor_sap"></span>
|
||||
<a class='button-primary' id="button_new_slide_transparent_top" href='javascript:void(0)' ><?php _e("New Transparent Slide",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<span class="loader_round new_trans_slide_loader" style="display:none"><?php _e("Adding Slide...",REVSLIDER_TEXTDOMAIN)?></span>
|
||||
<span class="hor_sap_double"></span>
|
||||
<a class="button_close_slide button-primary" href='<?php echo self::getViewUrl(RevSliderAdmin::VIEW_SLIDERS);?>' ><?php _e("Close",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
<?php endif?>
|
||||
|
||||
<div class="vert_sap"></div>
|
||||
<div class="sliders_list_container">
|
||||
<?php require self::getPathTemplate("slides_list");?>
|
||||
</div>
|
||||
<div class="vert_sap_medium"></div>
|
||||
<a class='button-primary' id="button_new_slide" data-dialogtitle="<?php _e("Select image or multiple images to add slide or slides",REVSLIDER_TEXTDOMAIN)?>" href='javascript:void(0)' ><?php _e("New Slide",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<span class="hor_sap"></span>
|
||||
<a class='button-primary' id="button_new_slide_transparent" href='javascript:void(0)' ><?php _e("New Transparent Slide",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<span class="loader_round new_trans_slide_loader" style="display:none"><?php _e("Adding Slide...",REVSLIDER_TEXTDOMAIN)?></span>
|
||||
<span class="hor_sap_double"></span>
|
||||
<a class="button_close_slide button-primary" href='<?php echo self::getViewUrl(RevSliderAdmin::VIEW_SLIDERS);?>' ><?php _e("Close",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<span class="hor_sap"></span>
|
||||
|
||||
<a href="<?php echo $linksSliderSettings?>" id="link_slider_settings"><?php _e("To Slider Settings",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="dialog_copy_move" data-textclose="<?php _e("Close")?>" data-textupdate="<?php _e("Do It!")?>" title="<?php _e("Copy / move slide",REVSLIDER_TEXTDOMAIN)?>" style="display:none">
|
||||
|
||||
<br>
|
||||
|
||||
<?php _e("Choose Slider",REVSLIDER_TEXTDOMAIN)?> :
|
||||
<?php echo $selectSliders?>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php _e("Choose Operation")?> :
|
||||
|
||||
<input type="radio" id="radio_copy" value="copy" name="copy_move_operation" checked />
|
||||
<label for="radio_copy" style="cursor:pointer;"><?php _e("Copy",REVSLIDER_TEXTDOMAIN)?></label>
|
||||
|
||||
<input type="radio" id="radio_move" value="move" name="copy_move_operation" />
|
||||
<label for="radio_move" style="cursor:pointer;"><?php _e("Move",REVSLIDER_TEXTDOMAIN)?></label>
|
||||
|
||||
</div>
|
||||
|
||||
<?php require self::getPathTemplate("dialog_preview_slide");?>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function() {
|
||||
|
||||
RevSliderAdmin.initSlidesListView("<?php echo $sliderID?>");
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
112
wp-content/plugins/revslider/views/templates/slides_list.php
Normal file
112
wp-content/plugins/revslider/views/templates/slides_list.php
Normal file
@ -0,0 +1,112 @@
|
||||
|
||||
<div class="postbox box-slideslist">
|
||||
<h3>
|
||||
<span class='slideslist-title'><?php _e("Slides List",REVSLIDER_TEXTDOMAIN)?></span>
|
||||
<span id="saving_indicator" class='slideslist-loading'><?php _e("Saving Order")?>...</span>
|
||||
</h3>
|
||||
<div class="inside">
|
||||
<?php if(empty($arrSlides)):?>
|
||||
<?php _e("No Slides Found",REVSLIDER_TEXTDOMAIN)?>
|
||||
<?php endif?>
|
||||
|
||||
|
||||
<ul id="list_slides" class="list_slides ui-sortable">
|
||||
|
||||
<?php foreach($arrSlides as $slide):
|
||||
|
||||
$bgType = $slide->getParam("background_type","image");
|
||||
|
||||
$order = $slide->getOrder();
|
||||
|
||||
$imageFilepath = $slide->getImageFilepath();
|
||||
$urlImageForView = $slide->getThumbUrl();
|
||||
|
||||
$slideTitle = $slide->getParam("title","Slide");
|
||||
$title = $slideTitle;
|
||||
$filename = $slide->getImageFilename();
|
||||
|
||||
$imageAlt = stripslashes($slideTitle);
|
||||
if(empty($imageAlt))
|
||||
$imageAlt = "slide";
|
||||
|
||||
if($bgType == "image")
|
||||
$title .= " ({$filename})";
|
||||
|
||||
$slideid = $slide->getID();
|
||||
|
||||
$urlEditSlide = self::getViewUrl(RevSliderAdmin::VIEW_SLIDE,"id=$slideid");
|
||||
$linkEdit = UniteFunctionsRev::getHtmlLink($urlEditSlide, $title);
|
||||
|
||||
$state = $slide->getParam("state","published");
|
||||
|
||||
?>
|
||||
<li id="slidelist_item_<?php echo $slideid?>" class="ui-state-default">
|
||||
|
||||
<span class="slide-col col-order">
|
||||
<span class="order-text"><?php echo $order?></span>
|
||||
<div class="state_loader" style="display:none;"></div>
|
||||
<?php if($state == "published"):?>
|
||||
<div class="icon_state state_published" data-slideid="<?php echo $slideid?>" title="<?php _e("Unpublish Slide",REVSLIDER_TEXTDOMAIN)?>"></div>
|
||||
<?php else:?>
|
||||
<div class="icon_state state_unpublished" data-slideid="<?php echo $slideid?>" title="<?php _e("Publish Slide",REVSLIDER_TEXTDOMAIN)?>"></div>
|
||||
<?php endif?>
|
||||
|
||||
<div class="icon_slide_preview" title="Preview Slide" data-slideid="<?php echo $slideid?>"></div>
|
||||
|
||||
</span>
|
||||
|
||||
<span class="slide-col col-name">
|
||||
<?php echo $linkEdit?>
|
||||
<a class='button_edit_slide greenbutton' href='<?php echo $urlEditSlide?>'><?php _e("Edit Slide",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
</span>
|
||||
<span class="slide-col col-image">
|
||||
<?php switch($bgType):
|
||||
default:
|
||||
case "image":
|
||||
?>
|
||||
<div id="slide_image_<?php echo $slideid?>" style="background-image:url('<?php echo $urlImageForView?>')" class="slide_image" title="Slide Image - Click to change"></div>
|
||||
<?php
|
||||
break;
|
||||
case "solid":
|
||||
$bgColor = $slide->getParam("slide_bg_color","#d0d0d0");
|
||||
?>
|
||||
<div class="slide_color_preview" style="background-color:<?php echo $bgColor?>"></div>
|
||||
<?php
|
||||
break;
|
||||
case "trans":
|
||||
?>
|
||||
<div class="slide_color_preview_trans"></div>
|
||||
<?php
|
||||
break;
|
||||
endswitch; ?>
|
||||
</span>
|
||||
|
||||
<span class="slide-col col-operations">
|
||||
<a id="button_delete_slide_<?php echo $slideid?>" class='button-secondary button_delete_slide' href='javascript:void(0)'><?php _e("Delete",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<span class="loader_round loader_delete" style="display:none;"><?php _e("Deleting Slide...")?></span>
|
||||
<a id="button_duplicate_slide_<?php echo $slideid?>" class='button-secondary button_duplicate_slide' href='javascript:void(0)'><?php _e("Duplicate",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<?php
|
||||
$copyButtonClass = "button-secondary button_copy_slide";
|
||||
$copyButtonTitle = __("Open copy / move dialog",REVSLIDER_TEXTDOMAIN);
|
||||
|
||||
if($numSliders == 0){
|
||||
$copyButtonClass .= " button-disabled";
|
||||
$copyButtonTitle = "Copy / move disabled, no more sliders found";
|
||||
}
|
||||
?>
|
||||
<a id="button_copy_slide_<?php echo $slideid?>" class='<?php echo $copyButtonClass?>' title="<?php echo $copyButtonTitle?>" href='javascript:void(0)'><?php _e("Copy / Move",REVSLIDER_TEXTDOMAIN)?></a>
|
||||
<span class="loader_round loader_copy mtop_10 mleft_20 display_block" style="display:none;"><?php _e("Working...")?></span>
|
||||
</span>
|
||||
|
||||
<span class="slide-col col-handle">
|
||||
<div class="col-handle-inside">
|
||||
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span>
|
||||
</div>
|
||||
</span>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user