Ignore:
Timestamp:
Apr 10, 2024, 11:49:39 PM (5 weeks ago)
Author:
chronos
Message:
  • Fixed: More form input fields validation.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Forum/Forum.php

    r893 r900  
    167167    $DbResult = $this->System->Database->query('SELECT * FROM `ForumThread` WHERE 1 ORDER BY `ID` DESC '.$PageList['SQLLimit']);
    168168    while ($Line = $DbResult->fetch_assoc())
     169    {
    169170      $Output .= '<div><span style="float:right;"><strong>'.$Line['UserName'].
    170     '</strong> - ('.HumanDate($Line['Date']).')</span> <a href="?Thread='.$Line['ID'].'">'.
    171     str_replace("\n", '', htmlspecialchars($Line['Text'])).'</a></div>';
     171        '</strong> - ('.HumanDate($Line['Date']).')</span> <a href="?Thread='.$Line['ID'].'">'.
     172        str_replace("\n", '', htmlspecialchars($Line['Text'])).'</a></div>';
     173    }
    172174    $Output .= '</div>'.$PageList['Output'];
    173175    return $Output;
Note: See TracChangeset for help on using the changeset viewer.