wp_blog/wp-content/plugins/revslider/views/templates/slides.php
2020-01-02 23:15:16 +07:00

70 lines
3.1 KiB
PHP

<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>
&nbsp; &nbsp;
<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>