SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: AngelinaBelle on March 04, 2010, 09:40:00 AM

Title: CSS class sp_sp_articles in sp_articles
Post by: AngelinaBelle on March 04, 2010, 09:40:00 AM
portal.css has .sp_articles and td.sp_articles, but nothing for sp_sp_articles.  So the use of sp_sp_articles in function sp_articles in PortalBlocks.php looks like a typo.
 
I suggest one of the following:
Code: (PortalBlocks.php) [Select]
   if (empty($image))
   {
      echo '
                        <ul class="sp_list">';
      foreach ($articles as $article)
         echo '
                           <li>', sp_embed_image('topic'), ' ', $article['link'], '</li>';
      echo '
                        </ul>';
   }
   else
   {
      echo '
                        <table class="sp_fullwidth sp_articles">';
      foreach ($articles as $article)
      {
         echo '
                           <tr>
                              <td class="sp_sp_articles sp_center">';
Title: Re: CSS class sp_sp_articles in sp_articles
Post by: [SiNaN] on March 10, 2010, 05:36:14 AM
For reference: http://simpleportal.net/index.php?issue=344.0
SimplePortal 2.3.8 © 2008-2024, SimplePortal