svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ Main.tpl.php
| From: | Brett Bieber | Date: | Tue, 01 Jun 2010 18:50:19 +0000 |
| Subject: | svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ Main.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9448@lists.php.net to get a copy of this message | ||
saltybeagle Tue, 01 Jun 2010 18:50:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300064
Log:
Only show the promo info on the default view.
Changed paths:
U pear2/sandbox/pear2.php.net/trunk/templates/pear2/Main.tpl.php
Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/Main.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/Main.tpl.php 2010-06-01 18:01:38 UTC (rev
300063)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/Main.tpl.php 2010-06-01 18:50:19 UTC (rev
300064)
@@ -33,7 +33,9 @@
</div>
</div>
-
+<?php
+if ($context->options['view'] == 'news'):
+?>
<div id="mid">
<div class="content">
<div class="left">
@@ -68,7 +70,7 @@
</div>
</div>
</div>
-
+<?php endif; ?>
<div id="content">
<div class="content">
<?php echo $savant->render($context->page_content); ?>