Initial Commit

This commit is contained in:
2019-11-21 12:25:31 +01:00
commit f4aabcb9b1
13959 changed files with 787761 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<div id="edit_account_dialog" data-title="<?php _e('Edit Account'); ?>">
<form name="form_edit_account" id="form_edit_account">
<input type="hidden" id="user_id" name="user_id" value="<?php echo $user['id']; ?>" />
<table class="form-table">
<tr valign="top">
<th scope="row">
<?php _e('Username:'); ?>
</th>
<td>
<input id="username" name="username" type="text" class="regular-text" value="<?php echo $user['username']; ?>" />
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php _e('Email:'); ?>
</th>
<td>
<input id="email" name="email" type="email" class="regular-text" value="<?php echo $user['email']; ?>" />
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php _e('Change password:'); ?>
</th>
<td>
<input id="password" name="password" type="password" class="regular-text" value="" autocomplete="off" />
</td>
</tr>
<tr valign="top">
<th scope="row">
<?php _e('Confirm new password:'); ?>
</th>
<td>
<input id="confirm_password" name="confirm_password" type="password" class="regular-text" value="" autocomplete="off" />
</td>
</tr>
</table>
</form>
<div class="alignright">
<a id="button_save_account" class="button-primary revblue"><?php _e("Update"); ?></a>
</div>
</div>

View File

@@ -0,0 +1,6 @@
<script type="text/javascript">
var ajaxurl = '<?php echo site_url('c=admin&m=ajax'); ?>';
</script>
<?php echo apply_filters( 'visual_editor_before_body_end_filter', ''); ?>
</body>
</html>

View File

@@ -0,0 +1,56 @@
<!DOCTYPE html>
<!--[if IE 8]>
<html xmlns="//www.w3.org/1999/xhtml" class="ie8 wp-toolbar" lang="en-US">
<![endif]-->
<!--[if !(IE 8) ]><!-->
<html xmlns="//www.w3.org/1999/xhtml" class="wp-toolbar" lang="en-US">
<!--<![endif]-->
<head>
<title><?php echo __('Revolution Slider'); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php foreach ($cssIncludes as $_css) : ?>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo force_ssl($_css) .'?v='. RevSliderGlobals::SLIDER_REVISION; ?>" />
<?php endforeach; ?>
<?php foreach ($jsIncludes as $_js) : ?>
<script type="text/javascript" src="<?php echo force_ssl($_js) .'?v='. RevSliderGlobals::SLIDER_REVISION; ?>"></script>
<?php endforeach; ?>
<script type='text/javascript'>
/* <![CDATA[ */
var $ = jQuery;
var g_revNonce = "<?php echo wp_create_nonce(); ?>";
var g_uniteDirPlugin = "revslider";
var wpColorPickerL10n = {"clear":"Clear","defaultString":"Default","pick":"Select Color","current":"Current Color"};
var g_urlEditAccount = '<?php echo site_url('c=admin&m=edit_account'); ?>';
var g_urlMediaGallery = '<?php echo site_url('c=media&t=[type]'); ?>';
var g_urlMediaUpload = '<?php echo site_url('c=media&m=index&f=upload_file&t=[type]'); ?>';
var g_urlMediaAjax = '<?php echo site_url('c=media&m=index&f=ajax_list&t=[type]'); ?>';
<?php if ($localizeScripts) : ?>
<?php foreach ($localizeScripts as $localizeScript) : ?>
var <?php echo $localizeScript['var']; ?> = <?php echo json_encode($localizeScript['lang']); ?>;
<?php endforeach; ?>
<?php endif; ?>
/* ]]> */
</script>
<?php if ($inlineStyles) : ?>
<?php foreach ($inlineStyles as $_style) : echo $_style; endforeach; ?>
<?php endif; ?>
<?php echo $adminHead; ?>
<link rel="apple-touch-icon" sizes="57x57" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo base_url(); ?>assets/images/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="<?php echo base_url(); ?>assets/images/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo base_url(); ?>assets/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="<?php echo base_url(); ?>assets/images/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo base_url(); ?>assets/images/favicon/favicon-16x16.png">
<link rel="manifest" href="<?php echo base_url(); ?>assets/images/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="<?php echo base_url(); ?>assets/images/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
</head>
<body class="wp-admin wp-core-ui <?php echo htmlspecialchars(apply_filters( 'visual_editor_body_classes_filter', '')); ?>">

View File

@@ -0,0 +1,51 @@
<div id="navigation">
<ul id="user">
<li class="slider-overview"><?php _e('Hello'); ?>, <?php echo $user['username']; ?>!</li>
<li>
<i class="fa-icon-file-image-o"></i>
<a href="?view=sliders"><?php _e('Slider Overview'); ?></a>
</li>
<li class="navigation-editor">
<i class="fa-icon-keyboard-o"></i>
<a href="?view=navigation-editor"><?php _e('Navigation Editor'); ?></a>
</li>
<li class="rev-addon">
<i class="fa-icon-cubes"></i>
<a href="?page=rev_addon"><?php _e('Add-Ons'); ?></a>
</li>
<?php if(!RS_DEMO){ ?>
<li class="global-settings">
<i class="fa-icon-gear"></i>
<a href="?view=global-settings"><?php _e('Global Settings'); ?></a>
</li>
<li class="edit-account">
<i class="fa-icon-user"></i>
<a href="#" id="edit_account_link"><?php _e('Edit Account'); ?></a>
</li>
<?php } ?>
<li class="logout">
<i class="fa-icon-sign-out"></i>
<a href="<?php echo site_url('c=account&m=logout_action'); ?>"><?php _e('Logout'); ?></a>
</li>
<li class="languages">
<i class="fa-icon-globe"></i>
<select id="language">
<?php foreach ($this->config->item('available_languages') as $_code => $_name) : ?>
<option value="<?php echo $_code; ?>" <?php echo selected(get_language(), $_code); ?>><?php echo $_name; ?></option>
<?php endforeach; ?>
</select>
</li>
</ul>
<?php if(!RS_DEMO){ ?>
<?php if ($export_button) : ?>
<span id="nav_export_wrapper">
<a id="nav_button_export_slider" href="javascript:void(0)" class="button-primary revblue"><?php _e('Export this Slider'); ?><i class="eg-icon-export"></i></a>
<a id="nav_button_export_html" href="javascript:void(0)" class="button-primary revblue"><?php _e('Export to HTML'); ?><i class="eg-icon-export"></i></a>
</span>
<?php endif; ?>
<?php } ?>
<?php if(RS_DEMO){ ?>
<a id="" href="javascript:void(0)" class="button-primary revblue"><?php _e('DEMO MODE ACTIVE'); ?></a>
<?php } ?>
</div>
<?php do_action('admin_notices'); ?>

View File

@@ -0,0 +1,160 @@
<a name="activateaddon"></a>
<?php
$validated = get_option('revslider-valid', 'false');
$temp_active = get_option('revslider-temp-active', 'false');
$code = get_option('revslider-code', '');
//$email = get_option('revslider-email', '');
$latest_version = get_option('revslider-latest-version', RevSliderGlobals::SLIDER_REVISION);
$activewidgetclass = $validated === 'true'? "rs-status-green-wrap" : "rs-status-red-wrap";
$activewidgetclass = $temp_active === 'true' ? "rs-status-orange-wrap" : $activewidgetclass;
?>
<!-- VALIDATION WIDGET -->
<div class="rs-dash-widget rs-dash-doublewidget">
<div class="rs-dash-title-wrap">
<div class="rs-dash-title <?php echo (check_for_jquery_addon() ? 'rs-green' : 'rs-red'); ?>"><?php _e("Visual Editor Addon Enabling & Activation",'revslider'); ?></div>
<div class="rs-dash-more-buttons-wrapper">
<?php if ($temp_active == 'true') { ?>
<div class="rs-dash-title-button rs-status-orange"><i class="icon-no-problem-found"></i><?php _e("Editor Temporarily Activated",'revslider'); ?></div>
<?php } elseif ($validated==='true') { ?>
<div class="rs-dash-title-button rs-green"><i class="icon-no-problem-found"></i><?php _e("Editor Activated",'revslider'); ?></div>
<?php } else { ?>
<div class="rs-dash-title-button rs-red"><i class="icon-not-registered"></i><?php _e("Editor Not Activated",'revslider'); ?></div>
<?php } ?>
<?php if (!check_for_jquery_addon()) { ?>
<div class="rs-dash-title-button rs-red"><i class="icon-not-registered"></i><?php _e("Slider Not Installed",'revslider'); ?></div>
<?php } else { ?>
<?php if (is_jquery_addon_temp_activated()){ ?>
<div class="rs-dash-title-button rs-status-orange"><i class="icon-no-problem-found"></i><?php _e("Slider Temporarily Activated",'revslider'); ?></div>
<?php } elseif (is_jquery_addon_activated()) { ?>
<div class="rs-dash-title-button rs-green"><i class="icon-no-problem-found"></i><?php _e("Slider Activated",'revslider'); ?></div>
<?php } else { ?>
<div class="rs-dash-title-button rs-red"><i class="icon-not-registered"></i><?php _e("Slider Not Activated",'revslider'); ?></div>
<?php } ?>
<?php } ?>
</div>
</div>
<div class="rs-dash-widget-default-view-wrap">
<div class="rs-dash-widget-inner">
<?php if (!check_for_jquery_addon()) { ?>
<div class="rs-dash-icon rs-dash-notregistered"></div>
<div class="rs-dash-content-with-icon">
<div class="rs-dash-strong-content"><?php echo get_jquery_addon_message(); ?></div>
<div><?php _e("This is requires in order to use the Visual Editor Addon", 'revslider'); ?></div>
</div>
<?php } else { ?>
<div class="rs-dash-icon rs-dash-refresh"></div>
<div class="rs-dash-content-with-icon">
<div class="rs-dash-strong-content"><?php _e('Visual Editor Addon Installed Correctly', 'revslider'); ?></div>
<div><?php _e("You are ready to use the addon", 'revslider'); ?></div>
</div>
<?php } ?>
<?php if(!RS_DEMO){ ?>
<div class="rs-dash-bottom-wrapper">
<div><?php _e("If you don't have a Slider Revolution jQuery Purchase Code:", 'revslider'); ?></div>
<div class="rs-dash-content-space"></div>
<span id="show-manual-installation" class="rs-dash-button"><?php _e('Manual Installation','revslider'); ?></span>
<?php if ($validated !== 'true') : ?>
<a class="rs-dash-button" href="https://themepunch.com/purchase-code-deactivation/" target="_blank"><?php _e('Deregister Domain','revslider'); ?></a>
<?php endif; ?>
<?php
$temp_active = get_option('revslider-temp-active', 'false');
if($temp_active == 'true'){
?>
<a href="?page=revslider&checktempactivate=true" id="rs-validation-full-activate" class="rs-dash-button"><?php _e('Complete Activation','revslider'); ?></a>
<span class="rs-dash-more-info" data-takemeback="false" data-title="<?php echo _e('What does \'Temporary Activated\' mean?', 'revslider');?>" data-content="<?php echo __('The Envato API was unavailable at the activation process:', 'revslider').'<div class=\'rs-dash-content-space\'></div>'.__('The Slider is temporary activated until the Envato API can be reached again by the ThemePunch servers.','revslider').'<div class=\'rs-dash-content-space\'></div>'.__('The plugin will be fully activated as soon as the Envato API is available again.','revslider').''; ?>"><span class="rs-dash-invers-button-gray rs-dash-close-panel"><?php _e('Why?', 'revslider'); ?></span></span>
<?php
}
?>
</div>
<?php } ?>
</div>
<div class="rs-dash-widget-inner">
<div class="rs-dash-icon rs-dash-refresh"></div>
<div class="rs-dash-content-with-icon">
<div class="rs-dash-strong-content"><?php _e("Slider Revolution jQuery Purchase Code",'revslider'); ?></div>
<div><?php _e("You can learn how to find your purchase key <a target='_blank' href='http://www.themepunch.com/faq/where-to-find-the-purchase-code/'>here</a>",'revslider'); ?></div>
</div>
<div class="rs-dash-content-space"></div>
<?php if(!RS_DEMO){ ?>
<input type="text" value="<?php echo get_option('jquery-plugin-code'); ?>" name="addon_purchase_token" class="rs-dashboard-input" <?php echo is_jquery_addon_activated() ? 'readonly="readonly"' : ''; ?> style="width:<?php echo is_jquery_addon_activated()=='true' ? '322px' : '273px'; ?>;margin-right:10px" />
<span style="display:none" id="rs_purchase_validation" class="loader_round"><?php _e('Please Wait...', 'revslider'); ?></span>
<?php
if (is_jquery_addon_activated()){
?>
<a href="javascript:void(0);" id="deactivate_addon" class="rs-dash-button"><?php _e('Deregister','revslider'); ?></a>
<?php }else{ ?>
<a href="javascript:void(0);" id="download_addon" class="rs-dash-button"><?php _e('Register & Install','revslider'); ?></a>
<?php } ?>
<?php } ?>
<div class="rs-dash-content-space"></div>
<div class="rs-dash-icon rs-dash-buket"></div>
<div class="rs-dash-content-with-icon">
<div class="rs-dash-strong-content"><?php _e("Visual Editor Addon Purchase Code",'revslider'); ?></div>
<div><?php _e("You can learn how to find your purchase key <a target='_blank' href='http://www.themepunch.com/faq/where-to-find-the-purchase-code/'>here</a>",'revslider'); ?></div>
</div>
<div class="rs-dash-content-space"></div>
<?php if(!RS_DEMO){ ?>
<input type="text" name="rs-validation-token" class="rs-dashboard-input" value="<?php echo $code; ?>" <?php echo ($validated === 'true') ? ' readonly="readonly"' : ''; ?> style="width: <?php echo ($validated !== 'true') ? '330px' : '322px' ?>;margin-right:10px" />
<span style="display:none" id="rs_purchase_validation" class="loader_round"><?php _e('Please Wait...', 'revslider'); ?></span>
<a href="javascript:void(0);" <?php echo ($validated !== 'true') ? '' : 'style="display: none;"'; ?> id="rs-validation-activate" class="rs-dash-button"><?php _e('Register','revslider'); ?></a>
<a href="javascript:void(0);" <?php echo ($validated === 'true') ? '' : 'style="display: none;"'; ?> id="rs-validation-deactivate" class="rs-dash-button"><?php _e('Deregister','revslider'); ?></a>
<?php } ?>
</div>
</div>
<?php if(!RS_DEMO){ ?>
<div class="rs-dash-widget-extra-view-wrap">
<div class="rs-dash-widget-inner">
<div class="rs-dash-icon rs-dash-light"></div>
<div class="rs-dash-content-with-icon">
<div class="rs-dash-strong-content"><?php echo "Manual Installation"; ?></div>
<div><?php _e('You can find the addon archive file "visual-editor-extension.zip" <br>inside of the "addon-visual-editor" folder of your zip file:<br>', 'revslider');?><a href="//codecanyon.net/item/slider-revolution-responsive-jquery-plugin/2580848" target="_blank"><?php _e("Slider Revolution Responsive jQuery Plugin", 'revslider'); ?></a></div>
</div>
</div>
<div class="rs-dash-widget-inner">
<form action="<?php echo site_url('c=admin&m=upload_addon', 'revslider') ?>" enctype="multipart/form-data" method="post">
<div class="rs-dash-icon rs-dash-download"></div>
<div class="rs-dash-content-with-icon">
<div class="rs-dash-strong-content"><?php _e("Select the visual-editor-extension.zip file",'revslider'); ?></div>
<input type="file" style="width: 350px;" value="" name="addon_file" class="input_import_slider">
</div>
<div class="rs-dash-content-space"></div>
<div></div>
<div class="rs-dash-bottom-wrapper">
<input type="submit" class="rs-dash-button rev-import-slider-button" value="<?php _e("Upload",'revslider'); ?>">
<span id="hide-manual-installation" class="rs-dash-button"><?php _e('Back to Code Registration','revslider'); ?></span>
</div>
</form>
</div>
</div>
<script>
jQuery(document).ready(function() {
jQuery('#show-manual-installation').click(function() {
punchgs.TweenLite.to(jQuery('.rs-dash-widget-default-view-wrap'),0.5,{opacity:1,x:-960,ease:punchgs.Power3.easeInOut});
punchgs.TweenLite.fromTo(jQuery('.rs-dash-widget-extra-view-wrap'),0.5,{display:"block",autoAlpha:0,x:960},{autoAlpha:1,x:0,ease:punchgs.Power3.easeInOut});
});
jQuery('#hide-manual-installation').click(function() {
punchgs.TweenLite.to(jQuery('.rs-dash-widget-default-view-wrap'),0.5,{autoAlpha:1,x:0,ease:punchgs.Power3.easeInOut});
punchgs.TweenLite.to(jQuery('.rs-dash-widget-extra-view-wrap'),0.5,{autoAlpha:0,x:960,ease:punchgs.Power3.easeInOut});
})
});
</script>
<?php } ?>
</div><!-- END OF VALIDATION WIDGET -->