diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-06 21:44:49 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-06 21:44:49 +0000 |
| commit | c2834abfae4ac9bc02cb245d1bdb5bf78802ec26 (patch) | |
| tree | 6691f2409cd2af03de0ac49b1db42d47cce01704 /phpBB/includes/template.php | |
| parent | b3d98c8ba1b6f21b4a7c412b94ce5cae80cb4a40 (diff) | |
| download | forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.tar forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.tar.gz forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.tar.bz2 forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.tar.xz forums-c2834abfae4ac9bc02cb245d1bdb5bf78802ec26.zip | |
- 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
Diffstat (limited to 'phpBB/includes/template.php')
| -rw-r--r-- | phpBB/includes/template.php | 3 |
1 files changed, 1 insertions, 2 deletions
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++) |
