svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ InstallInstructions.tpl.php Package.tpl.php
| From: | Brett Bieber | Date: | Sat, 12 Dec 2009 03:10:27 +0000 |
| Subject: | svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ InstallInstructions.tpl.php Package.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9107@lists.php.net to get a copy of this message | ||
saltybeagle Sat, 12 Dec 2009 03:10:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292010
Log:
Use one template for the install instructions.
Changed paths:
A pear2/sandbox/pear2.php.net/trunk/templates/pear2/InstallInstructions.tpl.php
U pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php
Added: pear2/sandbox/pear2.php.net/trunk/templates/pear2/InstallInstructions.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/InstallInstructions.tpl.php
(rev 0)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/InstallInstructions.tpl.php 2009-12-12
03:10:27 UTC (rev 292010)
@@ -0,0 +1,4 @@
+<h3>Installation</h3>
+<ol class="instructions">
+ <li><code>$>php pyrus.phar install <?php echo $context;
?></code></li>
+</ol>
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-12 03:10:01 UTC (rev
292009)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php 2009-12-12 03:10:27 UTC (rev
292010)
@@ -11,10 +11,7 @@
echo nl2br(trim($context->description));
?>
</p>
- <h3>Installation</h3>
- <ol class="instructions">
- <li><code>$>php pyrus.phar install <?php echo $context->name .
'-' . $context->version['release']; ?></code></li>
- </ol>
+ <?php echo $savant->render($context->name . '-' .
$context->version['release'], 'InstallInstructions.tpl.php'); ?>
</div>
<div class="grid_4 right releases">
<h3>Releases</h3>
@@ -23,7 +20,8 @@
foreach ($context as $version => $release): ?>
<li>
<a href="<?php echo pear2\SimpleChannelFrontend\Main::getURL() .
$context->name . '-' . $version; ?>"><?php echo $version; ?></a>
- <span class="stability"><?php echo
$release['stability']; ?></span>
+ <span class="stability"><?php echo
$release['stability']; ?></span>
+ <?php echo $version; ?> <span class="stability"><?php echo
$release['stability']; ?></span>
<abbr class="releasedate" title="<?php echo
$context->date.' '.$context->time; ?>"><?php echo $context->date;
?></abbr>
<a class="download" href="<?php echo
$context->getDownloadURL('.tgz'); ?>">Download</a>
</li>