1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-24 16:52:43 +01:00

57 lines
3.6 KiB
PHP
Raw Normal View History

2007-06-21 19:39:07 +00:00
<?php
2006-12-02 04:36:16 +00:00
/*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| <EFBFBD>Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/help/fileinspector.php,v $
2007-06-21 19:39:07 +00:00
| $Revision: 1.5 $
| $Date: 2007-06-21 19:39:07 $
| $Author: e107steved $
2006-12-02 04:36:16 +00:00
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
global $imode;
2006-12-02 04:36:16 +00:00
$text = "<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
<img src='".e_IMAGE."packs/".$imode."/fileinspector/file_core.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' />&nbsp;Core File</div>
2006-12-02 04:36:16 +00:00
<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
<img src='".e_IMAGE."packs/".$imode."/fileinspector/file_warning.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' />&nbsp;Known Insecurity</div>
2006-12-02 04:36:16 +00:00
<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
<img src='".e_IMAGE."packs/".$imode."/fileinspector/file_check.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' />&nbsp;Core File (Integrity Pass)</div>
2006-12-02 04:36:16 +00:00
<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
<img src='".e_IMAGE."packs/".$imode."/fileinspector/file_fail.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' />&nbsp;Core File (Integrity Fail)</div>
2006-12-02 04:36:16 +00:00
<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
<img src='".e_IMAGE."packs/".$imode."/fileinspector/file_uncalc.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' />&nbsp;Core File (Incalculable)</div>
2006-12-02 04:36:16 +00:00
<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
<img src='".e_IMAGE."packs/".$imode."/fileinspector/file_missing.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' />&nbsp;Missing Core File</div>
2006-12-02 04:36:16 +00:00
<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
<img src='".e_IMAGE."packs/".$imode."/fileinspector/file_old.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' />&nbsp;Old Core File</div>
2006-12-02 04:36:16 +00:00
<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
<img src='".e_IMAGE."packs/".$imode."/fileinspector/file_unknown.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' />&nbsp;Non Core File</div>";
2006-12-02 04:36:16 +00:00
$ns -> tablerender("File Key", $text);
2007-03-19 17:03:14 +00:00
$text = "The file inspector scans and analyses the files on your sites server. When the inspector encounters
2006-12-02 04:36:16 +00:00
an e107 core file, it checks it for file consistency to make sure it isn't corrupted.";
$text .= "<br /><br />
<a href='".e_SELF."?create'>Click here to create a snapshot of your own plugins files for use in file inspector.</a>";
2006-12-02 04:36:16 +00:00
if ($pref['developer']) {
$text .= "<br /><br />
2007-03-19 17:03:14 +00:00
The additional string matching tool (developer mode only) enables you to scan the files on your server for text strings
using regular expressions. The regex engine in use is PHP's <a href='http://php.net/pcre'>PCRE</a>
2006-12-02 04:36:16 +00:00
(the preg_* functions), so enter your query as #pattern#modifiers in the fields provided.";
}
$ns -> tablerender("File Inspector Help", $text);
?>