Skip to content

Commit

Permalink
MDL-14589 - XHTML Strrrict, and more consistent tool tips.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed Aug 15, 2008
1 parent 6280b17 commit 7caa6bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

echo '<br />';

echo '<form enctype="multipart/form-data" method="post" action="index.php">';
echo '<form enctype="multipart/form-data" method="post" action="index.php"><div>';
echo '<input type="hidden" name="contextid" value="'.$contextid.'" />';
echo '<input type="hidden" name="filearea" value="'.$filearea.'" />';
echo '<input type="hidden" name="itemid" value="'.$itemid.'" />';
Expand Down Expand Up @@ -273,15 +273,15 @@ function displaydir($file_info) {

$icon = mimeinfo_from_type("icon", $mimetype);
if ($downloadurl = $child_info->get_url(true)) {
$downloadurl = "&nbsp;<a href=\"$downloadurl\"><img src=\"$CFG->pixpath/t/down.gif\" class=\"iconsmall\" alt=\"$strdownload\" />";
$downloadurl = "&nbsp;<a href=\"$downloadurl\" title=\"" . get_string('downloadfile') . "\"><img src=\"$CFG->pixpath/t/down.gif\" class=\"iconsmall\" alt=\"$strdownload\" /></a>";
} else {
$downloadurl = '';
}

if ($viewurl = $child_info->get_url()) {
$viewurl = "&nbsp;".link_to_popup_window ($viewurl, "display",
"<img src=\"$CFG->pixpath/t/preview.gif\" class=\"iconsmall\" alt=\"$strfile\" />&nbsp;",
480, 640, null, null, true);
480, 640, get_string('viewfileinpopup'), null, true);
} else {
$viewurl = '';
}
Expand Down
2 changes: 2 additions & 0 deletions lang/en_utf8/moodle.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@
$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?';
Expand Down Expand Up @@ -1587,6 +1588,7 @@
$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:';
Expand Down

0 comments on commit 7caa6bb

Please sign in to comment.