Browse Source

Minor - replacing html_image with the HTML img tag in a smarty template

Julio Montoya 13 năm trước cách đây
mục cha
commit
1a1b53f2b8
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      main/template/default/layout/hot_courses.tpl

+ 2 - 1
main/template/default/layout/hot_courses.tpl

@@ -30,7 +30,8 @@ $(document).ready( function() {
 			<div class="categories-content-course">
 				
 				<div class="categories-course-picture">
-					{html_image file=$hot_course.extra_info.course_image}
+					<img src="{$hot_course.extra_info.course_image}" />
+                         {* html_image file=$hot_course.extra_info.course_image *}
 				</div>
 				
 				<div class="categories-course-description">