From c967c71d160efbe8f66a9b83cd3f47dea925e679 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 22 May 2009 15:08:08 +0000 Subject: [PATCH] MDL-19246 file manager - improved security message. Thanks Helen. --- files/index.php | 4 ++-- lang/en_utf8/moodle.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/files/index.php b/files/index.php index 15a5debcd82..cca48cb9ad8 100644 --- a/files/index.php +++ b/files/index.php @@ -126,7 +126,7 @@ echo ''; if ($course->id == SITEID and $wdir != "/backupdata") { - print_heading(get_string("publicsitefileswarning"), "center", 2); + print_heading(get_string("publicsitefileswarning2"), "center", 2); } } else { @@ -140,7 +140,7 @@ admin_externalpage_setup('sitefiles'); admin_externalpage_print_header(); - print_heading(get_string("publicsitefileswarning"), "center", 2); + print_heading(get_string("publicsitefileswarning2"), "center", 2); } diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index 28d2f56221b..931bca41a06 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -1237,6 +1237,7 @@ $string['publicdirectory1'] = 'Publish the site name only'; $string['publicdirectory2'] = 'Publish the site name with a link'; $string['publicdirectorytitle'] = 'See the current list of sites'; $string['publicsitefileswarning'] = 'Note: files placed here can be accessed by anyone'; +$string['publicsitefileswarning2'] = 'Note: Files placed here can be accessed by anyone who knows (or can guess) the URL. For security reasons, it is recommended that any backup files are deleted immediately after restoring them.'; $string['question'] = 'Question'; $string['questionsinthequestionbank'] = 'Questions in the question bank'; $string['readinginfofrombackup'] = 'Reading info from backup';