path.'/'.$this->filename)) { XMLlist::$ignore_subst_file = true; $messages = new XMLlist($this->path.'/'.$this->filename); $messages->analyser(); $this->messages = array(); if(is_array($messages->table)){ $this->messages['source'] = $messages->table; } XMLlist::$ignore_subst_file = false; } } protected function get_display_header_list() { global $msg, $charset; $display = " ".htmlentities($msg['misc_file_code'], ENT_QUOTES, $charset)." ".htmlentities($msg['misc_file_label'], ENT_QUOTES, $charset)." "; return $display; } protected function get_substitution_label($code) { if(isset($this->messages['substitution'][$code])) { return $this->messages['substitution'][$code]; } return ''; } protected function get_display_content_list() { $display = ""; foreach ($this->messages['source'] as $code=> $message) { $display .= " ".$code." ".$this->get_informations_hidden($code)." ".$message." ".$this->get_substituted_icon($code)." "; } return $display; } public function get_display_list() { $display = ""; $display .= $this->get_display_header_list(); if(count($this->messages)) { $display .= $this->get_display_content_list(); } $display .= "
"; return $display; } public function get_default_template() { return ' ]> '; } }