@@ 19-24 (lines=6) @@ | ||
16 | ||
17 | <a id="intercom" class="page-title-action" href="mailto:[email protected]"><?php _e( 'Support', 'backupwordpress' ); ?></a> |
|
18 | ||
19 | <?php else : |
|
20 | ||
21 | add_thickbox(); ?> |
|
22 | <a id="intercom-info" class="thickbox page-title-action" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'load_enable_support', 'width' => '600', 'height' => '420' ), self_admin_url( 'admin-ajax.php' ) ), 'hmbkp_nonce' ) ); ?>"><span class="dashicons dashicons-admin-users"></span> <?php _e( 'Enable Support', 'backupwordpress' ); ?></a> |
|
23 | ||
24 | <?php endif; ?> |
|
25 | ||
26 | </h1> |
|
27 |
@@ 9-13 (lines=5) @@ | ||
6 | ||
7 | <div class="hmbkp-schedule-actions row-actions"> |
|
8 | ||
9 | <?php if ( is_backup_possible() ) : ?> |
|
10 | ||
11 | <a class="hmbkp-run" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'hmbkp_run_schedule', 'hmbkp_schedule_id' => $schedule->get_id() ), admin_url( 'admin-ajax.php' ) ), 'hmbkp_run_schedule', 'hmbkp_run_schedule_nonce' ) ); ?>"><?php _e( 'Run now', 'backupwordpress' ); ?></a> | |
|
12 | ||
13 | <?php endif; ?> |
|
14 | ||
15 | <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'hmbkp_edit_schedule', 'hmbkp_panel' => 'hmbkp_edit_schedule_settings', 'hmbkp_schedule_id' => $schedule->get_id() ), get_settings_url() ), 'hmbkp-edit-schedule' ); ?>"><?php _e( 'Settings', 'backupwordpress' ); ?></a> | |
|
16 |
@@ 32-34 (lines=3) @@ | ||
29 | ||
30 | <td> |
|
31 | ||
32 | <?php if ( is_path_accessible( Path::get_path() ) ) : ?> |
|
33 | <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'hmbkp_backup_archive' => $encoded_file, 'hmbkp_schedule_id' => $schedule->get_id(), 'action' => 'hmbkp_request_download_backup' ), admin_url( 'admin-post.php' ) ), 'hmbkp_download_backup', 'hmbkp_download_backup_nonce' ) ); ?>" class="download-action"><?php _e( 'Download', 'backupwordpress' ); ?></a> | |
|
34 | <?php endif; ?> |
|
35 | ||
36 | <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'hmbkp_backup_archive' => $encoded_file, 'hmbkp_schedule_id' => $schedule->get_id(), 'action' => 'hmbkp_request_delete_backup' ), admin_url( 'admin-post.php' ) ), 'hmbkp_delete_backup', 'hmbkp_delete_backup_nonce' ) ); ?>" class="delete-action"><?php _e( 'Delete', 'backupwordpress' ); ?></a> |
|
37 |