From 86dbae33cc8b43d7832706e61290c19c40d57841 Mon Sep 17 00:00:00 2001
From: Alexander Ebert
Date: Wed, 6 Jan 2016 16:46:29 +0100
Subject: [PATCH] Added support for complex pages
---
com.woltlab.wcf/menu.xml | 10 +--
com.woltlab.wcf/page.xml | 8 +--
com.woltlab.wcf/templates/__menu.tpl | 7 ++-
.../lib/data/DatabaseObjectList.class.php | 2 +-
.../files/lib/data/menu/Menu.class.php | 24 ++++---
.../files/lib/data/menu/MenuCache.class.php | 19 +++++-
.../lib/data/menu/item/MenuItem.class.php | 63 ++++++++++++++++++-
.../lib/data/menu/item/MenuItemList.class.php | 12 +++-
.../data/menu/item/MenuItemNodeTree.class.php | 35 ++++++++---
.../files/lib/data/page/Page.class.php | 3 +-
.../cache/builder/MenuCacheBuilder.class.php | 24 ++++++-
.../BoxPackageInstallationPlugin.class.php | 8 +--
...enuItemPackageInstallationPlugin.class.php | 2 +-
.../MenuPackageInstallationPlugin.class.php | 6 +-
.../PagePackageInstallationPlugin.class.php | 17 ++---
.../AbstractLookupPageHandler.class.php | 9 +--
.../page/handler/ILookupPageHandler.class.php | 8 +++
wcfsetup/setup/db/install.sql | 2 +
18 files changed, 197 insertions(+), 62 deletions(-)
diff --git a/com.woltlab.wcf/menu.xml b/com.woltlab.wcf/menu.xml
index 475d089949..6703ae7d18 100644
--- a/com.woltlab.wcf/menu.xml
+++ b/com.woltlab.wcf/menu.xml
@@ -7,9 +7,9 @@
mainMenu
- mainMenu
- 0
- 1
+ mainMenu
+ 0
+ 1
@@ -19,8 +19,8 @@
footer
- 0
- 1
+ 0
+ 1
diff --git a/com.woltlab.wcf/page.xml b/com.woltlab.wcf/page.xml
index f9e2865624..85995c9c95 100644
--- a/com.woltlab.wcf/page.xml
+++ b/com.woltlab.wcf/page.xml
@@ -67,7 +67,7 @@
Safari
Windows Internet Explorer
]]>
- cookie-policy
+ cookie-policy
@@ -94,7 +94,7 @@
Safari
Windows Internet Explorer
]]>
- cookie-richtlinie
+ cookie-richtlinie
@@ -189,7 +189,7 @@
If you have questions regarding this privacy policy, please contact us.
Source: forum-template.wikidot.com
]]>
- privacy-policy
+ privacy-policy
@@ -280,7 +280,7 @@
http://twitter.com/account/settings ändern.
Quellenangaben: eRecht24, Facebook-Disclaimer von eRecht24, Google +1 Bedingungen, Datenschutzerklärung Twitter
]]>
- datenschutzerklaerung
+ datenschutzerklaerung
diff --git a/com.woltlab.wcf/templates/__menu.tpl b/com.woltlab.wcf/templates/__menu.tpl
index c7c049dcf5..00e028adc1 100644
--- a/com.woltlab.wcf/templates/__menu.tpl
+++ b/com.woltlab.wcf/templates/__menu.tpl
@@ -2,7 +2,12 @@