Ejemplo n.º 1
0
DUP_Util::CheckPermissions('manage_options');
global $wpdb;
//COMMON HEADER DISPLAY
require_once DUPLICATOR_PLUGIN_PATH . '/views/javascript.php';
require_once DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php';
$current_tab = isset($_REQUEST['tab']) ? esc_html($_REQUEST['tab']) : 'general';
?>

<style>

</style>

<div class="wrap">
	
    <?php 
duplicator_header(__("Settings", 'wpduplicator'));
?>

    <!--h2 class="nav-tab-wrapper">  
        <a href="?page=duplicator-settings&tab=general" class="nav-tab <?php 
echo $current_tab == 'general' ? 'nav-tab-active' : '';
?>
"> <?php 
_e('General', 'wpduplicator');
?>
</a>  
    </h2--> 	

    <?php 
switch ($current_tab) {
    case 'general':
Ejemplo n.º 2
0
    #dup-wiz a { position:relative; display:block; width:auto; min-width:55px; height:25px; margin-right:8px; padding:0px 10px 0px 10px; float:left; line-height:24px; color:#000; background:#E4E4E4; border-radius:5px }
	/* wiz-steps active*/
    #dup-wiz .active-step a {color:#fff; background:#BBBBBB;}
    #dup-wiz .active-step span {color:#fff; border:1px solid #fff;}
	/* wiz-steps completed */
    #dup-wiz .completed-step a {color:#E1E1E1; background:#BBBBBB; }
    #dup-wiz .completed-step span {color:#E1E1E1;}
    /*Footer */
    div.dup-button-footer input {min-width: 105px}
    div.dup-button-footer {padding: 1px 10px 0px 0px; text-align: right}
</style>

<?php 
switch ($current_tab) {
    case 'list':
        duplicator_header(__("Packages &raquo; All", 'duplicator'));
        include 'list.base.php';
        break;
    case 'new1':
        duplicator_header(__("Packages &raquo; New", 'duplicator'));
        include 'new1.base.php';
        break;
    case 'new2':
        duplicator_header(__("Packages &raquo; New", 'duplicator'));
        include 'new2.base.php';
        break;
    case 'new3':
        duplicator_header(__("Packages &raquo; New", 'duplicator'));
        include 'new3.base.php';
        break;
}
Ejemplo n.º 3
0
form#dup-donate-form input {opacity:0.7;}
form#dup-donate-form input:hover {opacity:1.0;}
img#dup-img-5stars {opacity:0.7;}
img#dup-img-5stars:hover {opacity:1.0;}
</style>
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="https://ws.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "1a44d92e-2a78-42c3-a32e-414f78f9f484"}); </script> 

<div class="wrap dup-wrap dup-support-all">

	<!-- h2 required here for general system messages -->
	<h2 style='display:none'></h2>

	<?php 
duplicator_header(__("Support", 'wpduplicator'));
?>

	<div style="width:850px; margin:auto; margin-top: 20px">
		<table>
			<tr>
				<td valign="top" class="dup-drop-cap">
				<?php 
_e("Created for Admins, Developers and Designers the Duplicator will streamline your workflows and help you quickly clone a WordPress application.  If you run into an issue please read through the", 'wpduplicator');
printf(" <a href='http://lifeinthegrid.com/duplicator-docs' target='_blank'>%s</a> ", __("knowledgebase", 'wpduplicator'));
_e('in detail as it will have answers to most of your questions and issues.', 'wpduplicator');
?>
				</td>
				<td>
					<a href="http://lifeinthegrid.com/labs/duplicator" target="_blank">
						<img src="<?php 
Ejemplo n.º 4
0
    }
    div.dup-perks-txt{padding:10px 4px 4px 4px; text-align:center; font-size:16px; font-weight: bold}
	div.dup-active-item {font-weight: bold; font-style: italic}
	div.dup-active-item div.dup-perks-hlp-hdrs{ color:#fff; border-top-right-radius: 8px; border-top-left-radius: 8px;
		background: #4c4c4c;
		background: -moz-linear-gradient(top,  #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%);
		background: -webkit-linear-gradient(top,  #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%);
		background: linear-gradient(to bottom,  #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 );
	}
</style>

<div class="wrap dup-wrap dup-perks-all">
	
    <?php 
duplicator_header(__("Perks", 'duplicator'));
?>
    <hr size="1" />

    <div style="width:800px; margin:auto; margin-top:10px;">
		<div style="text-align: center; font-size:18px; line-height: 24px">
			<b><?php 
_e("Get Great Deals and Amazing Products!", 'duplicator');
?>
</b><br/>
			<i><?php 
_e("While helping to support Duplicator...", 'duplicator');
?>
</i>
		</div>
Ejemplo n.º 5
0
        background-image:-ms-linear-gradient(top, #FFFFFF 0%, #DEDEDE 100%);
        background-image:-moz-linear-gradient(top, #FFFFFF 0%, #DEDEDE 100%);
        background-image:-o-linear-gradient(top, #FFFFFF 0%, #DEDEDE 100%);
        background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #DEDEDE));
        background-image:-webkit-linear-gradient(top, #FFFFFF 0%, #DEDEDE 100%);
        background-image:linear-gradient(to bottom, #FFFFFF 0%, #DEDEDE 100%);
    }
    div.dup-support-hlp-hdrs div {padding:5px; margin:4px 20px 0px -20px;  text-align: center;}
    div.dup-support-hlp-txt{padding:10px 4px 4px 4px; text-align:center}
</style>


<div class="wrap dup-wrap dup-support-all">
	
    <?php 
duplicator_header(__("Help", 'duplicator'));
?>
    <hr size="1" />

    <div style="width:800px; margin:auto; margin-top: 20px">
        <table>
            <tr>
                <td style="width:70px"><i class="fa fa-question-circle fa-5x"></i></td>
                <td valign="top" style="padding-top:10px; font-size:13px">
                    <?php 
_e("Migrating WordPress is a complex process and the logic to make all the magic happen smoothly may not work quickly with every site.  With over 30,000 plugins and a very complex server eco-system some migrations may run into issues.  This is why the Duplicator includes a detailed knowledgebase that can help with many common issues.  Resources to additional support, approved hosting, and alternatives to fit your needs can be found below.", 'duplicator');
?>
                </td>
            </tr>
        </table>
        <br/><br/>
Ejemplo n.º 6
0
	div.feature a {font-size:21px; font-weight: bold;}
	div.dup-compare-area div.feature div.info {display:none; padding:10px 10px 5px 10px; font-style: italic; color: #555; font-size: 14px}
	div.dup-gopro-header {text-align: center; margin: 5px 0 15px 0; font-size:18px; line-height: 30px}
	div.dup-gopro-header b {font-size: 35px}
	a.dup-check-it-btn {box-shadow: 5px 5px 5px 0px #999 !important; font-size: 20px !important; height:50px !important;   padding:10px 40px 0 40px !important;}

</style>

<script type="text/javascript">var switchTo5x = true;</script>
<script type="text/javascript" src="https://ws.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "1a44d92e-2a78-42c3-a32e-414f78f9f484"});</script> 

<div class="wrap dup-wrap">
	
    <?php 
duplicator_header(__("Go Pro!", 'wpduplicator'));
?>
    <hr size="1" />

    <div style="width:850px; margin:auto; text-align: center;">

		<div style="line-height:28px">
			
			<h1 style="font-size:38px">
				<img src="<?php 
echo DUPLICATOR_PLUGIN_URL;
?>
assets/img/logo.png" style='text-align:top; margin:-8px 0'  />
				<?php 
_e('Duplicator Pro Has Arrived!', 'wpduplicator');
?>
Ejemplo n.º 7
0
<?php

DUP_Util::CheckPermissions('manage_options');
global $wpdb;
//COMMON HEADER DISPLAY
require_once DUPLICATOR_PLUGIN_PATH . '/views/javascript.php';
require_once DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php';
$current_tab = isset($_REQUEST['tab']) ? esc_html($_REQUEST['tab']) : 'logging';
?>
<div class="wrap">
    <?php 
duplicator_header(__("Tools", 'wpduplicator'));
?>

    <h2 class="nav-tab-wrapper">  
        <a href="?page=duplicator-tools&tab=logging" class="nav-tab <?php 
echo $current_tab == 'logging' ? 'nav-tab-active' : '';
?>
"> <?php 
_e('Logging', 'wpduplicator');
?>
</a>  
        <a href="?page=duplicator-tools&tab=diagnostics" class="nav-tab <?php 
echo $current_tab == 'diagnostics' ? 'nav-tab-active' : '';
?>
"> <?php 
_e('Diagnostics', 'wpduplicator');
?>
</a>  
		<a href="?page=duplicator-tools&tab=cleanup" class="nav-tab <?php 
echo $current_tab == 'cleanup' ? 'nav-tab-active' : '';
Ejemplo n.º 8
0
require_once 'javascript.php';
require_once 'inc.header.php';
$plugins_url = plugins_url();
$admin_url = admin_url();
?>

<style type="text/css">
	div.success {color:#4A8254}
	div.failed {color:red}
</style>

<div class="wrap">
	<!-- h2 required here for general system messages -->
	<h2 style='display:none'></h2>
	<?php 
duplicator_header(__("Installer Cleanup", 'wpduplicator'));
?>
		
	<form id="dup-settings-form" action="<?php 
echo admin_url('admin.php?page=duplicator_cleanup_page');
?>
" method="post">
		<?php 
wp_nonce_field('duplicator_cleanup_page');
?>
		<input type="hidden" name="action" value="save">
		<input type="hidden" name="page"   value="duplicator_cleanup_page">

		<div style="margin:auto; padding:10px;">
			<h3><?php 
_e('Installer Cleanup', 'wpduplicator');
Ejemplo n.º 9
0
            if ($(this).parents('div').children(event.data.selector).is(":hidden")) {
                $(this).children('span').addClass('ui-icon-triangle-1-s').removeClass('ui-icon-triangle-1-e');
                ;
                $(this).parents('div').children(event.data.selector).show(250);
            } else {
                $(this).children('span').addClass('ui-icon-triangle-1-e').removeClass('ui-icon-triangle-1-s');
                $(this).parents('div').children(event.data.selector).hide(250);
            }
        }

    });
</script>

<div class="wrap">
<?php 
duplicator_header(__("Packages", 'wpduplicator'));
switch ($current_tab) {
    case 'list':
        include 'list.base.php';
        break;
    case 'new1':
        include 'new1.base.php';
        break;
    case 'new2':
        include 'new2.base.php';
        break;
    case 'new3':
        include 'new3.base.php';
        break;
}
?>
Ejemplo n.º 10
0
    img#dup-support-approved { -webkit-animation:approve-keyframe 12s 1s infinite alternate backwards}
    form#dup-donate-form input {opacity:0.7;}
    form#dup-donate-form input:hover {opacity:1.0;}
    img#dup-img-5stars {opacity:0.7;}
    img#dup-img-5stars:hover {opacity:1.0;}
</style>

<script type="text/javascript">var switchTo5x = true;</script>
<script type="text/javascript" src="https://ws.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "1a44d92e-2a78-42c3-a32e-414f78f9f484"});</script> 

<div class="wrap dup-wrap dup-support-all">
	
    <?php 
duplicator_header(__("About", 'duplicator'));
?>
    <hr size="1" />

    <div style="width:850px; margin:auto; margin-top: 20px">
        <table style="width:825px">
            <tr>
                <td style="width:90px">
                    <a href="http://lifeinthegrid.com/labs/duplicator" target="_blank">
                        <img src="<?php 
echo DUPLICATOR_PLUGIN_URL;
?>
assets/img/logo-box.png" style='text-align:top; margin:0'  />
                    </a>
                </td>
                <td valign="top" style="padding-top:10px; font-size:14px">
Ejemplo n.º 11
0
$err_link_log = "<a target='_blank' href='#' onclick='{$err_link_pack}'>" . DUP_Util::__('Package Log') . '</a>';
$err_link_faq = '<a target="_blank" href="https://snapcreek.com/duplicator/docs/faqs-tech/">' . DUP_Util::__('FAQ Pages') . '</a>';
$err_link_ticket = '<a target="_blank" href="https://snapcreek.com/ticket/">' . DUP_Util::__('Help Ticket') . '</a>';
?>

<style>
    .narrow-input { width: 80px; }
    .wide-input {width: 400px; } 
	 table.form-table tr td { padding-top: 25px; }
	 div.all-packages {float:right; margin-top: -30px; }
	 div.all-packages a.add-new-h2 {font-size: 16px}
</style>

<div class="wrap">
    <?php 
duplicator_header(DUP_Util::__("Package Details &raquo; {$package->Name}"));
?>
	
	<?php 
if ($err_found) {
    ?>
	<div class="error">
		<p>
			<?php 
    echo DUP_Util::__('An error was detected while creating this package. Please review the ') . $err_link_log . DUP_Util::__(' for more details.');
    ?>
 <br/>
			<?php 
    echo DUP_Util::__('Additional help is available online via the ') . $err_link_faq . DUP_Util::__(' or just contact support via a ') . $err_link_ticket;
    ?>
 
Ejemplo n.º 12
0
$err_link_log = "<a target='_blank' href='{$link_log}' >" . __('package log', 'duplicator') . '</a>';
$err_link_faq = '<a target="_blank" href="https://snapcreek.com/duplicator/docs/faqs-tech/">' . __('FAQ', 'duplicator') . '</a>';
$err_link_ticket = '<a target="_blank" href="https://snapcreek.com/duplicator/docs/faqs-tech/#faq-resource">' . __('resources page', 'duplicator') . '</a>';
?>

<style>
    .narrow-input { width: 80px; }
    .wide-input {width: 400px; } 
	 table.form-table tr td { padding-top: 25px; }
	 div.all-packages {float:right; margin-top: -30px; }
	 div.all-packages a.add-new-h2 {font-size: 16px}
</style>

<div class="wrap">
    <?php 
duplicator_header(__("Package Details &raquo; {$package->Name}", 'duplicator'));
?>
	
	<?php 
if ($err_found) {
    ?>
	<div class="error">
		<p>
			<?php 
    echo __('This package contains an error.  Please review the ', 'duplicator') . $err_link_log . __(' for details.', 'duplicator');
    ?>
 
			<?php 
    echo __('For help visit the ', 'duplicator') . $err_link_faq . __(' and ', 'duplicator') . $err_link_ticket;
    ?>