Used EL code {%template,LoadTemplate=foo%} instead of loadTemplate('foo', TRUE);
[mailer.git] / inc / modules / sponsor.php
index 108f1847a9f7d79d4d6c0406b5416bfacb8ca8f3..17e5a57475f6953d1beefe768d542cc126b3c9b5 100644 (file)
@@ -59,17 +59,11 @@ $content['menu'] = addSponsorMenu(getWhat());
 // Generate right-side output
 $content['content'] = addSponsorContent(getWhat());
 
-// Load header template
-$content['header'] = loadTemplate('sponsor_header', true);
-
-// Load footer template
-$content['footer'] = loadTemplate('sponsor_footer', true);
-
 // 'You are here' navigation
-$content['you_are_here'] = addYouAreHereLink('sponsor', getWhat(), true);
+$content['you_are_here'] = addYouAreHereLink('sponsor', getWhat(), TRUE);
 
 // Load main sponsor template
-loadTemplate('sponsor_main', false, $content);
+loadTemplate('sponsor_main', FALSE, $content);
 
 // [EOF]
 ?>