Browse Source

[svn r20447] FS#306 - The Course description tool: Improvements for better encoding management.

Ivan Tcholakov 16 years ago
parent
commit
3a3235b95c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/course_description/index.php

+ 2 - 2
main/course_description/index.php

@@ -1,4 +1,4 @@
-<?php // $Id: index.php 20240 2009-04-30 23:00:11Z ivantcholakov $
+<?php // $Id: index.php 20447 2009-05-10 10:07:04Z ivantcholakov $
 /* For licensing terms, see /dokeos_license.txt */
 /**
 ==============================================================================
@@ -316,7 +316,7 @@ if ($show_description_list) {
 			echo '<div class="sectiontitle">';
 			if (api_is_allowed_to_edit()) {
 				//delete
-				echo '<a href="'.api_get_self().'?action=delete&amp;description_id='.$description->id.'" onclick="javascript:if(!confirm(\''.addslashes(htmlentities(get_lang('ConfirmYourChoice'),ENT_QUOTES,$charset)).'\')) return false;">';
+				echo '<a href="'.api_get_self().'?action=delete&amp;description_id='.$description->id.'" onclick="javascript:if(!confirm(\''.addslashes(api_htmlentities(get_lang('ConfirmYourChoice'),ENT_QUOTES,$charset)).'\')) return false;">';
 				echo Display::return_icon('delete.gif', get_lang('Delete'), array('style' => 'vertical-align:middle;float:right;'));
 				echo '</a> ';