From 766537035ea2f04c5aa3c59c15edc15f4ecd050f Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sat, 9 Jul 2011 15:28:33 +0200 Subject: [ticket/10258] Change the DOCTYPE to HTML5 PHPBB3-10258 --- phpBB/docs/hook_system.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'phpBB/docs/hook_system.html') diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index a5fad0d530..5cce659a82 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -1,10 +1,8 @@ - - + + - - - - + + -- cgit v1.2.1 From c58b09e65d428b53d2e69abf00c5847829f18fc7 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 10 Jul 2011 01:05:54 +0200 Subject: [feature/template-engine] Remove $include_once argument of display() PHPBB3-9726 --- phpBB/docs/hook_system.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/docs/hook_system.html') diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index a5fad0d530..16774087ac 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -377,10 +377,10 @@ a:active { color: #368AD2; }

phpbb_user_session_handler(); which is called within user::setup after the session and the user object is correctly initialized.
append_sid($url, $params = false, $is_amp = true, $session_id = false); which is called for building urls (appending the session id)
-$template->display($handle, $include_once = true); which is called directly before outputting the (not-yet-compiled) template.
+$template->display($handle, $template); 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.

+

Please note: The $template->display hook takes a $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 854c14f9f6ae78318e159e27724178579ff48dcc Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 10 Jul 2011 23:04:14 +0200 Subject: [ticket/10258] Remove X-UA-Compatible and imagetoolbar meta tags These meta tags are IE specific and do not validate as HTML5. PHPBB3-10258 --- phpBB/docs/hook_system.html | 2 -- 1 file changed, 2 deletions(-) (limited to 'phpBB/docs/hook_system.html') diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index 5cce659a82..db190bf965 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -2,8 +2,6 @@ - - -- cgit v1.2.1 From 70a904335f63a7b7d16164aadd48f33cad9ab4f0 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 10 Jul 2011 23:13:25 +0200 Subject: [ticket/10258] Remove resource-type and distribution meta tags They break HTML5 validation. PHPBB3-10258 --- phpBB/docs/hook_system.html | 2 -- 1 file changed, 2 deletions(-) (limited to 'phpBB/docs/hook_system.html') diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index db190bf965..a806896bd3 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -2,8 +2,6 @@ - - -- cgit v1.2.1 From f5947439b21353d9cda357fa41292cc95f390eab Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Mon, 11 Jul 2011 00:27:10 +0200 Subject: [ticket/10258] Remove copyright meta tag from docs It fails HTML5 validation and we already have a 'copyright and disclaimer' section in all of those documents. We can always represent the copyright more semantically later (such as the HTML5 tag). PHPBB3-10258 --- phpBB/docs/hook_system.html | 1 - 1 file changed, 1 deletion(-) (limited to 'phpBB/docs/hook_system.html') diff --git a/phpBB/docs/hook_system.html b/phpBB/docs/hook_system.html index a806896bd3..82dc44a082 100644 --- a/phpBB/docs/hook_system.html +++ b/phpBB/docs/hook_system.html @@ -2,7 +2,6 @@ - phpBB3 • Hook System -- cgit v1.2.1