- web: don't truncate thread titles

svn path=/trunk/boinc/; revision=25716
This commit is contained in:
David Anderson 2012-05-26 20:08:24 +00:00
parent 0a686c5195
commit 22af0334b9
2 changed files with 10 additions and 4 deletions

View File

@ -4047,3 +4047,9 @@ David 25 May 2012
html/ops/
repair_forums.php
notify.php
David 26 May 2012
- web: don't truncate thread titles
html/user/
forum_forum.php

View File

@ -201,11 +201,11 @@ function show_forum($forum, $start, $sort_style, $user) {
}
echo "</nobr></td>";
$titlelength = 48;
$title = cleanup_title($thread->title);
if (strlen($title) > $titlelength) {
$title = substr($title, 0, $titlelength)."...";
}
//$titlelength = 9999;
//if (strlen($title) > $titlelength) {
// $title = substr($title, 0, $titlelength)."...";
//}
echo "<td class=\"threadline\"><a href=\"forum_thread.php?id=$thread->id\"><b>$title</b></a><br></td>";
$n = ($n+1)%2;