@@ -10,7 +10,9 @@ |
||
10 | 10 | * @author WooThemes |
11 | 11 | * @since 1.0.0 |
12 | 12 | */ |
13 | -if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) exit(); |
|
13 | +if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { |
|
14 | + exit(); |
|
15 | +} |
|
14 | 16 | |
15 | 17 | $token = 'woothemes-sensei'; |
16 | 18 | delete_option( 'skip_install_sensei_pages' ); |
@@ -31,9 +31,12 @@ |
||
31 | 31 | |
32 | 32 | <?php sensei_load_template( 'loop-course.php' ); ?> |
33 | 33 | |
34 | - <?php else: ?> |
|
34 | + <?php else { |
|
35 | + : ?> |
|
35 | 36 | |
36 | - <p><?php _e( 'There are no courses for this teacher.', 'woothemes-sensei' ); ?></p> |
|
37 | + <p><?php _e( 'There are no courses for this teacher.', 'woothemes-sensei' ); |
|
38 | +} |
|
39 | +?></p> |
|
37 | 40 | |
38 | 41 | <?php endif; // End If Statement ?> |
39 | 42 |
@@ -29,9 +29,12 @@ |
||
29 | 29 | |
30 | 30 | <?php sensei_load_template( 'loop-lesson.php' ); ?> |
31 | 31 | |
32 | - <?php else: ?> |
|
32 | + <?php else { |
|
33 | + : ?> |
|
33 | 34 | |
34 | - <p><?php _e( 'No lessons found that match your selection.', 'woothemes-sensei' ); ?></p> |
|
35 | + <p><?php _e( 'No lessons found that match your selection.', 'woothemes-sensei' ); |
|
36 | +} |
|
37 | +?></p> |
|
35 | 38 | |
36 | 39 | <?php endif; // End If Statement ?> |
37 | 40 |
@@ -6,7 +6,10 @@ |
||
6 | 6 | * @package Sensei/Templates/Emails/HTML |
7 | 7 | * @version 1.6.0 |
8 | 8 | */ |
9 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> |
|
9 | +if ( ! defined( 'ABSPATH' ) ) { |
|
10 | + exit; |
|
11 | +} |
|
12 | +// Exit if accessed directly ?> |
|
10 | 13 | |
11 | 14 | <?php |
12 | 15 |
@@ -33,9 +33,12 @@ |
||
33 | 33 | |
34 | 34 | <?php sensei_load_template( 'loop-course.php' ); ?> |
35 | 35 | |
36 | - <?php else: ?> |
|
36 | + <?php else { |
|
37 | + : ?> |
|
37 | 38 | |
38 | - <p><?php _e( 'No courses found that match your selection.', 'woothemes-sensei' ); ?></p> |
|
39 | + <p><?php _e( 'No courses found that match your selection.', 'woothemes-sensei' ); |
|
40 | +} |
|
41 | +?></p> |
|
39 | 42 | |
40 | 43 | <?php endif; // End If Statement ?> |
41 | 44 |
@@ -1,5 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | -if ( ! defined( 'ABSPATH' ) ) exit; |
|
2 | +if ( ! defined( 'ABSPATH' ) ) { |
|
3 | + exit; |
|
4 | +} |
|
3 | 5 | /** |
4 | 6 | * The Template for displaying True/False ( Boolean ) Question type. |
5 | 7 | * |
@@ -78,7 +80,7 @@ discard block |
||
78 | 80 | |
79 | 81 | _e( 'True', 'woothemes-sensei' ); |
80 | 82 | |
81 | - }else{ |
|
83 | + } else{ |
|
82 | 84 | |
83 | 85 | _e( 'False', 'woothemes-sensei' ); |
84 | 86 |
@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | ?> |
60 | 60 | |
61 | - <?php }else{ ?> |
|
61 | + <?php } else{ ?> |
|
62 | 62 | |
63 | 63 | <p class="sensei-message"> |
64 | 64 |
@@ -31,9 +31,12 @@ |
||
31 | 31 | |
32 | 32 | <?php sensei_load_template('loop-message.php'); ?> |
33 | 33 | |
34 | - <?php else: ?> |
|
34 | + <?php else { |
|
35 | + : ?> |
|
35 | 36 | |
36 | - <p> <?php _e('You do not have any messages.','woothemes-sensei'); ?> </p> |
|
37 | + <p> <?php _e('You do not have any messages.','woothemes-sensei'); |
|
38 | +} |
|
39 | +?> </p> |
|
37 | 40 | |
38 | 41 | <?php endif; // End If Statement ?> |
39 | 42 |
@@ -1,5 +1,7 @@ |
||
1 | 1 | <?php |
2 | -if ( ! defined( 'ABSPATH' ) ) exit; |
|
2 | +if ( ! defined( 'ABSPATH' ) ) { |
|
3 | + exit; |
|
4 | +} |
|
3 | 5 | /** |
4 | 6 | * The Template for displaying the my course page data. |
5 | 7 | * |