mirror of
https://github.com/e107inc/e107.git
synced 2025-02-23 16:23:35 +01:00
57 lines
3.6 KiB
PHP
57 lines
3.6 KiB
PHP
<?php
|
|
/*
|
|
+ ----------------------------------------------------------------------------+
|
|
| e107 website system
|
|
|
|
|
| ©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 $
|
|
| $Revision: 1.4 $
|
|
| $Date: 2007-03-19 17:27:38 $
|
|
| $Author: sweetas $
|
|
+----------------------------------------------------------------------------+
|
|
*/
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
global $imode;
|
|
|
|
$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' /> Core File</div>
|
|
<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' /> Known Insecurity</div>
|
|
<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' /> Core File (Integrity Pass)</div>
|
|
<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' /> Core File (Integrity Fail)</div>
|
|
<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' /> Core File (Incalculable)</div>
|
|
<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' /> Missing Core File</div>
|
|
<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' /> Old Core File</div>
|
|
<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' /> Non Core File</div>";
|
|
$ns -> tablerender("File Key", $text);
|
|
|
|
$text = "The file inspector scans and analyses the files on your sites server. When the inspector encounters
|
|
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>";
|
|
|
|
if ($pref['developer']) {
|
|
$text .= "<br /><br />
|
|
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>
|
|
(the preg_* functions), so enter your query as #pattern#modifiers in the fields provided.";
|
|
}
|
|
|
|
$ns -> tablerender("File Inspector Help", $text);
|
|
?>
|