Permalink
Browse files

removed file pop-ups 2

  • Loading branch information...
1 parent 0b43622 commit 14637fc14fc3da925c609acfe2261f53f1de8a16 skodak committed Jul 12, 2005
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/glossary/lib.php
View
@@ -1166,13 +1166,15 @@ 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";
} else {
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 />";
}
}

0 comments on commit 14637fc

Please sign in to comment.