From 634af198c3dc783bfbfc77f6f0b0634be330c1dd Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Fri, 29 Jul 2016 17:05:11 +0000 Subject: [PATCH] Microdata improvements. WIP #580 @3 --- .../views/scripts/common/footer.phtml | 48 +++++++++++++------ 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/framework/application/views/scripts/common/footer.phtml b/framework/application/views/scripts/common/footer.phtml index 1006b6c..2e06d82 100644 --- a/framework/application/views/scripts/common/footer.phtml +++ b/framework/application/views/scripts/common/footer.phtml @@ -2,28 +2,44 @@ $this->headScript()->addScriptAndStyle('102-footer'); +// Microdata note: the whole footer is wrapped in the "Organization" item so that social links can be included +// See final output at bottom for microdata wrapper + $res = ''; // footer.legal -echo '
'; -echo $res; -echo '
'; \ No newline at end of file +// Output footer with Organization microdata wrapper +echo $this->microdata($res, ['class' => 'section fp-auto-height'], 'Organization'); \ No newline at end of file -- 2.39.5