svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ Package.tpl.php

From: Date: Thu, 17 Jun 2010 14:50:16 +0000
Subject: svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ Package.tpl.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9502@lists.php.net to get a copy of this message
saltybeagle Thu, 17 Jun 2010 14:50:16 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300524 Log: If there are required packages, show the list. Changed paths: U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Package.tpl.php Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Package.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Package.tpl.php 2010-06-17 14:48:28 UTC (rev 300523) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Package.tpl.php 2010-06-17 14:50:16 UTC (rev 300524) @@ -108,8 +108,7 @@ </div> <?php -$dependencies = $context->dependencies['required']->package; -if (count($dependencies) > 0): +if (count($context->dependencies['required']->package) > 0): ?> <div class="package-dependencies"> <h3>Dependencies for <?php echo $context->name; ?></h3> @@ -117,7 +116,7 @@ <?php -foreach ($dependencies as $name => $package) { +foreach ($context->dependencies['required']->package as $name => $package) { echo '<li><a href="http://'.$name.'">' . $name . '</a></li>'; }

« previous php.pear.core (#9502) next »