diff --git a/enrol/paypal/enrol.html b/enrol/paypal/enrol.html
index 793e6bc87ec..d289d3d0c6b 100644
--- a/enrol/paypal/enrol.html
+++ b/enrol/paypal/enrol.html
@@ -2,7 +2,7 @@
enrol_currency $cost"; ?>
-
+
usepaypalsandbox) ? 'https://www.paypal.com/cgi-bin/webscr' : 'https://www.sandbox.paypal.com/cgi-bin/webscr';
diff --git a/files/index.php b/files/index.php
index f055aa1f920..9fc4586a334 100644
--- a/files/index.php
+++ b/files/index.php
@@ -618,9 +618,12 @@ function clearfilelist() {
function printfilelist($filelist) {
global $CFG, $basedir;
+ $strfolder = get_string("folder");
+ $strfile = get_string("file");
+
foreach ($filelist as $file) {
if (is_dir($basedir.'/'.$file)) {
- echo "
pixpath/f/folder.gif\" height=\"16\" width=\"16\" alt=\"\" /> $file
";
+ echo "
pixpath/f/folder.gif\" height=\"16\" width=\"16\" alt=\"$strfolder\" /> $file
";
$subfilelist = array();
$currdir = opendir($basedir.'/'.$file);
while (false !== ($subfile = readdir($currdir))) {
@@ -632,7 +635,7 @@ function printfilelist($filelist) {
} else {
$icon = mimeinfo("icon", $file);
- echo "
pixpath/f/$icon\" height=\"16\" width=\"16\" alt=\"\" /> $file
";
+ echo "
pixpath/f/$icon\" height=\"16\" width=\"16\" alt=\"$strfile\" /> $file
";
}
}
}
@@ -688,7 +691,9 @@ function displaydir ($wdir) {
$strunzip = get_string("unzip");
$strlist = get_string("list");
$strrestore= get_string("restore");
- $strchoose = get_string("choose");
+ $strchoose = get_string("choose");
+ $strfolder = get_string("folder");
+ $strfile = get_string("file");
echo "