Changeset 891 for trunk/Modules/User
- Timestamp:
- Jan 13, 2023, 12:40:34 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/Profile.php
r888 r891 120 120 function ShowLastForum() 121 121 { 122 $parser = new HTML_BBCodeParser2(array('filters' => array('Basic','Extended','Images','Links','Lists','Email')));123 122 $Count = 20; 124 123 $Output = '<strong>'.T('Latest forum posts').':</strong>'; … … 132 131 while ($Line = $DbResult->fetch_assoc()) 133 132 $Output .= '<div><a href="'.$this->System->Link('/forum/?Thread='.$Line['Thread']).'">'.htmlspecialchars($Line['ThreadName']).'</a><br />'. 134 '<strong>'.$Line['UserName'].'</strong> ('.HumanDate($Line['Date']).'): '. $parser->qparse(htmlspecialchars($Line['Text'])).'</div> ';133 '<strong>'.$Line['UserName'].'</strong> ('.HumanDate($Line['Date']).'): '.ShowBBcodes(htmlspecialchars($Line['Text'])).'</div> '; 135 134 $Output .= '</div>'; 136 135 return $Output;
Note:
See TracChangeset
for help on using the changeset viewer.