svn: /pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/ Categories.tpl.php Main.tpl.php Package.tpl.php Support.tpl.php
| From: | Amir Mohammad Saied | Date: | Sun, 06 Dec 2009 19:35:00 +0000 |
| Subject: | svn: /pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/ Categories.tpl.php Main.tpl.php Package.tpl.php Support.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9088@lists.php.net to get a copy of this message | ||
amir Sun, 06 Dec 2009 19:35:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291776
Log:
CSS tweaks
Template file for support page
Package description for Package view, and separating Releases section
Making category' package count more visible
Changed paths:
U pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Categories.tpl.php
U pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Main.tpl.php
U pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Package.tpl.php
A pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Support.tpl.php
Modified: pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Categories.tpl.php
===================================================================
--- pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Categories.tpl.php 2009-12-06 19:34:12
UTC (rev 291775)
+++ pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Categories.tpl.php 2009-12-06 19:35:00
UTC (rev 291776)
@@ -11,7 +11,7 @@
<?php
foreach ($context as $category) : ?>
<li id="category-1" class="category category-clear">
- <h3><a href=""><span class="category-title"><?php
echo $category->name; ?></span> <span class="category-count"><?php
echo count($category); ?></span></a></h3>
+ <h3><a href=""><span class="category-title"><?php
echo $category->name; ?></span></a><span class="category-count">
(<?php echo count($category); ?>)</span></h3>
<div><?php
if (count($category)) {
echo '<ul>';
Modified: pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Main.tpl.php
===================================================================
--- pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Main.tpl.php 2009-12-06 19:34:12 UTC
(rev 291775)
+++ pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Main.tpl.php 2009-12-06 19:35:00 UTC
(rev 291776)
@@ -15,6 +15,7 @@
<li><a href="<?php echo
pear2\SimpleChannelFrontend\Main::getURL('pear2\SimpleChannelFrontend\News');
?>">Home</a></li>
<li><a href="<?php echo
pear2\SimpleChannelFrontend\Main::getURL('pear2\SimpleChannelFrontend\PackageList');
?>">Packages</a></li>
<li><a href="<?php echo
pear2\SimpleChannelFrontend\Main::getURL('pear2\SimpleChannelFrontend\Categories');
?>">Categories</a></li>
+ <li><a href="<?php echo
pear2\SimpleChannelFrontend\Main::getURL('pear2\SimpleChannelFrontend\Support');
?>">Support</a></li>
</ul>
</div>
<div class="content">
Modified: pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Package.tpl.php
===================================================================
--- pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Package.tpl.php 2009-12-06 19:34:12 UTC
(rev 291775)
+++ pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Package.tpl.php 2009-12-06 19:35:00 UTC
(rev 291776)
@@ -5,6 +5,7 @@
<div class="package">
<div class="grid_8 left">
<h2>Package :: <?php echo $context->name; ?></h2>
+ <p><em><?php echo $context->summary; ?></em></p>
<p>
<?php
echo nl2br(trim($context->description));
@@ -16,7 +17,7 @@
<li><code>$>php pyrus.phar install <?php echo $context->channel .
'/' . $context->name; ?></code></li>
</ol>
</div>
- <div class="grid_4 right">
+ <div class="grid_4 right releases">
<h3>Releases</h3>
<ul>
<?php
Added: pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Support.tpl.php
===================================================================
--- pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Support.tpl.php
(rev 0)
+++ pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/Support.tpl.php 2009-12-06 19:35:00 UTC
(rev 291776)
@@ -0,0 +1,15 @@
+<?php
+// Set the title for the main template
+$parent->context->page_title = 'Support |
'.pear2\SimpleChannelFrontend\Main::$channel->name;
+?>
+<div class="support grid_8">
+ <h1>Support</h1>
+ <ul>
+ <li>There's a Pyrus section in <a href="http://pear.php.net/manual/en/pyrus.php">PEAR
manual</a>.</li>
+ <li>There are some PEAR-related mailing lists, check <a href="http://pear.php.net/support/lists.php">PEAR
website</a> for more info.</li>
+ <li>You can also ask for help on the <i><a
href="irc://efnet/#pear">#pear</a></i>
+ <acronym title="Internet Relay Chat">IRC</acronym> channel at
the
+ <a href="http://www.efnet.org"> Eris Free Net</a>.
+ </li>
+ </ul>
+</div>