Added title to course icon for WAI compliance

skala
Yannick Warnier 12 years ago
parent 8dd6df1d9d
commit 01598b13f3
  1. 4
      main/template/default/auth/courses_categories.php

@ -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="'.$title.'" />';
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>';

Loading…
Cancel
Save