skala
Julio Montoya 12 years ago
commit 860a982d98
  1. 4
      main/template/default/auth/courses_categories.php
  2. 2
      main/template/default/layout/hot_course_item.tpl

@ -149,10 +149,10 @@ $stok = Security::get_token();
echo '<div class="thumbnail">'; echo '<div class="thumbnail">';
if (api_get_setting('show_courses_descriptions_in_catalog') == 'true') { if (api_get_setting('show_courses_descriptions_in_catalog') == 'true') {
echo '<a class="ajax" href="'.api_get_path(WEB_CODE_PATH).'inc/ajax/course_home.ajax.php?a=show_course_information&amp;code='.$course['code'].'" title="'.$icon_title.'" rel="gb_page_center[778]">'; echo '<a class="ajax" href="'.api_get_path(WEB_CODE_PATH).'inc/ajax/course_home.ajax.php?a=show_course_information&amp;code='.$course['code'].'" title="'.$icon_title.'" rel="gb_page_center[778]">';
echo '<img src="'.$course_medium_image.'" />'; echo '<img src="'.$course_medium_image.'" alt="" />';
echo '</a>'; echo '</a>';
} else { } else {
echo '<img src="'.$course_medium_image.'" />'; echo '<img src="'.$course_medium_image.'" alt="'.$title.'"/>';
} }
echo '</div>';//thumb echo '</div>';//thumb
echo '</div>'; echo '</div>';

@ -5,7 +5,7 @@
<div class="row"> <div class="row">
<div class="span2"> <div class="span2">
<div class="thumbnail"> <div class="thumbnail">
<img src="{{ hot_course.extra_info.course_image }}" /> <img src="{{ hot_course.extra_info.course_image }}" alt="" />
</div> </div>
</div> </div>
<div class="span6"> <div class="span6">

Loading…
Cancel
Save