Modified exercises to remove icons labels (only showing big icons with hover text)

skala
ywarnier 14 years ago
parent 449040e182
commit cb1b5edac1
  1. 14
      main/exercice/question.class.php

@ -1184,15 +1184,15 @@ abstract class Question
if ($show_quiz_edition) { if ($show_quiz_edition) {
echo '<a href="admin.php?'.api_get_cidreq().'&newQuestion=yes&answerType='.$i.'">'.Display::return_icon($img, $explanation).'</a>'; echo '<a href="admin.php?'.api_get_cidreq().'&newQuestion=yes&answerType='.$i.'">'.Display::return_icon($img, $explanation).'</a>';
echo '<br>'; //echo '<br>';
echo '<a href="admin.php?'.api_get_cidreq().'&newQuestion=yes&answerType='.$i.'">'.$explanation.'</a>'; //echo '<a href="admin.php?'.api_get_cidreq().'&newQuestion=yes&answerType='.$i.'">'.$explanation.'</a>';
} else { } else {
$img = pathinfo($img); $img = pathinfo($img);
$img = $img['filename']; $img = $img['filename'];
echo ''.Display::return_icon($img.'_na.gif',$explanation).''; echo ''.Display::return_icon($img.'_na.gif',$explanation).'';
echo '<br>'; //echo '<br>';
echo ''.$explanation.''; //echo ''.$explanation.'';
} }
echo '</div>'; echo '</div>';
echo '</li>'; echo '</li>';
@ -1210,9 +1210,9 @@ abstract class Question
} else { } else {
echo Display::return_icon('database_na.png', get_lang('GetExistingQuestion'), ''); echo Display::return_icon('database_na.png', get_lang('GetExistingQuestion'), '');
} }
echo '<br>'; //echo '<br>';
echo $url; //echo $url;
echo get_lang('GetExistingQuestion'); //echo get_lang('GetExistingQuestion');
echo '</a>'; echo '</a>';
echo '</div></li>'; echo '</div></li>';
echo '</ul>'; echo '</ul>';

Loading…
Cancel
Save