Changeset 852
- Timestamp:
- Jan 17, 2016, 10:25:29 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r851 r852 6 6 // and system will need database update. 7 7 8 $Revision = 85 1; // Subversion revision8 $Revision = 852; // Subversion revision 9 9 $DatabaseRevision = 849; // Database structure revision 10 10 $ReleaseTime = '2016-01-17'; -
trunk/Modules/Forum/Forum.php
r851 r852 57 57 '<td><a href="'.$this->System->Link('/forum/?Thread='.$DbRow['Thread']).'">'.HumanDate($DbRow['Date']).'</a></td>'. 58 58 '<td><a href="'.$this->System->Link('/user/?user='.$DbRow['UserId']).'">'.$DbRow['UserName'].'</a></td>'. 59 '<td>'. htmlspecialchars($Parser->qparse($DbRow['Text'])).'</td>'.59 '<td>'.$Parser->qparse(htmlspecialchars($DbRow['Text'])).'</td>'. 60 60 '</tr>'; 61 61 } … … 152 152 $Output .= '<div><a href="'.$this->System->Link('/forum/?Thread='.$Line['Thread']).'">'. 153 153 htmlspecialchars($Line['ThreadName']).'</a><br /><strong>'.$Line['UserName']. 154 '</strong> ('.HumanDate($Line['Date']).'): '. htmlspecialchars($parser->qparse($Line['Text'])).'</div> ';154 '</strong> ('.HumanDate($Line['Date']).'): '.$parser->qparse(htmlspecialchars($Line['Text'])).'</div> '; 155 155 $Output .= '</div>'.$PageList['Output']; 156 156 return($Output); … … 181 181 182 182 $parser = new HTML_BBCodeParser2(array('filters' => array('Basic','Extended','Images','Links','Lists','Email'))); 183 // echo $parser->qparse('[youtube]http://www.youtube.com/watch?v=hwgO6p2Jh-A[/youtube][img]http://www.bbcode.org/images/lubeck_small.jpg[/img]normal [i][b]bold[/b][/i] [img]http://imageshack.com/a/img203/7462/6ctg.jpg[/img] and normal again');184 183 185 184 if(array_key_exists('search', $_GET)) $_SESSION['search'] = $_GET['search']; … … 212 211 $Output .= '<div><span style="float:right;">'.$edit.' ('.HumanDate($Line['Date']). 213 212 ')</span><strong>'.$Line['UserName'].'</strong>: '.str_replace("\n", '<br />', 214 htmlspecialchars($parser->qparse($Line['Text']))).' </div> ';213 $parser->qparse(htmlspecialchars($Line['Text']))).' </div> '; 215 214 } 216 215 $Output .= '</div>'.$PageList['Output']; … … 321 320 'Title' => htmlspecialchars($DbRow['ThreadText']).' - '.$DbRow['UserName'].': ', 322 321 'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/forum/?Thread='.$DbRow['Thread']), 323 'Description' => htmlspecialchars($parser->qparse($DbRow['Text'])),322 'Description' => $parser->qparse(htmlspecialchars($DbRow['Text'])), 324 323 'Time' => $DbRow['UnixDate'], 325 324 ); -
trunk/Modules/User/Profile.php
r851 r852 132 132 while($Line = $DbResult->fetch_assoc()) 133 133 $Output .= '<div><a href="'.$this->System->Link('/forum/?Thread='.$Line['Thread']).'">'.htmlspecialchars($Line['ThreadName']).'</a><br />'. 134 '<strong>'.$Line['UserName'].'</strong> ('.HumanDate($Line['Date']).'): '. htmlspecialchars($parser->qparse($Line['Text'])).'</div> ';134 '<strong>'.$Line['UserName'].'</strong> ('.HumanDate($Line['Date']).'): '.$parser->qparse(htmlspecialchars($Line['Text'])).'</div> '; 135 135 $Output .= '</div>'; 136 136 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.