diff --git a/e107_plugins/calendar_menu/calendar_menu.php b/e107_plugins/calendar_menu/calendar_menu.php index e7159520f..238150d02 100644 --- a/e107_plugins/calendar_menu/calendar_menu.php +++ b/e107_plugins/calendar_menu/calendar_menu.php @@ -9,8 +9,8 @@ * Forthcoming events menu handler for event calendar * * $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/calendar_menu.php,v $ - * $Revision: 1.10 $ - * $Date: 2010-01-04 22:36:27 $ + * $Revision: 1.11 $ + * $Date: 2010-01-09 12:44:11 $ * $Author: e107steved $ */ @@ -19,7 +19,7 @@ * * @package e107_plugins * @subpackage event_calendar - * @version $Id: calendar_menu.php,v 1.10 2010-01-04 22:36:27 e107steved Exp $; + * @version $Id: calendar_menu.php,v 1.11 2010-01-09 12:44:11 e107steved Exp $; */ if (!defined('e107_INIT')) { exit; } @@ -192,7 +192,7 @@ for($cal_c = 1; $cal_c <= $numberdays; $cal_c++) } } } - $cal_text .= $CALENDAR_MENU_DAY_START[$cal_css]."{$cal_img}"; + $cal_text .= $CALENDAR_MENU_DAY_START[$cal_css]."{$cal_img}"; $cal_text .= $CALENDAR_MENU_DAY_END[$cal_css]; $cal_loop++; if ($cal_loop == 7) diff --git a/e107_plugins/log/stats.php b/e107_plugins/log/stats.php index 8fb2fd659..043b5b6e6 100644 --- a/e107_plugins/log/stats.php +++ b/e107_plugins/log/stats.php @@ -9,21 +9,29 @@ * * * $Source: /cvs_backup/e107_0.8/e107_plugins/log/stats.php,v $ - * $Revision: 1.14 $ - * $Date: 2009-11-18 01:05:47 $ - * $Author: e107coders $ + * $Revision: 1.15 $ + * $Date: 2010-01-09 12:44:11 $ + * $Author: e107steved $ */ -require_once("../../class2.php"); -if (!plugInstalled('log')) +/** + * e107 Stats logging plugin + * + * @package e107_plugins + * @subpackage log + * @version $Id: stats.php,v 1.15 2010-01-09 12:44:11 e107steved Exp $; + */ + +require_once('../../class2.php'); +if (!e107::isInstalled('log')) { - header("Location: ".e_BASE."index.php"); + header('Location: '.e_BASE.'index.php'); exit; } -include_lan(e_PLUGIN."log/languages/".e_LANGUAGE.".php"); +include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE.'.php'); -$bar = (file_exists(THEME."images/bar.png") ? THEME."images/bar.png" : e_IMAGE."generic/bar.png"); +$bar = (file_exists(THEME.'images/bar.png') ? THEME_ABS.'images/bar.png' : e_IMAGE_ABS.'generic/bar.png'); $eplug_css[] = "