Changeset 2108
- Timestamp:
- 04/25/08 23:33:52 (19 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/release-36/lib/MT/Template/ContextHandlers.pm
r2103 r2108 5524 5524 } 5525 5525 } 5526 return q() unless $cmntr->url;5527 5526 my $link = $cmntr->url; 5528 5527 my $static_path = _hdlr_static_path($ctx); … … 5530 5529 unless ($logo) { 5531 5530 my $root_url = $static_path . "images"; 5532 $root_url =~ s|/$||;5533 5531 $logo = "$root_url/nav-commenters.gif"; 5534 5532 } 5535 qq{<a class="commenter-profile" href=\"$link\"><img alt=\"Author Profile Page\" src=\"$logo\" width=\"16\" height=\"16\" /></a>}; 5533 my $result = qq{<img alt=\"Author Profile Page\" src=\"$logo\" width=\"16\" height=\"16\" />}; 5534 if ($link) { 5535 $result = qq{<a class="commenter-profile" href=\"$link\">$result</a>}; 5536 } 5537 return $result; 5536 5538 } 5537 5539
