Changeset 869006
- Timestamp:
- 03/04/2014 04:33:52 AM (12 years ago)
- Location:
- wp-time-machine/trunk
- Files:
-
- 5 edited
-
css/wp-time-machine.css (modified) (14 diffs)
-
includes/wpTimeMachineCore.php (modified) (20 diffs)
-
javascript/wp-time-machine.js (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
wp-time-machine.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-time-machine/trunk/css/wp-time-machine.css
r868335 r869006 1 1 2 #wpTimeMachine h2 { 2 width:700px; 3 height:100px; 4 display:block; 5 text-indent:-6000px; 6 font:0/0 a; 7 background: #fff url('../images/wpTimeMachine.jpg') no-repeat 170px 25px; 3 width: 700px; 4 font-size: 24px; 5 font-weight: bold; 6 text-align: center; 7 } 8 9 #wpTimeMachine .hidden { 10 display: none; 8 11 } 9 12 … … 12 15 right: -5px; 13 16 top: -10px; 14 width: auto; 15 border-radius: 5px; 16 padding: 0 4px; 17 border: 2px solid #999; 18 border-width: 2px 2px 0 0; 19 background: #ffc; 20 box-shadow: 2px 2px 2px rgba(0,0,0,0.3); 21 text-decoration: none; 17 border-radius: 50%; 18 border: 1px solid #999; 19 color: #999; 20 } 21 22 #wpTimeMachine a.close:hover { 23 color: #000; 24 border-color: #000; 25 } 26 27 #wpTimeMachine a.close span { 28 font: 0/0 a; 22 29 } 23 30 … … 33 40 width:480px; 34 41 background-color:#ffc; 35 border:2px solid #999; 36 -moz-border-radius:4px; 37 -webkit-border-radius:4px; 42 border:1px solid #999; 43 border-radius:4px; 38 44 padding:15px; 39 45 z-index:9999; … … 46 52 } 47 53 54 #wpTimeMachine p.help a.close { 55 font-size:18px; 56 background: #fff; 57 } 58 48 59 #wpTimeMachine a.help_link { 49 60 float:right; … … 59 70 border:2px solid #ccc; 60 71 background-color:#fff; 61 -moz-border-radius:4px; 62 -webkit-border-radius:4px; 72 border-radius:4px; 63 73 margin:10px 0; 64 74 padding:10px 25px; … … 67 77 68 78 #wpTimeMachine div#RecentInfo a.close { 79 80 position: absolute; 81 right: -5px; 82 top: -10px; 83 border-radius: 50%; 84 border: 1px solid #999; 85 color: #999; 86 69 87 background-color:#fff; 70 88 } … … 74 92 border:2px solid #ccc; 75 93 background-color:#ffc; 76 -moz-border-radius:4px; 77 -webkit-border-radius:4px; 94 border-radius:4px; 78 95 margin:0; 79 96 padding:10px 25px; 97 clear: both; 80 98 } 81 99 … … 113 131 #wpTimeMachine fieldset.last { 114 132 border:0; 115 margin-bottom: 50px;116 133 } 117 134 … … 153 170 height:auto; 154 171 font-weight:700; 155 margin:0 265px 0 18px;172 margin:0 0 0 96px; 156 173 } 157 174 … … 160 177 background-color:#f7e4e5; 161 178 width:auto; 162 -moz-border-radius:4px; 163 -webkit-border-radius:4px; 179 border-radius:4px; 164 180 margin:15px 0 10px; 165 181 padding:5px; … … 176 192 background:#f7e4e5; 177 193 border:2px solid #999; 178 -moz-border-radius:4px; 179 -webkit-border-radius:4px; 194 border-radius:4px; 180 195 z-index:999999; 181 196 margin:0; … … 209 224 background-color:#f7e4e5; 210 225 border:2px solid #999; 211 -moz-border-radius:4px; 212 -webkit-border-radius:4px; 226 border-radius:4px; 227 228 /* 229 position: absolute; 230 right: -5px; 231 top: -10px; 232 border-radius: 50%; 233 border: 1px solid #999; 234 color: #999; 235 */ 236 213 237 z-index:999999; 214 238 } … … 226 250 background-color: #FFFFFF; 227 251 border: 2px solid #CCCCCC; 228 border-radius: 4px 4px 4px 4px;252 border-radius: 4px; 229 253 margin: 40px 0 10px -20px; 230 254 padding: 10px 25px; … … 250 274 padding: 0; 251 275 } 276 .wpTimeMachine_footer li a span { 277 display: none; 278 } 252 279 .wpTimeMachine_footer li.Official { 253 280 float: right; -
wp-time-machine/trunk/includes/wpTimeMachineCore.php
r868338 r869006 308 308 echo "<span id='recent_archive_info'>Your archives are ready, they took about " . $wpTimeMachineOptionsStorage['recent_archive_duration'] . " seconds to create;"; 309 309 echo " and are in your <b class=\"offsite_name\">".$offsite_name."</b> account (in this ".strtolower($remote_path_label).": ".$wpTimeMachineOptionsStorage['recent_archive_path']." as a ".$wpTimeMachineOptionsStorage['recent_archive_format']." file).</span>"; 310 echo "<p><a href='javascript:;' onclick='jQuery(\"#RecentInfo\").toggle()' class=\"close \">Close this</a></p>";310 echo "<p><a href='javascript:;' onclick='jQuery(\"#RecentInfo\").toggle()' class=\"close dashicons dashicons-no\"><span>Close</span></a></p>"; 311 311 echo "</div>"; 312 312 … … 316 316 echo "<h3>Your Archive Information:</h3>"; 317 317 echo "Stored on <b class=\"offsite_name\">".$offsite_name."</b> (in this ".strtolower($remote_path_label).": ".$wpTimeMachineOptionsStorage['recent_archive_path']." as a ".$wpTimeMachineOptionsStorage['recent_archive_format']." file).</span>"; 318 echo "<p><a href='javascript:;' onclick='jQuery(\"#RecentInfo\").toggle()' class=\"close \">Close this</a></p>";318 echo "<p><a href='javascript:;' onclick='jQuery(\"#RecentInfo\").toggle()' class=\"close dashicons dashicons-no\"><span>Close</span></a></p>"; 319 319 echo "</div>"; 320 320 … … 325 325 <p> 326 326 327 <div class="wpTimeMachine_progress " style="display:none">327 <div class="wpTimeMachine_progress hidden"> 328 328 329 329 <h2>Please wait while your files & data are being archived</h2> … … 336 336 </div> 337 337 338 <div class="wpTimeMachine_complete " style="display:none">338 <div class="wpTimeMachine_complete hidden"> 339 339 340 340 <h2>Your archives have been completed</h2> … … 348 348 </div> 349 349 350 <div class="wpTimeMachine_error " style="display:none">350 <div class="wpTimeMachine_error hidden"> 351 351 352 352 <h2>Your archives have NOT been completed</h2> … … 407 407 </fieldset> 408 408 409 <div>410 411 <a class="button-secondary" href="javascript:;" id="show_options">Plugin Options</a><a class="button-secondary" href="javascript:;" id="show_info">Plugin Help</a>412 413 <input class="button-secondary sb" type="submit" id="submit_package_request" value="Generate wp Time Machine archive" />414 415 </div>416 417 409 <div class="wpTimeMachineOptions"> 418 410 … … 428 420 <a href="javascript:;" onclick="jQuery('#offsite_selections').toggle()">Change your offsite service</a> 429 421 </label> <br /> 430 <span id="offsite_selections" style="display:none">422 <span id="offsite_selections" class="hidden"> 431 423 432 424 <?php … … 477 469 <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_formats')" class="help_link"><?php _e("Learn More"); ?></a> 478 470 479 <p id="wpTimeMachine_learn_about_formats" class="help " style="display:none">471 <p id="wpTimeMachine_learn_about_formats" class="help hidden"> 480 472 481 473 By default File Formats is set to generate all of your archives as ZIP (.zip) files; since that seems to be the most commonly used archive format on most … … 483 475 compression and therefore take up less disk space and take less time to transfer. 484 476 485 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close ">Close</a>477 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a> 486 478 487 479 </p> … … 507 499 <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_post_pub')" class="help_link"><?php _e("Learn More"); ?></a> 508 500 509 <p id="wpTimeMachine_learn_about_post_pub" class="help " style="display:none">501 <p id="wpTimeMachine_learn_about_post_pub" class="help hidden"> 510 502 511 503 This feature lets you take advantage of WordPress' ability to add events after a post gets published (or updated). Using this plugin you … … 513 505 about: using this feature will add time to publishing (depending on the size of your blog it may add several seconds, or even minutes). 514 506 515 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close ">Close</a>507 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a> 516 508 517 509 </p> … … 537 529 <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_timestamps')" class="help_link"><?php _e("Learn More"); ?></a> 538 530 539 <p id="wpTimeMachine_learn_about_timestamps" class="help " style="display:none">531 <p id="wpTimeMachine_learn_about_timestamps" class="help hidden"> 540 532 541 533 This feature adds a date to paths or files <br />(depending on which offsite service you use).<br /><br /> … … 544 536 makes no attempt to delete archives of this type beyond a certain date. What you archive stays until you delete it... 545 537 546 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close ">Close</a>538 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a> 547 539 548 540 </p> … … 568 560 <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_cache')" class="help_link"><?php _e("Learn More"); ?></a> 569 561 570 <p id="wpTimeMachine_learn_about_cache" class="help " style="display:none">562 <p id="wpTimeMachine_learn_about_cache" class="help hidden"> 571 563 572 564 This feature let's you exclude a directory called "cache" which might exist in your wp-content directory.<br /><br /> … … 574 566 This helps reduce the size of your archive if you're also using a plugin like WP Super Cache, for example. 575 567 576 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close ">Close</a>568 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a> 577 569 578 570 </p> … … 580 572 </fieldset> 581 573 582 <fieldset >574 <fieldset class="last"> 583 575 584 576 <?php … … 598 590 <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_logging')" class="help_link"><?php _e("Learn More"); ?></a> 599 591 600 <p id="wpTimeMachine_learn_about_logging" class="help " style="display:none">592 <p id="wpTimeMachine_learn_about_logging" class="help hidden"> 601 593 602 594 This feature is intended to make it easier for you to get help with issues you have while using the plugin. The log that's created is located … … 606 598 here: <a title="Feedback" href="http://wptimemachine.com/feedback/">Feedback</a>. 607 599 608 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close ">Close</a>600 <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a> 609 601 610 602 </p> … … 614 606 </div> 615 607 608 <div> 609 610 <a class="button-secondary" href="javascript:;" id="show_options">Plugin Options</a> 611 612 <input class="button-secondary sb" type="submit" id="submit_package_request" value="Generate wp Time Machine archive" /> 613 614 </div> 615 616 616 </form> 617 617 618 618 <div class="wpTimeMachine_footer"> 619 620 <ul> 621 <li> 622 Share wp Time Machine: 623 </li> 624 <li> 625 <a class="dashicons dashicons-twitter" href="http://twitter.com/home?status=An awesome WordPress plugin for backups: wp Time Machine: http://wpTimeMachine.com" target="_new" title="Share on Twitter"><span>Share on Twitter</span></a> 626 </li> 627 <li> 628 <a class="dashicons dashicons-facebook-alt" href="http://www.facebook.com/sharer.php?u=http://wpTimeMachine.com" target="_new" title="Share on Facebook"><span>Share on Facebook</span></a> 629 </li> 630 <li class="Official"> 631 <a href="http://wpTimeMachine.com" target="_new" title="Official website for the wp Time Machine">wpTimeMachine.com</a>, version: <?php echo wpTimeMachineVersion; ?>; <a href="javascript:;" id="show_info">Help</a> 632 </li> 633 </ul> 634 635 </div> 619 636 620 637 <div id="Info"> … … 697 714 </div> 698 715 699 <div class="wpTimeMachine_footer">700 701 <ul>702 <li class="Twitter"><a href="http://twitter.com/home?status=An awesome WordPress plugin for backups: wp Time Machine: http://wpTimeMachine.com" target="_new">Share on Twitter</a></li>703 <li class="Facebook"><a href="http://www.facebook.com/sharer.php?u=http://wpTimeMachine.com" target="_new">Share on Facebook</a></li>704 <li class="Official"><a href="http://wpTimeMachine.com" target="_new" title="Official website for the wp Time Machine">wpTimeMachine.com</a>, version: <?php echo wpTimeMachineVersion; ?></li>705 </ul>706 707 </div>708 709 716 </p> 710 717 711 <pre id="output" style="display:none">718 <pre id="output" class="hidden"> 712 719 713 720 <?php -
wp-time-machine/trunk/javascript/wp-time-machine.js
r661130 r869006 79 79 event.preventDefault(); 80 80 jQuery("#Info").toggle(); 81 jQuery(".wpTimeMachineOptions").hide();81 //jQuery(".wpTimeMachineOptions").hide(); 82 82 }); 83 83 … … 90 90 event.preventDefault(); 91 91 jQuery(".wpTimeMachineOptions").toggle(); 92 jQuery("#Info").hide();92 //jQuery("#Info").hide(); 93 93 }); 94 94 … … 102 102 wpTimeMachine_toggle("use_post_pub", use_post_pub_labels[0], use_post_pub_labels[1]); 103 103 }); 104 104 105 105 jQuery("#use_timestamp_dir").click(function (event) { 106 106 event.preventDefault(); -
wp-time-machine/trunk/readme.txt
r868330 r869006 4 4 Requires at least: 3.0.0 5 5 Tested up to: 3.8.1 6 Stable tag: 3. 2.06 Stable tag: 3.3.0 7 7 8 8 == Description == -
wp-time-machine/trunk/wp-time-machine.php
r868330 r869006 4 4 Plugin URI: http://wordpress.org/extend/plugins/wp-time-machine/ 5 5 Description: Creates an archive of all your WordPress Data & Files and then stores them on Dropbox, Amazon's S3, or your FTP host. 6 Version: 3. 2.06 Version: 3.3.0 7 7 Author: Paul G Petty 8 8 Author URI: http://wpTimeMachine.com 9 9 */ 10 10 11 define( 'wpTimeMachineVersion', '3. 2.0' );11 define( 'wpTimeMachineVersion', '3.3.0' ); 12 12 13 13 define( 'wpcontent_dir', ( defined('WP_CONTENT_DIR') ) ? WP_CONTENT_DIR : ABSPATH . 'wp-content' );
Note: See TracChangeset
for help on using the changeset viewer.