From e4a77c8f7fe13d3473e4cae2b2e3bdadc045f121 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 9 Oct 2016 22:18:07 +0200 Subject: [PATCH] Added support for embedded objects in box content --- .../files/acp/templates/__boxAddContent.tpl | 25 ++++++++++ .../install/files/lib/data/box/Box.class.php | 13 ++--- .../files/lib/data/box/BoxAction.class.php | 8 ++++ .../lib/data/box/content/BoxContent.class.php | 47 +++++++++++++++++++ 4 files changed, 87 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/__boxAddContent.tpl b/wcfsetup/install/files/acp/templates/__boxAddContent.tpl index c2e60887e5..f9b79b4245 100644 --- a/wcfsetup/install/files/acp/templates/__boxAddContent.tpl +++ b/wcfsetup/install/files/acp/templates/__boxAddContent.tpl @@ -1,3 +1,28 @@ + + +{if $boxType == 'html' || $boxType == 'tpl'} + + +{/if} + {if $boxType == 'text'}