SimplePortal
Development => Bugs => Fixed or Bogus Bugs => Topic started 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:- replace "sp_sp_articles" with "sp_articles"
Since this means that td.sp_articles will be used where it was not previously, this may mean that some tweaking of portal.css may also be required. - replace "sp_sp_articles " with " ".
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">';
-
For reference: http://simpleportal.net/index.php?issue=344.0