svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ Main.tpl.php

[email protected] (Brett Bieber)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
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); ?>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.