瀏覽代碼

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

Julio Montoya 13 年之前
父節點
當前提交
1a1b53f2b8
共有 1 個文件被更改,包括 2 次插入1 次删除
  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">