From c2834abfae4ac9bc02cb245d1bdb5bf78802ec26 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 6 Jun 2004 21:44:49 +0000 Subject: - added folder_moved image - new feature: bookmark topics - fixed post details link - added confirmation screen to cookie deletion git-svn-id: file:///svn/phpbb/trunk@4912 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/template.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'phpBB/includes/template.php') diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 831f455f35..6c90b95b1b 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -223,7 +223,7 @@ class template // Try and open template for read if (!($fp = @fopen($this->files[$handle], 'r'))) { - trigger_error("template->_tpl_load(): File " . $this->files[$handle] . " does not exist or is empty", E_USER_ERROR); + trigger_error("template->_tpl_load_file(): File {$this->files[$handle]} does not exist or is empty", E_USER_ERROR); } $this->compiled_code[$handle] = $this->compile(trim(@fread($fp, filesize($this->files[$handle])))); @@ -346,7 +346,6 @@ class template { $this->compile_var_tags($text_blocks[$i]); } - $compile_blocks = array(); for ($curr_tb = 0; $curr_tb < count($text_blocks); $curr_tb++) -- cgit v1.2.1