TinyPortal
Development => Feedback => Topic started by: Kieferhub on December 22, 2006, 04:48:52 PM
within "TPortal.template.php" you will find this at ~line 174
Quote
// any options for author and date?
if(isset($story['options']['author']) || $story['is_boardnews'])
echo '<span class="smalltext">' , $txt['tp-by'] , ' <b>' , $story['poster']['link'] , '</b></span>';
if(isset($story['options']['date']) || $story['is_boardnews'])
echo '<span class="smalltext"> ' , $txt[30] , ' ' , $story['time'] , '</span>';
// ..and for views and ratings , even comments?
echo '<br />';
if you do not have any of this options enabled there will be a blank line. in my opinion
Quote// ..and for views and ratings , even comments?
if(isset($story['options']['author']) || $story['is_boardnews'] || isset($story['options']['date']) || $story['is_boardnews'])
echo '<br />';
this would make more sence
You can select what you want to be viewable within the settings for each article.
yes..I think its better actually to include the linebreak in the if statement.
I do think it was separated for a reason though..but I will re-check.