@@ -110,8 +110,8 @@ |
||
110 | 110 | //With this function we can add actions to the jgrid (edit, delete, etc) |
111 | 111 | $action_links = 'function action_formatter(cellvalue, options, rowObject) { |
112 | 112 | return \'<a href="?action=edit&id=\'+options.rowId+\'">'.Display::return_icon('edit.png',get_lang('Edit'),'',ICON_SIZE_SMALL).'</a>'. |
113 | - ' <a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES))."\'".')) return false;" href="?sec_token='.$token.'&action=delete&id=\'+options.rowId+\'">'.Display::return_icon('delete.png',get_lang('Delete'),'',ICON_SIZE_SMALL).'</a>'. |
|
114 | - '\'; |
|
113 | + ' <a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES))."\'".')) return false;" href="?sec_token='.$token.'&action=delete&id=\'+options.rowId+\'">'.Display::return_icon('delete.png',get_lang('Delete'),'',ICON_SIZE_SMALL).'</a>'. |
|
114 | + '\'; |
|
115 | 115 | }'; |
116 | 116 | ?> |
117 | 117 | <script> |
@@ -989,7 +989,7 @@ |
||
989 | 989 | $data_learnpath[$i][] = $progress . '%'; |
990 | 990 | } |
991 | 991 | |
992 | - ?> |
|
992 | + ?> |
|
993 | 993 | </tbody> |
994 | 994 | </table> |
995 | 995 | </div> |