From 053cf790a93e9cfb521f484901d79c72783f868f Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Tue, 23 Nov 2010 16:09:09 +0100 Subject: [ticket/9924] Pass template instance into $template->display hook PHPBB3-9924 --- phpBB/docs/hook_system.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/docs/hook_system.html') diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index 1bf4630a9f..34055c4661 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -380,6 +380,8 @@ a:active { color: #368AD2; } $template->display($handle, $include_once = true); which is called directly before outputting the (not-yet-compiled) template.
exit_handler(); which is called at the very end of phpBB3's execution.

+

Please note: The $template->display hook takes a third $template argument, which is the template instance being used, which should be used instead of the global.

+

There are also valid external constants you may want to use if you embed phpBB3 into your application:

-- 
cgit v1.2.1


From 180e97abdccf0ebb0075b46f1edfdc8a48e92676 Mon Sep 17 00:00:00 2001
From: Andreas Fischer 
Date: Sun, 16 Jan 2011 17:51:12 +0100
Subject: [ticket/9859] Remove the year from the copyright meta tag in
 docs/*.html

PHPBB3-9859
---
 phpBB/docs/hook_system.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'phpBB/docs/hook_system.html')

diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html
index 34055c4661..fd4096c9fc 100644
--- a/phpBB/docs/hook_system.html
+++ b/phpBB/docs/hook_system.html
@@ -8,7 +8,7 @@
 
 
 
-
+
 
 
 phpBB3 • Hook System
-- 
cgit v1.2.1


From 60eff4e59a529e389c03c54085530dce5fbd99db Mon Sep 17 00:00:00 2001
From: Andreas Fischer 
Date: Sun, 16 Jan 2011 17:52:36 +0100
Subject: [ticket/9859] Remove the years from the copyright statements in docs
 files.

PHPBB3-9859
---
 phpBB/docs/hook_system.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'phpBB/docs/hook_system.html')

diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html
index fd4096c9fc..a5fad0d530 100644
--- a/phpBB/docs/hook_system.html
+++ b/phpBB/docs/hook_system.html
@@ -867,7 +867,7 @@ function phpbb_hook_register(&$hook)
 
 		
-

This application is opensource software released under the GPL. Please see source code and the docs directory for more details. This package and its contents are Copyright (c) 2000, 2002, 2005, 2007 phpBB Group, All Rights Reserved.

+

This application is opensource software released under the GPL. Please see source code and the docs directory for more details. This package and its contents are Copyright (c) phpBB Group, All Rights Reserved.

-- cgit v1.2.1