mirror of
https://github.com/e107inc/e107.git
synced 2025-02-24 08:42:56 +01:00
53 lines
3.2 KiB
PHP
53 lines
3.2 KiB
PHP
<?php
|
|
/*
|
|
* e107 website system
|
|
*
|
|
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
|
* Released under the terms and conditions of the
|
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
|
*
|
|
*
|
|
*
|
|
* $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/help/fileinspector.php,v $
|
|
* $Revision$
|
|
* $Date$
|
|
* $Author$
|
|
*/
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
/*
|
|
|
|
$text = "<div style='margin-left: 0px; margin-bottom: 1px; margin-top: 2px; vertical-align: top; white-space: nowrap'>
|
|
<img src='".e_IMAGE."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."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."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."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."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."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."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."fileinspector/file_unknown.png' alt='".$dir."' style='margin-left: 3px; width: 16px; height: 16px' /> Non Core File</div>";
|
|
$ns -> tablerender("File Key", $text);*/
|
|
|
|
$text = "File Inspector scans and analyses the files on your sites server. When File 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);
|