cvs: pearweb /templates packages.html

From: Date: Sat, 12 Jul 2003 10:16:49 +0000
Subject: cvs: pearweb /templates packages.html
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-11459@lists.php.net to get a copy of this message
mj Sat Jul 12 06:16:49 2003 EDT Modified files: /pearweb/templates packages.html Log: * Use the package name instead of the ID Index: pearweb/templates/packages.html diff -u pearweb/templates/packages.html:1.5 pearweb/templates/packages.html:1.6 --- pearweb/templates/packages.html:1.5 Mon Jun 9 06:47:47 2003 +++ pearweb/templates/packages.html Sat Jul 12 06:16:49 2003 @@ -1,9 +1,9 @@ <script language="JavaScript" type="text/javascript"> <!-- - function toggleMoreInfo(packageID, rowNode) + function toggleMoreInfo(packageName, rowNode) { if (!document.getElementById) { - location.href = 'http://pearweb/package-info.php?pacid=' + packageID; + location.href = '/package-info.php?package=' + packageName; return; } @@ -116,11 +116,11 @@ <?foreach($packages as $p):?> <tr> <td valign="top"><?=$first++?></td> - <td valign="top"><a href="package-info.php?pacid=<?=$p['id']?>"><strong><?=$p['name']?></strong></td> + <td valign="top"><a href="package-info.php?package=<?=$p['name']?>"><strong><?=$p['name']?></strong></td> <td valign="top"><?=$p['summary']?></td> <td valign="top"> <?if($_browser->is_ie5up):?> - <a href="#" onclick="toggleMoreInfo(<?=$p['id']?>); return false" onmouseover="window.status = 'View more info about <?=$p['name']?>'; return true" onmouseout="window.status = ''" title="View more info about <?=$p['name']?>"> + <a href="#" onclick="toggleMoreInfo(<?=$p['name']?>); return false" onmouseover="window.status = 'View more info about <?=$p['name']?>'; return true" onmouseout="window.status = ''" title="View more info about <?=$p['name']?>"> <img src="gifs/moreinfo.gif" border="0" /> </a> <?endif?>

« previous php.pear.cvs (#11459) next »