mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Notice removal, general tidy
This commit is contained in:
@@ -6,27 +6,37 @@
|
|||||||
* Released under the terms and conditions of the
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
|
* Stats logging plugin - admin functions
|
||||||
*
|
*
|
||||||
*
|
* $URL$
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/log/admin_config.php,v $
|
* $Id$
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once("../../class2.php");
|
/**
|
||||||
if (!getperms("P") || !plugInstalled('log'))
|
* e107 Stats logging plugin
|
||||||
|
*
|
||||||
|
* @package e107_plugins
|
||||||
|
* @subpackage log
|
||||||
|
* @version $Id$;
|
||||||
|
*
|
||||||
|
* @todo Change log directory to use new system log directory
|
||||||
|
*/
|
||||||
|
|
||||||
|
require_once('../../class2.php');
|
||||||
|
if (!getperms('P') || !e107::isInstalled('log'))
|
||||||
{
|
{
|
||||||
header("Location: ".e_BASE."index.php");
|
header('Location: '.e_BASE.'index.php');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once(e_ADMIN."auth.php");
|
|
||||||
require_once(e_HANDLER."userclass_class.php");
|
require_once(e_ADMIN.'auth.php');
|
||||||
|
require_once(e_HANDLER.'userclass_class.php');
|
||||||
|
|
||||||
|
|
||||||
define('LOGPATH', e_PLUGIN.'log/');
|
define('LOGPATH', e_PLUGIN.'log/');
|
||||||
|
|
||||||
include_lan(LOGPATH.'languages/'.e_LANGUAGE.'_admin_log.php');
|
include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE.'_admin_log.php');
|
||||||
|
|
||||||
if (e_QUERY)
|
if (e_QUERY)
|
||||||
{
|
{
|
||||||
|
@@ -2,37 +2,43 @@
|
|||||||
/*
|
/*
|
||||||
* e107 website system
|
* e107 website system
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
* Copyright (C) 2008-2010 e107 Inc (e107.org)
|
||||||
* Released under the terms and conditions of the
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
|
* Stats logging plugin - admin help text
|
||||||
*
|
*
|
||||||
|
* $URL$
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* e107 Stats logging plugin
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/log/e_help.php,v $
|
* @package e107_plugins
|
||||||
* $Revision$
|
* @subpackage log
|
||||||
* $Date$
|
* @version $Id$;
|
||||||
* $Author$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
define("LOGPATH", e_PLUGIN."log/");
|
include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE."_log_help.php");
|
||||||
include_lan(LOGPATH."languages/".e_LANGUAGE."_log_help.php");
|
|
||||||
|
|
||||||
if (e_QUERY) list($action,$junk) = explode('.',e_QUERY); else $action = 'list';
|
if (e_QUERY) list($action,$junk) = explode('.',e_QUERY); else $action = 'list';
|
||||||
|
|
||||||
switch ($action)
|
switch ($action)
|
||||||
{
|
{
|
||||||
case 'export' :
|
case 'export' :
|
||||||
$text = LAN_STAT_HELP_04;
|
$text = LAN_STAT_HELP_04;
|
||||||
break;
|
break;
|
||||||
case 'rempage' :
|
case 'rempage' :
|
||||||
$text = LAN_STAT_HELP_03;
|
$text = LAN_STAT_HELP_03;
|
||||||
break;
|
break;
|
||||||
case 'history' :
|
case 'history' :
|
||||||
$text = LAN_STAT_HELP_02;
|
$text = LAN_STAT_HELP_02;
|
||||||
break;
|
break;
|
||||||
default :
|
default :
|
||||||
$text = LAN_STAT_HELP_05;
|
$text = LAN_STAT_HELP_05;
|
||||||
}
|
}
|
||||||
$ns -> tablerender(LAN_STAT_HELP_01, $text);
|
$ns -> tablerender(LAN_STAT_HELP_01, $text);
|
||||||
|
Reference in New Issue
Block a user