Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed file pop-ups 2

  • Loading branch information...
commit 14637fc14fc3da925c609acfe2261f53f1de8a16 1 parent 0b43622
skodak authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  mod/glossary/lib.php
View
2  mod/glossary/lib.php
@@ -1166,6 +1166,7 @@ function glossary_print_attachments($entry, $return=NULL, $align="left") {
if ($return == "html") {
$output .= "<a href=\"$ffurl\">$image</a> ";
$output .= "<a href=\"$ffurl\">$file</a><br />";
+
} else if ($return == "text") {
$output .= "$strattachment $file:\n$ffurl\n";
@@ -1173,6 +1174,7 @@ function glossary_print_attachments($entry, $return=NULL, $align="left") {
if ($icon == "image.gif") { // Image attachments don't get printed as links
$imagereturn .= "<img src=\"$ffurl\" align=\"$align\" alt=\"\" />";
} else {
+ echo "<a href=\"$ffurl\">$image</a> ";
echo "<a href=\"$ffurl\">$file</a><br />";
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.