From: tjhunt Date: Fri, 15 Aug 2008 04:41:55 +0000 (+0000) Subject: MDL-14589 - XHTML Strrrict, and more consistent tool tips. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7caa6bbdcbc6ea35fa5b8b0120d631ef0eee907f;p=moodle.git MDL-14589 - XHTML Strrrict, and more consistent tool tips. --- diff --git a/files/index.php b/files/index.php index 4f0af93ccf..a7c65290fc 100644 --- a/files/index.php +++ b/files/index.php @@ -136,7 +136,7 @@ echo '
'; - echo '
'; + echo '
'; echo ''; echo ''; echo ''; @@ -273,7 +273,7 @@ function displaydir($file_info) { $icon = mimeinfo_from_type("icon", $mimetype); if ($downloadurl = $child_info->get_url(true)) { - $downloadurl = " pixpath/t/down.gif\" class=\"iconsmall\" alt=\"$strdownload\" />"; + $downloadurl = " pixpath/t/down.gif\" class=\"iconsmall\" alt=\"$strdownload\" />"; } else { $downloadurl = ''; } @@ -281,7 +281,7 @@ function displaydir($file_info) { if ($viewurl = $child_info->get_url()) { $viewurl = " ".link_to_popup_window ($viewurl, "display", "pixpath/t/preview.gif\" class=\"iconsmall\" alt=\"$strfile\" /> ", - 480, 640, null, null, true); + 480, 640, get_string('viewfileinpopup'), null, true); } else { $viewurl = ''; } diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index ae2c774a90..213ba9b3dc 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -408,6 +408,7 @@ $string['documentation'] = 'Moodle Documentation'; $string['donotask'] = 'Do Not Ask'; $string['down'] = 'Down'; $string['downloadexcel'] = 'Download in Excel format'; +$string['downloadfile'] = 'Download file'; $string['downloadods'] = 'Download in ODS format'; $string['downloadtext'] = 'Download in text format'; $string['doyouagree'] = 'Have you read these conditions and understood them?'; @@ -1587,6 +1588,7 @@ $string['usethiscourse'] = 'Use this course'; $string['usingexistingcourse'] = 'Using existing course'; $string['version'] = 'Version'; $string['view'] = 'View'; +$string['viewfileinpopup'] = 'View file in a popup window'; $string['views'] = 'Views'; $string['viewsolution'] = 'view solution'; $string['virusfound'] = 'Attention administrator! Clam AV has found a virus in a file uploaded by $a->user for the course $a->course. Here is the output of clamscan:';