From 352d3083395c5afb0523a69c087f55a3b2b57a69 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 01:21:28 +0000 Subject: [PATCH] MINOR Documentation (from r105005) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112426 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/SSViewer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/SSViewer.php b/core/SSViewer.php index 8e73515e7..c0210d6f7 100755 --- a/core/SSViewer.php +++ b/core/SSViewer.php @@ -381,7 +381,8 @@ class SSViewer { echo ""; } - + // Makes the rendered sub-templates available on the parent item, + // through $Content and $Layout placeholders. foreach(array('Content', 'Layout') as $subtemplate) { if(isset($this->chosenTemplates[$subtemplate])) { $subtemplateViewer = new SSViewer($this->chosenTemplates[$subtemplate]);