diff --git a/e107_plugins/log/languages/English.php b/e107_plugins/log/languages/English.php index b141b6ff3..00744aeb8 100644 --- a/e107_plugins/log/languages/English.php +++ b/e107_plugins/log/languages/English.php @@ -56,7 +56,7 @@ define("ADSTAT_L37", "Visits by month"); define("ADSTAT_L38", "Unique visits by month"); define("ADSTAT_L39", "remove this entry"); define("ADSTAT_L40", "days"); -define("ADSTAT_L41", "Error"); +//define("ADSTAT_L41", "Error"); // FIXME GENERIC define("ADSTAT_L42", "No monthly stats yet."); define("ADSTAT_L43", "Today's page errors"); diff --git a/e107_plugins/log/stats.php b/e107_plugins/log/stats.php index f34b5577e..184f3e88e 100644 --- a/e107_plugins/log/stats.php +++ b/e107_plugins/log/stats.php @@ -2,22 +2,12 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2013 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * - * - * $Id$ */ -/** - * e107 Stats logging plugin - * - * @package e107_plugins - * @subpackage log - * @version $Id$; - */ require_once('../../class2.php'); if (!e107::isInstalled('log')) @@ -29,20 +19,19 @@ if (!e107::isInstalled('log')) include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE.'.php'); $bar = (file_exists(THEME.'images/bar.png') ? THEME_ABS.'images/bar.png' : e_IMAGE_ABS.'generic/bar.png'); +$mes = e107::getMessage(); e107::css('inline', " /* Site Stats */ .b { background-image: url('".$bar."'); border: 1px solid #999; height: 10px; font-size: 0px } "); - - require_once(HEADERF); if(!check_class(e107::getPref('statUserclass'))) { - $text = "