From b1a5522c07bfbf902446611fd9a2a63fd3c9f021 Mon Sep 17 00:00:00 2001 From: sweetas Date: Thu, 7 Dec 2006 16:18:51 +0000 Subject: [PATCH] new image pack system file inspector and file manager images updated --- e107_admin/fileinspector.php | 64 +++++++++---------- e107_admin/filemanager.php | 8 +-- e107_admin/header.php | 12 ++-- .../English/admin/help/fileinspector.php | 24 +++---- 4 files changed, 55 insertions(+), 53 deletions(-) diff --git a/e107_admin/fileinspector.php b/e107_admin/fileinspector.php index 0020331d2..235bd8512 100644 --- a/e107_admin/fileinspector.php +++ b/e107_admin/fileinspector.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/fileinspector.php,v $ -| $Revision: 1.1.1.1 $ -| $Date: 2006-12-02 04:33:21 $ -| $Author: mcfly_e107 $ +| $Revision: 1.2 $ +| $Date: 2006-12-07 16:18:51 $ +| $Author: sweetas $ +----------------------------------------------------------------------------+ */ require_once('../class2.php'); @@ -222,7 +222,7 @@ class file_inspector { } function inspect($list, $deprecated, $level, $dir, &$tree_end, &$parent_expand) { - global $coredir; + global $coredir, $imode; unset ($childOut); $parent_expand = false; if (substr($dir, -1) == '/') { @@ -407,10 +407,10 @@ class file_inspector { } $dir_icon = $dir_icon ? $dir_icon : 'folder.png'; - $icon = ""; + $icon = ""; $hide = ($last_expand && $dir_icon != 'folder_core.png') ? "" : "style='display: none'"; $text = "
"; - $text .= $tree_end ? "" : ""; + $text .= $tree_end ? "" : ""; $text .= " ".$icon." ".$directory.""; $text .= $tree_end ? "" : "
".$sub_text."
"; $text .= "
"; @@ -421,7 +421,7 @@ class file_inspector { } function scan_results() { - global $ns, $rs, $core_image, $deprecated_image; + global $ns, $rs, $core_image, $deprecated_image, $imode; $scan_text = $this -> inspect($core_image, $deprecated_image, 0, $this -> root_dir); if ($_POST['type'] == 'tree') { @@ -455,39 +455,39 @@ class file_inspector { if ($_POST['type'] == 'tree') { $text .= " -  ".FR_LAN_3." +  ".FR_LAN_3." root_dir))."')\"> - "; + "; } else { $text .= " -  ".FR_LAN_3." +  ".FR_LAN_3." "; } if ($_POST['core'] != 'none') { - $text .= " ".FR_LAN_4.": ".($this -> count['core']['num'] ? $this -> count['core']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['core']['size'], 2).""; + $text .= " ".FR_LAN_4.": ".($this -> count['core']['num'] ? $this -> count['core']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['core']['size'], 2).""; } if ($_POST['missing']) { - $text .= " ".FR_LAN_22.": ".($this -> count['missing']['num'] ? $this -> count['missing']['num'] : FR_LAN_21)." "; + $text .= " ".FR_LAN_22.": ".($this -> count['missing']['num'] ? $this -> count['missing']['num'] : FR_LAN_21)." "; } if ($_POST['noncore']) { - $text .= " ".FR_LAN_5.": ".($this -> count['unknown']['num'] ? $this -> count['unknown']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['unknown']['size'], 2).""; + $text .= " ".FR_LAN_5.": ".($this -> count['unknown']['num'] ? $this -> count['unknown']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['unknown']['size'], 2).""; } if ($_POST['oldcore']) { - $text .= " ".FR_LAN_24.": ".($this -> count['deprecated']['num'] ? $this -> count['deprecated']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['deprecated']['size'], 2).""; + $text .= " ".FR_LAN_24.": ".($this -> count['deprecated']['num'] ? $this -> count['deprecated']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['deprecated']['size'], 2).""; } if ($_POST['core'] == 'all') { - $text .= " ".FR_LAN_6.": ".($this -> count['core']['num'] + $this -> count['unknown']['num'] + $this -> count['deprecated']['num'])." ".$this -> parsesize($this -> count['core']['size'] + $this -> count['unknown']['size'] + $this -> count['deprecated']['size'], 2).""; + $text .= " ".FR_LAN_6.": ".($this -> count['core']['num'] + $this -> count['unknown']['num'] + $this -> count['deprecated']['num'])." ".$this -> parsesize($this -> count['core']['size'] + $this -> count['unknown']['size'] + $this -> count['deprecated']['size'], 2).""; } if ($this -> count['warning']['num']) { $text .= " "; $text .= " -  ".FR_LAN_26.""; +  ".FR_LAN_26.""; - $text .= " ".FR_LAN_28.": ".($this -> count['warning']['num'] ? $this -> count['warning']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['warning']['size'], 2).""; + $text .= " ".FR_LAN_28.": ".($this -> count['warning']['num'] ? $this -> count['warning']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['warning']['size'], 2).""; - $text .= " ".FR_LAN_27.""; + $text .= " ".FR_LAN_27.""; } if ($_POST['integrity'] && $_POST['core'] != 'none') { @@ -495,15 +495,15 @@ class file_inspector { $integrity_text = $this -> count['fail']['num'] ? '( '.$this -> count['fail']['num'].' '.FR_LAN_19.' )' : '( '.FR_LAN_20.' )'; $text .= " "; $text .= " -  ".FR_LAN_7." ".$integrity_text.""; +  ".FR_LAN_7." ".$integrity_text.""; - $text .= " ".FR_LAN_8.": ".($this -> count['pass']['num'] ? $this -> count['pass']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['pass']['size'], 2).""; - $text .= " ".FR_LAN_9.": ".($this -> count['fail']['num'] ? $this -> count['fail']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['fail']['size'], 2).""; - $text .= " ".FR_LAN_25.": ".($this -> count['uncalculable']['num'] ? $this -> count['uncalculable']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['uncalculable']['size'], 2).""; + $text .= " ".FR_LAN_8.": ".($this -> count['pass']['num'] ? $this -> count['pass']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['pass']['size'], 2).""; + $text .= " ".FR_LAN_9.": ".($this -> count['fail']['num'] ? $this -> count['fail']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['fail']['size'], 2).""; + $text .= " ".FR_LAN_25.": ".($this -> count['uncalculable']['num'] ? $this -> count['uncalculable']['num'] : FR_LAN_21)." ".$this -> parsesize($this -> count['uncalculable']['size'], 2).""; $text .= " "; - $text .= " ".FR_LAN_10.": "; + $text .= " ".FR_LAN_10.": "; $text .= "