1<?php 2/* 3 * e107 website system 4 * 5 * Copyright (C) 2008-2009 e107 Inc (e107.org) 6 * Released under the terms and conditions of the 7 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) 8 * 9 * 10 * 11 * $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/help/admin_log.php,v $ 12 * $Revision$ 13 * $Date$ 14 * $Author$ 15 */ 16 17if (!defined('e107_INIT')) { exit; } 18 19$caption = "System Logs Help"; 20if (e_QUERY) list($action,$junk) = explode('.',e_QUERY); else $action = 'list'; 21 22function common_filters() 23{ 24 $ret = "<b>Data filters</b><br /> 25 You can specify various filters which restrict the amount of data to view. These are retained in a cookie until you log off.<br /> 26 The start and end date/time filters have to be enabled through their respective checkboxes.<br /> 27 Other filters are active when there is a value in the box.<br /> 28 "; 29 return $ret; 30} 31 32 33switch ($action) 34{ 35case 'auditlog' : 36 $text = "This page displays that user activity which you have chosen to log.<br /><br />"; 37 $text .= common_filters(); 38 break; 39case 'config' : 40 $text = "This page configures various options for the system logs.<br /><br /> 41 <b>Common Settings</b><br /> 42 Sets the number of lines on the log display.<br /><br /> 43 <b>Admin Log</b><br /> 44 This log retains events until specifically deleted; use this option to delete old events.<br /><br /> 45 <b>User Audit Log</b><br /> 46 This log tracks user activity. For registered users, only those in the specified class are tracked - you can either make this 'Members' to track 47 everyone, or create a specific user class for logging. You then determine the types of activity which you wish to log.<br /> 48 Registration events may be tracked separately.<br /><br /> 49 <b>Rolling Log</b><br /> 50 This log is used to track abnormal events, assist with debugging etc. It can be disabled. Events are automatically removed after the set number of days. 51 "; 52 break; 53case 'rolllog' : 54 $text = "The rolling log displays various abnormal events which are not otherwise logged. It may also be used for code debugging and monitoring.<br /><br />"; 55 $text .= common_filters(); 56 break; 57case 'downlog' : 58 $text = "This page displays user downloads.<br /><br />"; 59 $text .= common_filters(); 60 break; 61case 'comments' : 62 $text = "This page displays user comments, with options to select by user ID, type and date. Unwanted comments can be deleted."; 63 break; 64case 'detailed' : 65 $text = "The main system logs record time to a high degree of precision (if the underlying server supports it), and this page allows you to inspect entries 66 occuring within a relatively small time window. Entries from the admin log, audit log and rolling log are merged, so that you can see the precise 67 relationships between events."; 68 break; 69case 'adminlog' : 70default : 71 $text = "This page displays administrator activity.<br /><br /> 72 (At present, logging is still being added to the code, so the list is not complete.)<br /><br />"; 73 $text .= common_filters(); 74} 75$ns -> tablerender($caption, $text); 76