|
@@ -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&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&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> ';
|
|
|
|