mirror of https://github.com/BOINC/boinc.git
add cleanup_title() calls to search results (from David Kim)
svn path=/trunk/boinc/; revision=12327
This commit is contained in:
parent
f85822140a
commit
a2f7c3f509
|
@ -4,6 +4,8 @@
|
||||||
* forum_search.php
|
* forum_search.php
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
|
||||||
|
|
||||||
require_once('../inc/forum.inc');
|
require_once('../inc/forum.inc');
|
||||||
require_once('../inc/forum_std.inc');
|
require_once('../inc/forum_std.inc');
|
||||||
|
|
||||||
|
@ -47,8 +49,8 @@ if ($thread_ids){
|
||||||
$thread_forum = $thread->getForum();
|
$thread_forum = $thread->getForum();
|
||||||
echo '
|
echo '
|
||||||
<tr>
|
<tr>
|
||||||
<td>'.$thread_forum->getTitle().'</td>
|
<td>'.cleanup_title($thread_forum->getTitle()).'</td>
|
||||||
<td class="threadline"><a href="forum_thread.php?id='.$thread->getID().'"><b>'.$thread->getTitle().'</b></a></td>';
|
<td class="threadline"><a href="forum_thread.php?id='.$thread->getID().'"><b>'.cleanup_title($thread->getTitle()).'</b></a></td>';
|
||||||
echo '
|
echo '
|
||||||
<td>'.($thread->getPostCount()+1).'</td>
|
<td>'.($thread->getPostCount()+1).'</td>
|
||||||
<td align="left"><div class="authorcol">'.re_user_links($thread->getOwner()).'</div></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();
|
$thread_forum = $thread->getForum();
|
||||||
echo '
|
echo '
|
||||||
<tr>
|
<tr>
|
||||||
<th>'.$thread_forum->getTitle().'</th>
|
<th>'.cleanup_title($thread_forum->getTitle()).'</th>
|
||||||
<th class="threadline"><a href="forum_thread.php?id='.$thread->getID().'"><b>'.$thread->getTitle().'</b></a></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 align="left"><div class="authorcol">'.re_user_links($post->getOwner()).'</div></th>
|
||||||
<th style="text-align:right">'.time_diff_str($post->getTimestamp(), time()).'</th>
|
<th style="text-align:right">'.time_diff_str($post->getTimestamp(), time()).'</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue