mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Notice removal, general tidy
This commit is contained in:
@@ -6,27 +6,37 @@
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* Stats logging plugin - admin functions
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/log/admin_config.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
* $URL$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
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/');
|
||||
|
||||
include_lan(LOGPATH.'languages/'.e_LANGUAGE.'_admin_log.php');
|
||||
include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE.'_admin_log.php');
|
||||
|
||||
if (e_QUERY)
|
||||
{
|
||||
|
@@ -2,37 +2,43 @@
|
||||
/*
|
||||
* 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
|
||||
* 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 $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
* @package e107_plugins
|
||||
* @subpackage log
|
||||
* @version $Id$;
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
define("LOGPATH", e_PLUGIN."log/");
|
||||
include_lan(LOGPATH."languages/".e_LANGUAGE."_log_help.php");
|
||||
include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE."_log_help.php");
|
||||
|
||||
if (e_QUERY) list($action,$junk) = explode('.',e_QUERY); else $action = 'list';
|
||||
|
||||
switch ($action)
|
||||
{
|
||||
case 'export' :
|
||||
case 'export' :
|
||||
$text = LAN_STAT_HELP_04;
|
||||
break;
|
||||
case 'rempage' :
|
||||
case 'rempage' :
|
||||
$text = LAN_STAT_HELP_03;
|
||||
break;
|
||||
case 'history' :
|
||||
case 'history' :
|
||||
$text = LAN_STAT_HELP_02;
|
||||
break;
|
||||
default :
|
||||
default :
|
||||
$text = LAN_STAT_HELP_05;
|
||||
}
|
||||
$ns -> tablerender(LAN_STAT_HELP_01, $text);
|
||||
|
Reference in New Issue
Block a user