svn: /pear/pearweb/trunk/public_html/ package-info.php

From: Date: Fri, 26 Mar 2010 07:33:38 +0000
Subject: svn: /pear/pearweb/trunk/public_html/ package-info.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9331@lists.php.net to get a copy of this message
clockwerx Fri, 26 Mar 2010 07:33:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=296832 Log: Plug for pyrus on package download pages Changed paths: U pear/pearweb/trunk/public_html/package-info.php Modified: pear/pearweb/trunk/public_html/package-info.php =================================================================== --- pear/pearweb/trunk/public_html/package-info.php 2010-03-26 07:24:13 UTC (rev 296831) +++ pear/pearweb/trunk/public_html/package-info.php 2010-03-26 07:33:38 UTC (rev 296832) @@ -24,6 +24,7 @@ require_once 'Damblan/URL.php'; require_once 'bugs/pear-bugs.php'; require 'roadmap/info.php'; +require_once 'package/releasehelper.php'; $site = new Damblan_URL; @@ -375,7 +376,6 @@ echo '</tr>' . "\n"; echo '<tr>' . "\n"; if (isset($auth_user)) { - require 'package/releasehelper.php'; $helper = new package_releasehelper($pkg['name']); echo '<td class="description">' . nl2br(htmlspecialchars($description)) . '</td>' . "\n"; echo '<td>' . "\n"; @@ -541,7 +541,7 @@ // }}} } elseif ($action == 'download') { - + $helper = new package_releasehelper($name); // {{{ Download $i = 0; @@ -571,6 +571,14 @@ <h4>Easy Install</h4> <p class="action-hint">Not sure? Get <a href="/manual/en/installation.php">more info</a>.</p> <p class="action"><kbd>pear install <?php echo htmlspecialchars($name); ?>-<?php echo $release_version; ?></kbd></p> + + <?php if (!$helper->hasOldPackagexml()) { ?> + <h4>Pyrus Install</h4> + <p>Try <a href="http://pear2.php.net/">PEAR2</a>'s installer, Pyrus.</p> + <p class="action"><kbd>php pyrus.phar install pear/<?php echo htmlspecialchars($name); ?>-<?php echo $release_version; ?></kbd></p> + <?php } ?> + + </div> <div class="package-download-action download">

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