PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.1.7.1
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.1.7.1
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / inc / admin / views / tools / database / html-repair-database.php

html-repair-database.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.1.7.1, at inc/admin/views/tools/database/html-repair-database.php

67 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @author ThimPress
4 * @package LearnPress/Admin/Views
5 * @version 3.0.0
6 */
7
8 defined( 'ABSPATH' ) || die();
9 ?>
10
11 <div class="card">
12 <h2><?php _e( 'Repair Database', 'learnpress' ); ?></h2>
13 <p><?php _e( 'Remove unwanted data and re-calculate relationship.', 'learnpress' ); ?></p>
14 <ul id="learn-press-syncs">
15 <!-- <li>-->
16 <!-- <label>-->
17 <!-- <input type="checkbox" name="lp-repair[sync-remove-older-data]" value="yes">-->
18 <!-- --><?php // esc_html_e('Remove older meta data such as: post meta, ...', 'learnpress'); ?>
19 <!-- </label>-->
20 <!-- </li>-->
21 <li>
22 <label>
23 <input type="checkbox" name="lp-repair[sync-course-orders]" value="yes">
24 <?php esc_html_e( 'Re-count orders in each course', 'learnpress' ); ?>
25 </label>
26 </li>
27 <li>
28 <label>
29 <input type="checkbox" name="lp-repair[sync-user-orders]" value="yes">
30 <?php esc_html_e( 'Re-count orders for each user', 'learnpress' ); ?>
31 </label>
32 </li>
33 <li>
34 <label>
35 <input type="checkbox" name="lp-repair[sync-user-courses]" value="yes">
36 <?php esc_html_e( 'Re-count courses for each user', 'learnpress' ); ?>
37 </label>
38 </li>
39 <li>
40 <label>
41 <input type="checkbox" name="lp-repair[sync-course-final-quiz]" value="yes">
42 <?php esc_html_e( 'Re-map final quiz for each course', 'learnpress' ); ?>
43 </label>
44 </li>
45 <li>
46 <label>
47 <input type="checkbox" name="lp-repair[sync-calculate-course-results]" value="yes">
48 <?php esc_html_e( 'Re-calculate course result for users', 'learnpress' ); ?>
49 </label>
50 </li>
51 <!--tungnx comment because need add Sync-User-Completed-Items on sync-data.js-->
52 <!--<li>
53 <label>
54 <input type="checkbox" name="lp-repair[sync-user-completed-items]" value="yes">
55 <?php /*esc_html_e( 'Re-calculate completed items for each users', 'learnpress' ); */ ?>
56 </label>
57 </li>-->
58 </ul>
59 <p class="tools-button">
60 <button type="button" class="button lp-button-repair"><?php esc_html_e( 'Repair now', 'learnpress' ); ?></button>
61 <label>
62 <input type="checkbox" id="learn-press-check-all-syncs">
63 <?php esc_html_e( 'Check All', 'learnpress' ); ?>
64 </label>
65 </p>
66 </div>
67