svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ Package.tpl.php
| From: | Brett Bieber | Date: | Mon, 07 Dec 2009 04:38:49 +0000 |
| Subject: | svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ Package.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9098@lists.php.net to get a copy of this message | ||
saltybeagle Mon, 07 Dec 2009 04:38:49 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291797
Log:
No need to access the raw variable with the new ArrayAccess filtered object proxy.
Changed paths:
U pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php
Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php 2009-12-07 04:35:50 UTC (rev
291796)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php 2009-12-07 04:38:49 UTC (rev
291797)
@@ -13,10 +13,7 @@
</p>
<h3>Installation</h3>
<ol class="instructions">
- <?php
- $latest = $context->__raw('version');
- ?>
- <li><code>$>php pyrus.phar install <?php echo $context->name .
'-' . $latest['release']; ?></code></li>
+ <li><code>$>php pyrus.phar install <?php echo $context->name .
'-' . $context->version['release']; ?></code></li>
</ol>
</div>
<div class="grid_4 right releases">