[evolvis-commits] r12646: Converted a few hardcoded links to util_make_{url, link}

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Feb 28 01:53:12 CET 2011


Author: mirabilos
Date: 2011-02-28 01:53:12 +0100 (Mon, 28 Feb 2011)
New Revision: 12646

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/plugins/cvstracker/common/cvstrackerPlugin.class.php
Log:
Converted a few hardcoded links to util_make_{url,link}

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/plugins/cvstracker/common/cvstrackerPlugin.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/plugins/cvstracker/common/cvstrackerPlugin.class.php	2011-02-28 00:53:05 UTC (rev 12645)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/plugins/cvstracker/common/cvstrackerPlugin.class.php	2011-02-28 00:53:12 UTC (rev 12646)
@@ -80,8 +80,9 @@
 					$Row['file'], $Row['actual_version']).
 				'</td>
 				<td>'. htmlspecialchars($Row['log_text']).'</td>
-				<td><a href="/users/'. $Row['author'].'">'.
-					$Row['author'].'</a></td>
+				<td>'. util_make_link_u ($Row['author'],
+							 user_get_object_by_name ($Row['author'])->getId(),
+							 $Row['author']).'</td>
 				</tr>';
 			}
 			echo $GLOBALS['HTML']->listTableBottom();



More information about the evolvis-commits mailing list