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:
parent
34083bf7ad
commit
01a2b876d6
@ -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.
|
||||
}
|
||||
|
@ -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> </td><td style='width: 50%;'>{$open_date}</td></tr>
|
||||
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_3.":</b> </td><td style='width: 50%;'>{$open_since}</td></tr>
|
||||
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_4.":</b> </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> </td><td style='width: 50%;'>{$postsperday}</td></tr>
|
||||
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_8.":</b> </td><td style='width: 50%;'>{$db_size}</td></tr>
|
||||
<tr><td style='width: 50%; text-align: right;'><b>".FSLAN_9.":</b> </td><td style='width: 50%;'>{$avg_row_len}</td></tr>
|
||||
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user