|
@@ 1206-1208 (lines=3) @@
|
| 1203 |
|
} |
| 1204 |
|
} |
| 1205 |
|
|
| 1206 |
|
if( 0 < count( $displayed_lessons ) ) { |
| 1207 |
|
$html .= '<h3>' . __( 'Other Lessons', 'woothemes-sensei' ) . '</h3>' . "\n"; |
| 1208 |
|
} |
| 1209 |
|
|
| 1210 |
|
$html .= '<ul class="sortable-lesson-list" data-module_id="0">' . "\n"; |
| 1211 |
|
$count = 0; |
|
@@ 1236-1240 (lines=5) @@
|
| 1233 |
|
$displayed_lessons[] = $lesson->ID; |
| 1234 |
|
} |
| 1235 |
|
$html .= '</ul>' . "\n"; |
| 1236 |
|
} else { |
| 1237 |
|
if( 0 == count( $displayed_lessons ) ) { |
| 1238 |
|
$html .= '<p><em>' . __( 'There are no lessons in this course.', 'woothemes-sensei' ) . '</em></p>'; |
| 1239 |
|
} |
| 1240 |
|
} |
| 1241 |
|
|
| 1242 |
|
if( 0 < count( $displayed_lessons ) ) { |
| 1243 |
|
$html .= '<input type="hidden" name="lesson-order" value="' . esc_attr( $order_string ) . '" />' . "\n"; |