Permalink
Browse files

Stylesheet change for images!

  • Loading branch information...
1 parent 775e2cf commit b2901bde44d3e4b3669ef3367e7694f50e855d09 @xanmanning xanmanning committed Jun 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 git.php
View
@@ -341,7 +341,7 @@ function html_blob($proj, $blob) {
echo $out;
} elseif($ext == "image") {
//echo "image";
- echo "<img src=\"" . sanitized_url() . "dl=image&p=" . $proj . "&b=" . $blob . "&n=" . $name . "\" id=\"image_blob\" />";
+ echo "<a href=\"" . sanitized_url() . "dl=image&p=" . $proj . "&b=" . $blob . "&n=" . $name . "\"><img src=\"" . sanitized_url() . "dl=image&p=" . $proj . "&b=" . $blob . "&n=" . $name . "\" id=\"image_blob\" /></a>";
} else {
//echo "highlight";
$result = 0;

0 comments on commit b2901bd

Please sign in to comment.