Merge pull request #1660 from aragonc/1.11.x

fix cd.gif for cd.png
remotes/angel/1.11.x
Alex Aragon Calixto 8 years ago committed by GitHub
commit 64c59478a8
  1. 2
      main/exercise/exercise.php
  2. 2
      main/exercise/question_pool.php
  3. BIN
      main/img/icons/22/cd_na.png
  4. 6
      main/lp/lp_list.php

@ -741,7 +741,7 @@ if (!empty($exerciseList)) {
// Export
$actions .= Display::url(
Display::return_icon('cd.gif', get_lang('CopyExercise')),
Display::return_icon('cd.png', get_lang('CopyExercise')),
'',
array(
'onclick' => "javascript:if(!confirm('".addslashes(api_htmlentities(get_lang('AreYouSureToCopy'), ENT_QUOTES, $charset))." ".addslashes($row['title'])."?"."')) return false;",

@ -912,7 +912,7 @@ function get_action_icon_for_question(
case "clone":
$url = api_get_self()."?".api_get_cidreq().$getParams."&question_copy=$in_questionid&course_id=$in_selected_course&fromExercise=$from_exercise";
$res = Display::url(
Display::return_icon('cd.gif', get_lang('ReUseACopyInCurrentTest')),
Display::return_icon('cd.png', get_lang('ReUseACopyInCurrentTest')),
$url
);
break;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -614,7 +614,7 @@ foreach ($categories as $item) {
if ($details['lp_type'] == 1) {
$dsp_disk = Display::url(
Display::return_icon(
'cd.gif',
'cd.png',
get_lang('Export'),
array(),
ICON_SIZE_SMALL
@ -625,7 +625,7 @@ foreach ($categories as $item) {
} elseif ($details['lp_type'] == 2) {
$dsp_disk = Display::url(
Display::return_icon(
'cd.gif',
'cd.png',
get_lang('Export'),
array(),
ICON_SIZE_SMALL
@ -634,7 +634,7 @@ foreach ($categories as $item) {
);
} else {
$dsp_disk = Display::return_icon(
'cd_gray.gif',
'cd_na.png',
get_lang('Export'),
array(),
ICON_SIZE_SMALL

Loading…
Cancel
Save