1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-13 19:15:19 +01:00

46 lines
971 B
PHP

<?php
/*
* e107 website system
*
* Copyright (C) 2008-2010 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Chatbox plugin - Status
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/e_status.php,v $
* $Revision$
* $Date$
* $Author$
*
*/
/**
* e107 Chatbox plugin
*
* @package e107_plugins
* @subpackage chatbox
* @version $Id$;
*/
if (!defined('e107_INIT')) { exit; }
class chatbox_menu_status // include plugin-folder in the name.
{
function config()
{
$sql = e107::getDb();
$chatbox_posts = $sql -> db_Count('chatbox');
$var[0]['icon'] = "<img src='".e_PLUGIN_ABS."chatbox_menu/images/chatbox_16.png' style='width: 16px; height: 16px; vertical-align: bottom' alt='' /> ";
$var[0]['title'] = ADLAN_115;
$var[0]['url'] = e_PLUGIN."chatbox_menu/admin_chatbox.php";
$var[0]['total'] = $chatbox_posts;
return $var;
}
}
?>