1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Forum upgrade check fix. Forum stats page GUI fixes.

This commit is contained in:
Cameron 2013-03-10 20:52:06 -07:00
parent 34083bf7ad
commit 01a2b876d6
2 changed files with 1 additions and 7 deletions

View File

@ -49,7 +49,7 @@ class forum_setup
*/
function upgrade_required()
{
if(!e107::getDb()->field('forum','forum_thread'))
if(!e107::getDb()->field('forum_thread','thread_id'))
{
return true; // true to trigger an upgrade alert, and false to not.
}

View File

@ -220,9 +220,6 @@ $text = "
<tr>
<th class='forumheader' colspan='2'>".FSLAN_1."</th>
</tr>
<tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_2.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$open_date}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_3.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$open_since}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_4.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$total_posts}</td></tr>
@ -232,9 +229,6 @@ $text = "
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_24.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$postsperday}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_8.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$db_size}</td></tr>
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_9.":</b>&nbsp;&nbsp;</td><td style='width: 50%;'>{$avg_row_len}</td></tr>
</tr>
</table>
</div>