From 994973d8ee97dd3fe88a08d9171fb918b90b0c28 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 10 Jan 2004 12:23:24 +0000 Subject: custom profile fields. Not finished, committed to let us discuss about the next steps -> BartVB git-svn-id: file:///svn/phpbb/trunk@4740 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/template.php') diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 6d06d918cc..07d8a49c17 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -112,13 +112,13 @@ class template // Methods for loading and evaluating the templates - function display($handle) + function display($handle, $include_once = true) { global $user; if ($filename = $this->_tpl_load($handle)) { - include_once($filename); + ($include_once) ? include_once($filename) : include($filename); } else { -- cgit v1.2.1