From 318ce96e7fcdb5ca5cfc26ee0861abda4b6e53e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Mon, 3 Jan 2011 19:37:25 +0100 Subject: [PATCH] Feature #2484 add lang var when create a hotpotatoes folder --- main/exercice/hotpotatoes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/exercice/hotpotatoes.php b/main/exercice/hotpotatoes.php index 76a3894254..d41cb3a276 100755 --- a/main/exercice/hotpotatoes.php +++ b/main/exercice/hotpotatoes.php @@ -63,7 +63,7 @@ if (api_is_allowed_to_edit(null, true)) { if (hotpotatoes_init($document_sys_path.$uploadPath)) { // If the directory doesn't exist, create the "HotPotatoes" directory. - $doc_id = add_document($_course, '/HotPotatoes_files', 'folder', 0, 'HotPotatoes Files'); + $doc_id = add_document($_course, '/HotPotatoes_files', 'folder', 0, get_lang('HotPotatoesFiles')); // Update properties in dbase (in any case). api_item_property_update($_course, TOOL_DOCUMENT, $doc_id, 'FolderCreated', $_user['user_id']); // Make invisible (in any case) - why?