Commit:    00f64e937bc4e1adb6de4fc9c8f4a26c061863b0
Author:    Peter Cowburn <[email protected]>         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;
 }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to