add cleanup_title() calls to search results (from David Kim)

svn path=/trunk/boinc/; revision=12327
This commit is contained in:
Rytis Slatkevičius 2007-04-06 19:12:27 +00:00
parent f85822140a
commit a2f7c3f509
1 changed files with 8 additions and 6 deletions

View File

@ -4,6 +4,8 @@
* forum_search.php
**/
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
require_once('../inc/forum.inc');
require_once('../inc/forum_std.inc');
@ -47,8 +49,8 @@ if ($thread_ids){
$thread_forum = $thread->getForum();
echo '
<tr>
<td>'.$thread_forum->getTitle().'</td>
<td class="threadline"><a href="forum_thread.php?id='.$thread->getID().'"><b>'.$thread->getTitle().'</b></a></td>';
<td>'.cleanup_title($thread_forum->getTitle()).'</td>
<td class="threadline"><a href="forum_thread.php?id='.$thread->getID().'"><b>'.cleanup_title($thread->getTitle()).'</b></a></td>';
echo '
<td>'.($thread->getPostCount()+1).'</td>
<td align="left"><div class="authorcol">'.re_user_links($thread->getOwner()).'</div></td>
@ -81,8 +83,8 @@ if ($post_ids){
$thread_forum = $thread->getForum();
echo '
<tr>
<th>'.$thread_forum->getTitle().'</th>
<th class="threadline"><a href="forum_thread.php?id='.$thread->getID().'"><b>'.$thread->getTitle().'</b></a></th>
<th>'.cleanup_title($thread_forum->getTitle()).'</th>
<th class="threadline"><a href="forum_thread.php?id='.$thread->getID().'"><b>'.cleanup_title($thread->getTitle()).'</b></a></th>
<th align="left"><div class="authorcol">'.re_user_links($post->getOwner()).'</div></th>
<th style="text-align:right">'.time_diff_str($post->getTimestamp(), time()).'</th>
</tr>