mirror of
https://github.com/e107inc/e107.git
synced 2025-02-13 02:54:39 +01:00
20 lines
380 B
PHP
20 lines
380 B
PHP
<?php
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
|
|
class forum_status // include plugin-folder in the name.
|
|
{
|
|
function config()
|
|
{
|
|
$sql = e107::getDb();
|
|
$forum_posts = $sql->db_Count('forum_post');
|
|
|
|
$var[0]['icon'] = E_16_FORUM;
|
|
$var[0]['title'] = ADLAN_113;
|
|
$var[0]['url'] = e_PLUGIN."forum/forum_admin.php";
|
|
$var[0]['total'] = $forum_posts;
|
|
|
|
return $var;
|
|
}
|
|
}
|
|
?>
|