wp_blog/wp-content/plugins/revslider/views/master_view.php

52 lines
1.5 KiB
PHP
Raw Normal View History

2020-01-02 23:15:16 +07:00
<?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">&copy; 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?>