com web/people: show extra text in hover text: include/karma.php
| From: | Peter Cowburn | Date: | Sun, 08 Jun 2014 14:27:30 +0000 |
| Subject: | com web/people: show extra text in hover text: include/karma.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19206@lists.php.net to get a copy of this message | ||
Commit: 00f64e937bc4e1adb6de4fc9c8f4a26c061863b0
Author: Peter Cowburn <petercowburn@gmail.com> Sun, 8 Jun 2014 15:27:30 +0100
Parents: 8d8d43781cf195f0e7f7356717c8531e2d4a2089
Branches: master
Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=00f64e937bc4e1adb6de4fc9c8f4a26c061863b0
Log:
show extra text in hover text
Changed paths:
M include/karma.php
Diff:
diff --git a/include/karma.php b/include/karma.php
index 385f19a..d9d7cc7 100644
--- a/include/karma.php
+++ b/include/karma.php
@@ -130,11 +130,11 @@ function formatKarmaLinks($line)
}
$url .= ";a=tree;f=".urlencode(trim($subpath, "/"));
}
- $line = sprintf('<a href="%s">%s</a> %s', $url, $path,
$extra);
// SVN
} else {
$url = "https://svn.php.net/viewvc/".strtr($path,
array("/*/" => "/trunk/"));
- $line = sprintf('<a href="%s">%s</a> %s', $url, $path,
$extra);
+
}
+ $line = sprintf('<a href="%s" title="%s %s">%s</a>',
$url, $path, $extra, $path);
return $line;
}