svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ News.tpl.php Package.tpl.php PackageRelease.tpl.php
| From: | Brett Bieber | Date: | Sat, 12 Dec 2009 03:25:36 +0000 |
| Subject: | svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ News.tpl.php Package.tpl.php PackageRelease.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9108@lists.php.net to get a copy of this message | ||
saltybeagle Sat, 12 Dec 2009 03:25:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292011
Log:
Add package release template, remove channel name from release install instructions, no need to use
static channel reference for pear2 site
Changed paths:
U pear2/sandbox/pear2.php.net/trunk/templates/pear2/News.tpl.php
U pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php
A pear2/sandbox/pear2.php.net/trunk/templates/pear2/PackageRelease.tpl.php
Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/News.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/News.tpl.php 2009-12-12 03:10:27 UTC (rev
292010)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/News.tpl.php 2009-12-12 03:25:36 UTC (rev
292011)
@@ -1,6 +1,6 @@
<?php
// Set the title for the main template
-$parent->context->page_title = 'News |
'.pear2\SimpleChannelFrontend\Main::$channel->name;
+$parent->context->page_title = 'News | pear2.php.net';
?>
<div id="news">
<div class="grid_8 left">
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:27 UTC (rev
292010)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php 2009-12-12 03:25:36 UTC (rev
292011)
@@ -1,6 +1,6 @@
<?php
// Set the title for the main template
-$parent->context->page_title = $context->name.' |
'.pear2\SimpleChannelFrontend\Main::$channel->name;
+$parent->context->page_title = $context->name.' | pear2.php.net';
?>
<div class="package">
<div class="grid_8 left">
Added: pear2/sandbox/pear2.php.net/trunk/templates/pear2/PackageRelease.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/PackageRelease.tpl.php
(rev 0)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/PackageRelease.tpl.php 2009-12-12 03:25:36 UTC
(rev 292011)
@@ -0,0 +1,31 @@
+<?php
+// Set the title for the main template
+$parent->context->page_title = $context->name.' | pear2.php.net';
+?>
+<div class="package">
+ <div class="grid_8 left">
+ <h2>
+ <a href="<?php echo pear2\SimpleChannelFrontend\Main::getURL() .
$context->name; ?>"><?php echo $context->name; ?></a> ::
+ <?php echo $context->version['release']; ?>
+ </h2>
+ <ul class="package-info">
+ <li><strong>Version:</strong>
+ <span><?php echo $context->version['release'];
?></span>
+ </li>
+ <li><strong>Stability:</strong>
+ <span><?php echo $context->stability['release'];
?></span>
+ </li>
+ <li><strong>Released on:</strong>
+ <span><abbr class="releasedate" title="<?php echo
$context->date.' '.$context->time; ?>"><?php echo $context->date;
?></abbr></span>
+ </li>
+ <li><strong>License:</strong>
+ <span><?php echo $context->license['name'];
?></span>
+ </li>
+ </ul>
+ <?php echo $savant->render($context->name . '-' .
$context->version['release'], 'InstallInstructions.tpl.php'); ?>
+ </div>
+ <div class="grid_4 right releases">
+ <h3>Release Notes</h3>
+ <?php echo nl2br($context->notes); ?>
+ </div>
+</div>