|
@@ 799-805 (lines=7) @@
|
| 796 |
|
$coursesWithCategoryTemplate = '/user_portal/grid_courses_with_category.tpl'; |
| 797 |
|
} |
| 798 |
|
|
| 799 |
|
if ($specialCourses) { |
| 800 |
|
$this->tpl->assign('courses', $specialCourses); |
| 801 |
|
|
| 802 |
|
$specialCourseList = $this->tpl->fetch( |
| 803 |
|
$this->tpl->get_template($coursesWithoutCategoryTemplate) |
| 804 |
|
); |
| 805 |
|
} |
| 806 |
|
|
| 807 |
|
if ($courses['in_category'] || $courses['not_category']) { |
| 808 |
|
$this->tpl->assign('courses', $courses['not_category']); |
|
@@ 1217-1222 (lines=6) @@
|
| 1214 |
|
); |
| 1215 |
|
$specialCourses = $specialCoursesResult; |
| 1216 |
|
|
| 1217 |
|
if ($specialCourses) { |
| 1218 |
|
$this->tpl->assign('courses', $specialCourses); |
| 1219 |
|
$html = $this->tpl->fetch( |
| 1220 |
|
$this->tpl->get_template('/user_portal/classic_courses_without_category.tpl') |
| 1221 |
|
); |
| 1222 |
|
} |
| 1223 |
|
|
| 1224 |
|
// Display courses |
| 1225 |
|
// [code=>xxx, real_id=>000] |