MDL-19246 file manager - improved security message. Thanks Helen.

This commit is contained in:
stronk7
2009-05-22 15:08:08 +00:00
parent 4ba39c2626
commit c967c71d16
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -126,7 +126,7 @@
echo '<div id="nav-bar">'.$fullnav.'</div>';
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);
}
+1
View File
@@ -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';