1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
|
<?php if ( ! is_admin() ) { die( 'Access denied.' ); }
pb_backupbuddy::load_style( 'backupProcess.css' ); pb_backupbuddy::load_style( 'backupProcess2.css' );
$default_tab = 0; if ( is_numeric( pb_backupbuddy::_GET( 'tab' ) ) ) { $default_tab = pb_backupbuddy::_GET( 'tab' ); }
// $mode is defined prior to this file load as either destination or migration.
if ( $mode == 'migration' ) { $picker_url = pb_backupbuddy::ajax_url( 'migration_picker' ); } else { if ( '1' == pb_backupbuddy::_GET( 'sending' ) ) { $picker_url = pb_backupbuddy::ajax_url( 'destination_picker' ); } else { $picker_url = pb_backupbuddy::ajax_url( 'destinationTabs' ); } } //$picker_url .= '&sending=' . pb_backupbuddy::_GET( 'sending' );
if ( pb_backupbuddy::_GET( 'action_verb' ) != '' ) { $action_verb = ' ' . htmlentities( pb_backupbuddy::_GET( 'action_verb' ) ); } else { // default $action_verb = ''; }
pb_backupbuddy::load_style( 'admin' ); pb_backupbuddy::load_style( 'destination_picker.css' ); pb_backupbuddy::load_script( 'jquery' ); pb_backupbuddy::load_script( 'jquery-ui-core' ); pb_backupbuddy::load_script( 'jquery-ui-widget' );
// Load accordion JS. Pre WP v3.3 we need to load our own JS file. Was: pb_backupbuddy::load_script( 'jquery-ui-accordion' ); global $wp_version; pb_backupbuddy::load_script( version_compare( $wp_version, '3.3', '<' ) ? 'jquery.ui.accordion.min.js' : 'jquery-ui-accordion' );
// Destinations may hide the add and test buttons by altering these variables. global $pb_hide_save; global $pb_hide_test; $pb_hide_save = false; $pb_hide_test = false;
// Load destinations class. require_once( pb_backupbuddy::plugin_path() . '/destinations/bootstrap.php' );
pb_backupbuddy::load_script( 'filetree.js' ); pb_backupbuddy::load_style( 'filetree.css' ); ?>
<script> jQuery(document).ready(function() { // Open settings for destination. jQuery( '.dest_select_open' ).click( function() { //jQuery('.settings').stop(true, true).slideUp(200); // Limits to only one open at a time. jQuery(this).next('.settings').stop(true, true).slideToggle(200); } ); // Save a remote destination settings. jQuery( '.pb_backupbuddy_destpicker_save' ).click( function(e) { e.preventDefault(); var pb_remote_id = 'NEW'; //jQuery(this).closest('.backupbuddy-destination-wrap').attr('data-destination_id'); var new_title = jQuery(this).closest('form').find( '#pb_backupbuddy_title' ).val(); jQuery(this).closest('form').find( '.pb_backupbuddy_destpicker_saveload' ).show(); jQuery.post( '<?php echo pb_backupbuddy::ajax_url( 'remote_save' ); ?>&pb_backupbuddy_destinationid=' + pb_remote_id, jQuery(this).parent( 'form' ).serialize(), function(data) { data = jQuery.trim( data ); if ( data == 'Destination Added.' ) { <?php if ( pb_backupbuddy::_GET( 'quickstart' ) != '' ) { ?> var win = window.dialogArguments || opener || parent || top; win.pb_backupbuddy_quickstart_destinationselected(); win.tb_remove(); return false; <?php } ?> window.location.href = '<?php echo $picker_url . '&callback_data=' . pb_backupbuddy::_GET( 'callback_data' ); ?>&sending=<?php echo pb_backupbuddy::_GET( 'sending' ); ?>&alert_notice=' + encodeURIComponent( 'New destination successfully added.' ); } else if ( data == 'Settings saved.' ) { jQuery( '.pb_backupbuddy_destpicker_saveload' ).hide(); jQuery( '.nav-tab-active' ).find( '.destination_title' ).text( new_title ); } else { jQuery( '.pb_backupbuddy_destpicker_saveload' ).hide(); alert( "Error: \n\n" + data ); } } ); return false; } ); // Select a destionation to return to parent page. jQuery('.bb_destinations-existing .bb_destination-item a').click(function(e) { e.preventDefault(); <?php if ( $mode == 'migration' ) { ?> destination_url = jQuery(this).nextAll('.settings').find('.migration_url').val(); if ( destination_url == '' ) { alert( 'Please enter a destination URL in the settings for the destination, test it, then save before selecting this destination.' ); jQuery(this).nextAll('.settings').find('.migration_url').css( 'background', '#ffffe0' ); jQuery(this).nextAll('.settings').first().stop(true, true).slideDown(200); return false; } <?php } ?> destinationID = jQuery(this).attr( 'rel' ); console.log( 'Send to destinationID: `' + destinationID + '`.' ); <?php if ( pb_backupbuddy::_GET( 'quickstart' ) != '' ) { ?> var win = window.dialogArguments || opener || parent || top; win.pb_backupbuddy_quickstart_destinationselected( destinationID ); win.tb_remove(); return false; <?php } ?> if ( jQuery( '#pb_backupbuddy_remote_delete' ).is( ':checked' ) ) { delete_after = true; } else { delete_after = false; } var win = window.dialogArguments || opener || parent || top; win.pb_backupbuddy_selectdestination( destinationID, jQuery(this).attr( 'title' ), '<?php echo pb_backupbuddy::_GET( 'callback_data' ); ?>', jQuery('#pb_backupbuddy_remote_delete').is(':checked'), '<?php echo $mode; ?>' ); win.tb_remove(); return false; }); // Test a remote destination. jQuery( '.pb_backupbuddy_destpicker_test' ).click( function() { jQuery(this).children( '.pb_backupbuddy_destpicker_testload' ).show(); jQuery.post( '<?php echo pb_backupbuddy::ajax_url( 'remote_test' ); ?>', jQuery(this).parent( 'form' ).serialize(), function(data) { jQuery( '.pb_backupbuddy_destpicker_testload' ).hide(); data = jQuery.trim( data ); alert( data ); } ); return false; } ); }); </script>
<style type="text/css"> .bb-dest-option .settings:before { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/dest_arrow.jpg') top right no-repeat; display: block; content: ''; height: 9px; width: 17px; margin: 0 0 0 94.5%; //556px; }
#pb_backupbuddy_destpicker { margin: 10px; -webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px; border:1px solid #C9C9C9; background-color:#EEEEEE; padding: 6px; } .pb_backupbuddy_destpicker_rowtable { width: 100%; border-collapse: collapse; border-top: 1px solid #C9C9C9; } .pb_backupbuddy_destpicker_rowtable tr:hover { //background: #E8E8E8; cursor: pointer; background: #dbdbdb; /* Old browsers */ background: -moz-radial-gradient(center, ellipse cover, #dbdbdb 0%, #eeeeee 79%); /* FF3.6+ */ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#dbdbdb), color-stop(79%,#eeeeee)); /* Chrome,Safari4+ */ background: -webkit-radial-gradient(center, ellipse cover, #dbdbdb 0%,#eeeeee 79%); /* Chrome10+,Safari5.1+ */ background: -o-radial-gradient(center, ellipse cover, #dbdbdb 0%,#eeeeee 79%); /* Opera 12+ */ background: -ms-radial-gradient(center, ellipse cover, #dbdbdb 0%,#eeeeee 79%); /* IE10+ */ background: radial-gradient(ellipse at center, #dbdbdb 0%,#eeeeee 79%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dbdbdb', endColorstr='#eeeeee',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
} .pb_backupbuddy_destpicker_rowtable td { padding: 8px; padding-top: 12px; padding-bottom: 12px; } #pb_backupbuddy_destpicker h3:focus { outline: 0; } .pb_backupbuddy_destpicker_type { width: 80px; } .pb_backupbuddy_destpicker_config { width: 40px; text-align: right; } .pb_backupbuddy_destpicker_test { text-align: center; display: inline-block; margin-right: 15px; } .pb_backupbuddy_destpicker_testload { display: none; vertical-align: -2px; margin-left: 10px; width: 12px; height: 12px; } .pb_backupbuddy_destpicker_save { //width: 90px; text-align: center; display: inline-block; margin-right: 15px; } .pb_backupbuddy_destpicker_saveload,.pb_backupbuddy_destpicker_deleteload { display: none; vertical-align: -4px; margin-left: 5px; width: 16px; height: 16px; } .pb_backupbuddy_destpicker_newdest { background-color:#EEEEEE; width: 90%; padding: 10px; margin-left: auto; margin-right: auto; margin-bottom: 10px; -webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px; } .pb_backupbuddy_destpicker_newdest_select { float: right; padding-top: 10px; } .form-table tbody tr th { //font-size: 12px; } .button-primary:hover { color: #FFFFFF; } .bb-dest-view-files { display: none; float: right; margin-right: 10px; margin-top: 5px; font-style: italic; } </style>
<?php if ( $mode == 'migration' ) { pb_backupbuddy::alert( ' <b>' . __( 'Tip', 'it-l10n-backupbuddy' ) . ':</b> ' . __( 'If you encounter difficulty try the ImportBuddy tool. Verify the destination URL by entering the "Migration URL", and clicking "Test Settings" before proceeding.', 'it-l10n-backupbuddy' ) . ' ' . __( 'Only Local & FTP destinations may be used for automated migrations.', 'it-l10n-backupbuddy' ) . ' ' ); echo '<br>'; }
global $pb_hide_save; if ( pb_backupbuddy::_GET( 'add' ) != '' ) { $destination_type = pb_backupbuddy::_GET( 'add' ); echo '<h2>Add New Destination</h2>'; // the following scrollTo is so that once scrolling page down to look at long list of destinations to add, coming here bumps them back to the proper place up top. ?>
<script> var win = window.dialogArguments || opener || parent || top; win.window.scrollTo(0,0); </script> <?php echo '<div class="pb_backupbuddy_destpicker_id bb-dest-option" rel="NEW">'; $settings = pb_backupbuddy_destinations::configure( array( 'type' => $destination_type ), 'add' ); if ( $settings === false ) { echo 'Error #556656a. Unable to display configuration.'; } else { if ( $pb_hide_test !== true ) { $test_button = '<a href="#" class="button secondary-button pb_backupbuddy_destpicker_test" href="#" title="Test destination settings.">Test Settings<img class="pb_backupbuddy_destpicker_testload" src="' . pb_backupbuddy::plugin_url() . '/images/loading.gif" title="Testing... This may take several seconds..."></a> '; } else { $test_button = ''; } if ( $pb_hide_save !== true ) { $save_button = '<img class="pb_backupbuddy_destpicker_saveload" src="' . pb_backupbuddy::plugin_url() . '/images/loading.gif" title="Saving... This may take a few seconds...">'; echo $settings->display_settings( '+ Add Destination', $test_button, $save_button, 'pb_backupbuddy_destpicker_save' ); // title, before, after, class } } echo '</div>'; //echo '<br><br><br><a class="button secondary-button" href="' . $picker_url . '&callback_data=' . pb_backupbuddy::_GET( 'callback_data' ) . '&quickstart=' . pb_backupbuddy::_GET( 'quickstart' ) . '&filter=' . pb_backupbuddy::_GET( 'filter' ) . '">← back to destinations</a>'; return; }
/* pb_backupbuddy::load_script( 'admin.js', true ); // pbframework version due to second param. pb_backupbuddy::load_script( 'admin.js' ); pb_backupbuddy::load_style( 'admin.css', true ); // pbframework version due to second param. pb_backupbuddy::load_script( 'tooltip.js', true ); // pbframework version due to second param. */
// Determine how many destinations we will be listing. if ( $mode == 'migration' ) { $destination_list_count = 0; foreach( pb_backupbuddy::$options['remote_destinations'] as $destination ) { if ( ( $destination['type'] != 'local' ) && ( $destination['type'] != 'ftp' ) ) { // if not local or ftp when in migration mode then skip. continue; } else { $destination_list_count++; } } } else { $destination_list_count = count( pb_backupbuddy::$options['remote_destinations'] ); }
function pb_bb_add_box( $mode, $picker_url, $hideBack = false ) { ?> <div class="bb_destinations-group bb_destinations-new"> <h3>What kind of destination do you want to add?</h3> <ul> <?php $i = 0; foreach( pb_backupbuddy_destinations::get_destinations_list() as $destination_name => $destination ) { if ( $mode == 'migration' ) { if ( ( $destination_name != 'local' ) && ( $destination_name != 'ftp' ) && ( $destination_name != 'sftp' ) ) { // if not local or ftp when in migration mode then skip. continue; } } // Filter only showing certain destination type. if ( '' != pb_backupbuddy::_GET( 'filter' ) ) { if ( $destination_name != pb_backupbuddy::_GET( 'filter' ) ) { continue; // Move along to next destination. } } $i++; echo '<li class="bb_destination-item bb_destination-' . $destination_name . ' bb_destination-new-item"><a href="' . $picker_url . '&add=' . $destination_name . '&callback_data=' . pb_backupbuddy::_GET( 'callback_data' ) . '&sending=' . pb_backupbuddy::_GET( 'sending' ) . '" rel="' . $destination_name . '">' . $destination['name'] . '</a></li>'; if ( $i >= 5 ) { echo '<span class="bb_destination-break"></span>'; $i = 0; } } if ( false === $hideBack ) { ?> <br><br> <a href="javascript:void(0)" class="btn btn-small btn-white btn-with-icon btn-back btn-back-add" onClick="jQuery('.bb_destinations-new').hide(); jQuery('.bb_destinations-existing').show();"><span class="btn-icon"></span>Back to existing destinations</a> <?php } ?> </ul> </div> <?php }
$i = 0; if ( ( pb_backupbuddy::_GET( 'show_add' ) != 'true' ) && ( $destination_list_count > 0 ) ) { if ( pb_backupbuddy::_GET( 'alert_notice' ) != '' ) { pb_backupbuddy::alert( htmlentities( stripslashes( pb_backupbuddy::_GET( 'alert_notice' ) ) ) ); } ?> <div class="bb_actions bb_actions_after slidedown" style=""> <?php require_once( pb_backupbuddy::plugin_path() . '/destinations/bootstrap.php' ); ?> <div class="bb_destinations" style="display: block;"> <div class="bb_destinations-group bb_destinations-existing"> <h3>Send to one of your existing destinations?</h3><br> <?php if ( '' != pb_backupbuddy::_GET( 'sending' ) ) { ?> <label><input type="checkbox" name="delete_after" id="pb_backupbuddy_remote_delete" value="1">Delete local backup after successful delivery?</label> <br><br> <?php } ?> <ul> <?php foreach( pb_backupbuddy::$options['remote_destinations'] as $destination_id => $destination ) { // Only show local, ftp, and sftp for migrations. if ( 'migration' == $mode ) { if ( ( 'local' != $destination['type'] ) && ( 'ftp' != $destination['type'] ) && ( 'sftp' != $destination['type'] ) ) { continue; } } echo '<li class="bb_destination-item bb_destination-' . $destination['type'] . '"><a href="javascript:void(0)" title="' . $destination['title'] . '" rel="' . $destination_id . '">' . $destination['title'] . '</a></li>'; } ?> <br><br><br> <a href="javascript:void(0)" class="btn btn-small btn-addnew" onClick="jQuery('.bb_destinations-existing').hide(); jQuery('.bb_destinations-new').show();">Add New Destination +</a> </ul> </div> <?php pb_bb_add_box( $mode, $picker_url); // pb_backupbuddy::ajax_url( 'destination_picker' ) ?> </div> </div> <?php } else { // Add Mode ?> <div style="text-align: center;"> <?php pb_bb_add_box( $mode, $picker_url, $hideBack = true ); ?> </div> <br><br> <?php } ?>
<style type="text/css"> /* Core Styles - USED BY DIRECTORY EXCLUDER */ .jqueryFileTree LI.directory { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/directory.png') 6px 6px no-repeat; } .jqueryFileTree LI.expanded { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/folder_open.png') 6px 6px no-repeat; } .jqueryFileTree LI.file { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/file.png') 6px 6px no-repeat; } .jqueryFileTree LI.wait { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/spinner.gif') 6px 6px no-repeat; } /* File Extensions*/ .jqueryFileTree LI.ext_3gp { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/film.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_afp { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_afpa { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_asp { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_aspx { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_avi { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/film.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_bat { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/application.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_bmp { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/picture.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_c { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_cfm { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_cgi { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_com { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/application.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_cpp { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_css { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/css.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_doc { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/doc.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_exe { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/application.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_gif { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/picture.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_fla { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/flash.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_h { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_htm { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/html.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_html { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/html.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_jar { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/java.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_jpg { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/picture.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_jpeg { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/picture.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_js { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/script.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_lasso { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_log { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/txt.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_m4p { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/music.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_mov { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/film.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_mp3 { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/music.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_mp4 { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/film.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_mpg { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/film.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_mpeg { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/film.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_ogg { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/music.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_pcx { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/picture.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_pdf { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/pdf.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_php { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/php.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_png { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/picture.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_ppt { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/ppt.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_psd { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/psd.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_pl { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/script.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_py { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/script.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_rb { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/ruby.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_rbx { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/ruby.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_rhtml { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/ruby.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_rpm { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/linux.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_ruby { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/ruby.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_sql { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/db.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_swf { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/flash.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_tif { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/picture.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_tiff { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/picture.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_txt { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/txt.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_vb { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_wav { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/music.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_wmv { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/film.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_xls { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/xls.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_xml { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/code.png') 6px 6px no-repeat; } .jqueryFileTree LI.ext_zip { background: url('<?php echo pb_backupbuddy::plugin_url(); ?>/images/filetree/zip.png') 6px 6px no-repeat; } </style>
|