Completed
Push — master ( 201c1b...d51ce1 )
by Dwain
04:57
created
templates/emails/teacher-new-course-assignment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
 <p style="<?php echo esc_attr( $style_small ); ?>">
36 36
     <?php
37 37
 
38
-    echo __( 'You can edit the assigned course here: ', 'woothemes-sensei' ) . '<a href="' . esc_url( $sensei_email_data['course_edit_link'] ) . '">'. $sensei_email_data['course_name'] . '</a>';
38
+	echo __( 'You can edit the assigned course here: ', 'woothemes-sensei' ) . '<a href="' . esc_url( $sensei_email_data['course_edit_link'] ) . '">'. $sensei_email_data['course_name'] . '</a>';
39 39
 
40
-    ?>
40
+	?>
41 41
 </p>
42 42
 
43 43
 <?php
Please login to merge, or discard this patch.
templates/emails/footer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,14 +15,14 @@
 block discarded – undo
15 15
 // Load colours
16 16
 $base = '#557da1';
17 17
 if( isset( Sensei()->settings->settings['email_base_color'] ) && '' != Sensei()->settings->settings['email_base_color'] ) {
18
-    $base = Sensei()->settings->settings['email_base_color'];
18
+	$base = Sensei()->settings->settings['email_base_color'];
19 19
 }
20 20
 
21 21
 $base_lighter_40 = sensei_hex_lighter( $base, 40 );
22 22
 
23 23
 $footer_text = sprintf( __( '%1$s - Powered by Sensei', 'woothemes-sensei' ), get_bloginfo( 'name' ) );
24 24
 if( isset( Sensei()->settings->settings['email_footer_text'] ) ) {
25
-    $footer_text = Sensei()->settings->settings['email_footer_text'];
25
+	$footer_text = Sensei()->settings->settings['email_footer_text'];
26 26
 }
27 27
 
28 28
 // For gmail compatibility, including CSS styles in head/body are stripped out therefore styles need to be inline. These variables contain rules which are added to the template inline.
Please login to merge, or discard this patch.
templates/single-course/modules.php 1 patch
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -1,32 +1,32 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 if ( ! defined( 'ABSPATH' ) ) exit;
3 3
 /**
4
- * List the Course Modules and Lesson in these modules
5
- *
6
- * Template is hooked into Single Course sensei_single_main_content. It will
7
- * only be shown if the course contains modules.
8
- *
9
- * All lessons shown here will not be included in the list of other lessons.
10
- *
11
- * @author 		Automattic
12
- * @package 	Sensei
13
- * @category    Templates
14
- * @version     1.9.0
15
- */
4
+	 * List the Course Modules and Lesson in these modules
5
+	 *
6
+	 * Template is hooked into Single Course sensei_single_main_content. It will
7
+	 * only be shown if the course contains modules.
8
+	 *
9
+	 * All lessons shown here will not be included in the list of other lessons.
10
+	 *
11
+	 * @author 		Automattic
12
+	 * @package 	Sensei
13
+	 * @category    Templates
14
+	 * @version     1.9.0
15
+	 */
16 16
 ?>
17 17
 
18 18
 <?php
19 19
 
20
-    /**
21
-     * Hook runs inside single-course/course-modules.php
22
-     *
23
-     * It runs before the modules are shown. This hook fires on the single course page. It will show
24
-     * irrespective of irrespective the course has any modules or not.
25
-     *
26
-     * @since 1.8.0
27
-     *
28
-     */
29
-    do_action('sensei_single_course_modules_before');
20
+	/**
21
+	 * Hook runs inside single-course/course-modules.php
22
+	 *
23
+	 * It runs before the modules are shown. This hook fires on the single course page. It will show
24
+	 * irrespective of irrespective the course has any modules or not.
25
+	 *
26
+	 * @since 1.8.0
27
+	 *
28
+	 */
29
+	do_action('sensei_single_course_modules_before');
30 30
 
31 31
 ?>
32 32
 
@@ -39,19 +39,19 @@  discard block
 block discarded – undo
39 39
 
40 40
                 <?php
41 41
 
42
-                /**
43
-                 * Hook runs inside single-course/course-modules.php
44
-                 *
45
-                 * It runs inside the if statement after the article tag opens just before the modules are shown. This hook will NOT fire if there
46
-                 * are no modules to show.
47
-                 *
48
-                 * @since 1.9.0
49
-                 *
50
-                 * @hooked Sensei()->modules->course_modules_title - 20
51
-                 */
52
-                do_action('sensei_single_course_modules_inside_before');
42
+				/**
43
+				 * Hook runs inside single-course/course-modules.php
44
+				 *
45
+				 * It runs inside the if statement after the article tag opens just before the modules are shown. This hook will NOT fire if there
46
+				 * are no modules to show.
47
+				 *
48
+				 * @since 1.9.0
49
+				 *
50
+				 * @hooked Sensei()->modules->course_modules_title - 20
51
+				 */
52
+				do_action('sensei_single_course_modules_inside_before');
53 53
 
54
-                ?>
54
+				?>
55 55
 
56 56
                 <header>
57 57
 
@@ -101,18 +101,18 @@  discard block
 block discarded – undo
101 101
 
102 102
                 <?php
103 103
 
104
-                /**
105
-                 * Hook runs inside single-course/course-modules.php
106
-                 *
107
-                 * It runs inside the if statement before the closing article tag directly after the modules were shown.
108
-                 * This hook will not trigger if there are no modules to show.
109
-                 *
110
-                 * @since 1.9.0
111
-                 *
112
-                 */
113
-                do_action('sensei_single_course_modules_inside_after');
114
-
115
-                ?>
104
+				/**
105
+				 * Hook runs inside single-course/course-modules.php
106
+				 *
107
+				 * It runs inside the if statement before the closing article tag directly after the modules were shown.
108
+				 * This hook will not trigger if there are no modules to show.
109
+				 *
110
+				 * @since 1.9.0
111
+				 *
112
+				 */
113
+				do_action('sensei_single_course_modules_inside_after');
114
+
115
+				?>
116 116
 
117 117
             </article>
118 118
 
Please login to merge, or discard this patch.
templates/archive-course.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -1,33 +1,33 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The Template for displaying course archives, including the course page template.
4
- *
5
- * Override this template by copying it to your_theme/sensei/archive-course.php
6
- *
7
- * @author 		Automattic
8
- * @package 	Sensei
9
- * @category    Templates
10
- * @version     1.9.0
11
- */
3
+	 * The Template for displaying course archives, including the course page template.
4
+	 *
5
+	 * Override this template by copying it to your_theme/sensei/archive-course.php
6
+	 *
7
+	 * @author 		Automattic
8
+	 * @package 	Sensei
9
+	 * @category    Templates
10
+	 * @version     1.9.0
11
+	 */
12 12
 ?>
13 13
 
14 14
 <?php  get_sensei_header();  ?>
15 15
 
16 16
     <?php
17 17
 
18
-        /**
19
-         * This action before course archive loop. This hook fires within the archive-course.php
20
-         * It fires even if the current archive has no posts.
21
-         *
22
-         * @since 1.9.0
23
-         *
24
-         * @hooked Sensei_Course::course_archive_sorting 20
25
-         * @hooked Sensei_Course::course_archive_filters 20
26
-         * @hooked Sensei_Templates::deprecated_archive_hook 80
27
-         */
28
-        do_action( 'sensei_archive_before_course_loop' );
18
+		/**
19
+		 * This action before course archive loop. This hook fires within the archive-course.php
20
+		 * It fires even if the current archive has no posts.
21
+		 *
22
+		 * @since 1.9.0
23
+		 *
24
+		 * @hooked Sensei_Course::course_archive_sorting 20
25
+		 * @hooked Sensei_Course::course_archive_filters 20
26
+		 * @hooked Sensei_Templates::deprecated_archive_hook 80
27
+		 */
28
+		do_action( 'sensei_archive_before_course_loop' );
29 29
 
30
-    ?>
30
+	?>
31 31
 
32 32
     <?php if ( have_posts() ): ?>
33 33
 
@@ -41,14 +41,14 @@  discard block
 block discarded – undo
41 41
 
42 42
     <?php
43 43
 
44
-        /**
45
-         * This action runs after including the course archive loop. This hook fires within the archive-course.php
46
-         * It fires even if the current archive has no posts.
47
-         *
48
-         * @since 1.9.0
49
-         */
50
-        do_action( 'sensei_archive_after_course_loop' );
44
+		/**
45
+		 * This action runs after including the course archive loop. This hook fires within the archive-course.php
46
+		 * It fires even if the current archive has no posts.
47
+		 *
48
+		 * @since 1.9.0
49
+		 */
50
+		do_action( 'sensei_archive_after_course_loop' );
51 51
 
52
-    ?>
52
+	?>
53 53
 
54 54
 <?php get_sensei_footer(); ?>
Please login to merge, or discard this patch.
templates/content-message.php 1 patch
Indentation   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 if ( ! defined( 'ABSPATH' ) ) exit;
3 3
 /**
4
- * Content-message.php template file
5
- *
6
- * responsible for content on archive like pages. Only shows the message excerpt.
7
- *
8
- * For single message content please see single-message.php
9
- *
10
- * @author 		Automattic
11
- * @package 	Sensei
12
- * @category    Templates
13
- * @version     1.9.0
14
- */
4
+	 * Content-message.php template file
5
+	 *
6
+	 * responsible for content on archive like pages. Only shows the message excerpt.
7
+	 *
8
+	 * For single message content please see single-message.php
9
+	 *
10
+	 * @author 		Automattic
11
+	 * @package 	Sensei
12
+	 * @category    Templates
13
+	 * @version     1.9.0
14
+	 */
15 15
 ?>
16 16
 
17 17
 <article <?php post_class( array( 'post','sensei_message'), get_the_ID() ); ?>>
@@ -19,31 +19,31 @@  discard block
 block discarded – undo
19 19
     <section class="message-content">
20 20
 
21 21
         <?php
22
-        /**
23
-         * action that runs before the sensei {post_type} content. It runs inside the sensei
24
-         * content.php template. This applies to the specific post type that you've targeted.
25
-         *
26
-         * @since 1.9
27
-         * @param string $post_id
28
-         *
29
-         * @hooked Sensei_Messages::the_message_title - 10
30
-         * @hooked Sensei_Messages::the_message_sender - 20
31
-         */
32
-        do_action( 'sensei_content_message_before', get_the_ID() );
33
-        ?>
22
+		/**
23
+		 * action that runs before the sensei {post_type} content. It runs inside the sensei
24
+		 * content.php template. This applies to the specific post type that you've targeted.
25
+		 *
26
+		 * @since 1.9
27
+		 * @param string $post_id
28
+		 *
29
+		 * @hooked Sensei_Messages::the_message_title - 10
30
+		 * @hooked Sensei_Messages::the_message_sender - 20
31
+		 */
32
+		do_action( 'sensei_content_message_before', get_the_ID() );
33
+		?>
34 34
 
35 35
         <section class="entry">
36 36
 
37 37
             <?php
38
-            /**
39
-             * Fires just before the post content in the content-message.php file.
40
-             *
41
-             * @since 1.9
42
-             *
43
-             * @param string $post_id
44
-             */
45
-            do_action('sensei_content_message_inside_before', get_the_ID());
46
-            ?>
38
+			/**
39
+			 * Fires just before the post content in the content-message.php file.
40
+			 *
41
+			 * @since 1.9
42
+			 *
43
+			 * @param string $post_id
44
+			 */
45
+			do_action('sensei_content_message_inside_before', get_the_ID());
46
+			?>
47 47
 
48 48
             <p class="message-excerpt">
49 49
 
@@ -52,28 +52,28 @@  discard block
 block discarded – undo
52 52
             </p>
53 53
 
54 54
             <?php
55
-            /**
56
-             * Fires just after the post content in the message-content.php file.
57
-             *
58
-             * @since 1.9
59
-             *
60
-             * @param string $post_id
61
-             */
62
-            do_action('sensei_content_message_inside_after', get_the_ID());
63
-            ?>
55
+			/**
56
+			 * Fires just after the post content in the message-content.php file.
57
+			 *
58
+			 * @since 1.9
59
+			 *
60
+			 * @param string $post_id
61
+			 */
62
+			do_action('sensei_content_message_inside_after', get_the_ID());
63
+			?>
64 64
 
65 65
         </section> <!-- section .entry -->
66 66
 
67 67
         <?php
68
-        /**
69
-         * This action runs after the sensei message content. It runs inside the sensei
70
-         * message-content.php template.
71
-         *
72
-         * @since 1.9
73
-         * @param string $post_id
74
-         */
75
-        do_action( 'sensei_content_message_after', get_the_ID() );
76
-        ?>
68
+		/**
69
+		 * This action runs after the sensei message content. It runs inside the sensei
70
+		 * message-content.php template.
71
+		 *
72
+		 * @since 1.9
73
+		 * @param string $post_id
74
+		 */
75
+		do_action( 'sensei_content_message_after', get_the_ID() );
76
+		?>
77 77
 
78 78
     </section> <!-- article .message-content -->
79 79
 
Please login to merge, or discard this patch.
templates/single-message.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The Template for displaying all single messages.
4
- *
5
- * Override this template by copying it to yourtheme/sensei/single-message.php
6
- *
7
- * @author 		Automattic
8
- * @package 	Sensei
9
- * @category    Templates
10
- * @version     1.9.0
11
- */
3
+		 * The Template for displaying all single messages.
4
+		 *
5
+		 * Override this template by copying it to yourtheme/sensei/single-message.php
6
+		 *
7
+		 * @author 		Automattic
8
+		 * @package 	Sensei
9
+		 * @category    Templates
10
+		 * @version     1.9.0
11
+		 */
12 12
 ?>
13 13
 
14 14
 <?php  get_sensei_header();  ?>
@@ -16,16 +16,16 @@  discard block
 block discarded – undo
16 16
 <article <?php post_class(); ?> >
17 17
 
18 18
     <?php
19
-    /**
20
-     * Action inside the single message template before the content
21
-     *
22
-     * @since 1.9.0
23
-     *
24
-     * @hooked WooThemes_Sensei_Messages::the_title                 - 20
25
-     * @hooked WooThemes_Sensei_Messages::the_message_sent_by_title - 40
26
-     */
27
-    do_action( 'sensei_single_message_content_inside_before');
28
-    ?>
19
+	/**
20
+	 * Action inside the single message template before the content
21
+	 *
22
+	 * @since 1.9.0
23
+	 *
24
+	 * @hooked WooThemes_Sensei_Messages::the_title                 - 20
25
+	 * @hooked WooThemes_Sensei_Messages::the_message_sent_by_title - 40
26
+	 */
27
+	do_action( 'sensei_single_message_content_inside_before');
28
+	?>
29 29
 
30 30
     <section class="entry">
31 31
 
@@ -35,15 +35,15 @@  discard block
 block discarded – undo
35 35
 
36 36
     <?php
37 37
 
38
-    /**
39
-     * action inside the single message template after the content
40
-     * @since 1.9.0
41
-     *
42
-     * @hooked
43
-     */
44
-    do_action( 'sensei_single_message_content_inside_after');
38
+	/**
39
+	 * action inside the single message template after the content
40
+	 * @since 1.9.0
41
+	 *
42
+	 * @hooked
43
+	 */
44
+	do_action( 'sensei_single_message_content_inside_after');
45 45
 
46
-    ?>
46
+	?>
47 47
 </article><!-- .post -->
48 48
 
49 49
 <?php get_sensei_footer(); ?>
Please login to merge, or discard this patch.
templates/single-quiz/question_type-boolean.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@  discard block
 block discarded – undo
12 12
 
13 13
 <?php
14 14
 
15
-    /**
16
-     * Get the question data with the current quiz id
17
-     * All data is loaded in this array to keep the template clean.
18
-     */
19
-    $question_data = WooThemes_Sensei_Question::get_template_data( sensei_get_the_question_id(), get_the_ID() );
20
-    $boolean_options = array( 'true', 'false' );
15
+	/**
16
+	 * Get the question data with the current quiz id
17
+	 * All data is loaded in this array to keep the template clean.
18
+	 */
19
+	$question_data = WooThemes_Sensei_Question::get_template_data( sensei_get_the_question_id(), get_the_ID() );
20
+	$boolean_options = array( 'true', 'false' );
21 21
 
22 22
 ?>
23 23
 
@@ -25,42 +25,42 @@  discard block
 block discarded – undo
25 25
 
26 26
     <?php
27 27
 
28
-    // setup the options the right answer set by the admin/teacher
29
-    // will be compared to.
30
-    $boolean_options = array( 'true', 'false' );
28
+	// setup the options the right answer set by the admin/teacher
29
+	// will be compared to.
30
+	$boolean_options = array( 'true', 'false' );
31 31
 
32
-    //loop through the 2 boolean options and compare them with
33
-    // the selected right answer
34
-    foreach ( $boolean_options as $option ){
32
+	//loop through the 2 boolean options and compare them with
33
+	// the selected right answer
34
+	foreach ( $boolean_options as $option ){
35 35
 
36
-        $answer_class = '';
36
+		$answer_class = '';
37 37
 
38
-        // Add classes to indicate correctness, only if there is a grade
39
-        if( isset( $question_data[ 'user_correct' ] ) && 0 < $question_data['question_grade'] ) {
38
+		// Add classes to indicate correctness, only if there is a grade
39
+		if( isset( $question_data[ 'user_correct' ] ) && 0 < $question_data['question_grade'] ) {
40 40
 
41
-            if( $question_right_answer == $question_data[ 'question_right_answer' ] ) {
41
+			if( $question_right_answer == $question_data[ 'question_right_answer' ] ) {
42 42
 
43
-                if( $question_data[ 'user_correct' ] ) {
43
+				if( $question_data[ 'user_correct' ] ) {
44 44
 
45
-                    $answer_class = 'user_right';
45
+					$answer_class = 'user_right';
46 46
 
47
-                }
47
+				}
48 48
 
49
-                $answer_class .= ' right_answer';
49
+				$answer_class .= ' right_answer';
50 50
 
51
-            } else {
51
+			} else {
52 52
 
53
-                if( ! $question_data[ 'user_correct' ] ) {
53
+				if( ! $question_data[ 'user_correct' ] ) {
54 54
 
55
-                    $answer_class = 'user_wrong';
55
+					$answer_class = 'user_wrong';
56 56
 
57
-                }
57
+				}
58 58
 
59
-            } // end if right answer == current booloean options
59
+			} // end if right answer == current booloean options
60 60
 
61
-        }// end if $user_correct .. $question_grade
61
+		}// end if $user_correct .. $question_grade
62 62
 
63
-    ?>
63
+	?>
64 64
 
65 65
     <li class="<?php esc_attr_e( $answer_class ); ?>">
66 66
 
@@ -74,17 +74,17 @@  discard block
 block discarded – undo
74 74
         <label for="<?php echo esc_attr( 'question_' . $question_data[ 'ID' ]  ) . '-option-'.$option; ?>">
75 75
             <?php
76 76
 
77
-            if( 'true' == $option ){
77
+			if( 'true' == $option ){
78 78
 
79
-                _e( 'True', 'woothemes-sensei' );
79
+				_e( 'True', 'woothemes-sensei' );
80 80
 
81
-            }else{
81
+			}else{
82 82
 
83
-                _e( 'False', 'woothemes-sensei' );
83
+				_e( 'False', 'woothemes-sensei' );
84 84
 
85
-            }
85
+			}
86 86
 
87
-            ?>
87
+			?>
88 88
 
89 89
 
90 90
         </label>
Please login to merge, or discard this patch.
templates/archive-message.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,27 +1,27 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The Template for displaying message archives.
4
- *
5
- * Override this template by copying it to yourtheme/sensei/archive-message.php
6
- *
7
- * @author 		Automattic
8
- * @package 	Sensei
9
- * @category    Templates
10
- * @version     1.9.0
11
- */
3
+	 * The Template for displaying message archives.
4
+	 *
5
+	 * Override this template by copying it to yourtheme/sensei/archive-message.php
6
+	 *
7
+	 * @author 		Automattic
8
+	 * @package 	Sensei
9
+	 * @category    Templates
10
+	 * @version     1.9.0
11
+	 */
12 12
 ?>
13 13
 
14 14
 <?php  get_sensei_header();  ?>
15 15
 
16 16
 <?php
17 17
 /**
18
- * This action before course messages archive loop. This hook fires within the archive-message.php file.
19
- * It fires even if the current archive has no no messages.
20
- *
21
- * @since 1.9.0
22
- *
23
- * @hooked Sensei_Messages::the_archive_header -20
24
- */
18
+	 * This action before course messages archive loop. This hook fires within the archive-message.php file.
19
+	 * It fires even if the current archive has no no messages.
20
+	 *
21
+	 * @since 1.9.0
22
+	 *
23
+	 * @hooked Sensei_Messages::the_archive_header -20
24
+	 */
25 25
 do_action( 'sensei_archive_before_message_loop' );
26 26
 ?>
27 27
 
@@ -41,11 +41,11 @@  discard block
 block discarded – undo
41 41
 
42 42
 <?php
43 43
 /**
44
- * This action before course messages archive loop. This hook fires within the archive-message.php file.
45
- * It fires even if the current archive has no no messages.
46
- *
47
- * @since 1.9.0
48
- */
44
+	 * This action before course messages archive loop. This hook fires within the archive-message.php file.
45
+	 * It fires even if the current archive has no no messages.
46
+	 *
47
+	 * @since 1.9.0
48
+	 */
49 49
 do_action( 'sensei_archive_after_message_loop' );
50 50
 ?>
51 51
 
Please login to merge, or discard this patch.
templates/loop-course.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -1,69 +1,69 @@
 block discarded – undo
1 1
 <?php
2 2
 if ( ! defined( 'ABSPATH' ) ) exit;
3 3
 /**
4
- * The Template for outputting Lists of any Sensei content type.
5
- *
6
- * This template expects the global wp_query to setup and ready for the loop
7
- *
8
- * @author 		Automattic
9
- * @package 	Sensei
10
- * @category    Templates
11
- * @version     1.9.0
12
- */
4
+	 * The Template for outputting Lists of any Sensei content type.
5
+	 *
6
+	 * This template expects the global wp_query to setup and ready for the loop
7
+	 *
8
+	 * @author 		Automattic
9
+	 * @package 	Sensei
10
+	 * @category    Templates
11
+	 * @version     1.9.0
12
+	 */
13 13
 ?>
14 14
 
15 15
 <?php
16 16
 /**
17
- * This runs before the the course loop items in the loop.php template. It runs
18
- * only only for the course post type. This loop will not run if the current wp_query
19
- * has no posts.
20
- *
21
- * @since 1.9.0
22
- */
17
+	 * This runs before the the course loop items in the loop.php template. It runs
18
+	 * only only for the course post type. This loop will not run if the current wp_query
19
+	 * has no posts.
20
+	 *
21
+	 * @since 1.9.0
22
+	 */
23 23
 do_action( 'sensei_loop_course_before' );
24 24
 ?>
25 25
 
26 26
 <ul class="course-container columns-<?php sensei_courses_per_row(); ?>" >
27 27
 
28 28
     <?php
29
-    /**
30
-     * This runs before the post type items in the loop.php template. It
31
-     * runs within the courses loop <ul> tag.
32
-     *
33
-     * @since 1.9.0
34
-     */
35
-    do_action( 'sensei_loop_course_inside_before' );
36
-    ?>
29
+	/**
30
+	 * This runs before the post type items in the loop.php template. It
31
+	 * runs within the courses loop <ul> tag.
32
+	 *
33
+	 * @since 1.9.0
34
+	 */
35
+	do_action( 'sensei_loop_course_inside_before' );
36
+	?>
37 37
 
38 38
     <?php
39
-    /*
39
+	/*
40 40
      * Loop through all courses
41 41
      */
42
-    while ( have_posts() ) { the_post();
42
+	while ( have_posts() ) { the_post();
43 43
 
44
-        sensei_load_template_part('content','course');
44
+		sensei_load_template_part('content','course');
45 45
 
46
-    }
47
-    ?>
46
+	}
47
+	?>
48 48
 
49 49
     <?php
50
-    /**
51
-     * This runs after the post type items in the loop.php template. It runs
52
-     * only for the specified post type
53
-     *
54
-     * @since 1.9.0
55
-     */
56
-    do_action( 'sensei_loop_course_inside_after' );
57
-    ?>
50
+	/**
51
+	 * This runs after the post type items in the loop.php template. It runs
52
+	 * only for the specified post type
53
+	 *
54
+	 * @since 1.9.0
55
+	 */
56
+	do_action( 'sensei_loop_course_inside_after' );
57
+	?>
58 58
 
59 59
 </ul>
60 60
 
61 61
 <?php
62 62
 /**
63
- * This runs after the post type items in the loop.php template. It runs
64
- * only for the specified post type
65
- *
66
- * @since 1.9.0
67
- */
63
+	 * This runs after the post type items in the loop.php template. It runs
64
+	 * only for the specified post type
65
+	 *
66
+	 * @since 1.9.0
67
+	 */
68 68
 do_action( 'sensei_loop_course_after' );
69 69
 ?>
Please login to merge, or discard this patch.