diff --git a/code/SifrPage.php b/code/SifrPage.php index 1c945aa..4e23cbb 100644 --- a/code/SifrPage.php +++ b/code/SifrPage.php @@ -1,6 +1,13 @@ addFieldToTab("Root.Content.SifrSampleImage", new LiteralField("SifrSampleImage", '

')); + + return $fields; + } + } class SifrPage_Controller extends Page_Controller { @@ -8,10 +15,10 @@ class SifrPage_Controller extends Page_Controller { function init() { parent::init(); - Sifr::add_font('chunkfive', 'themes/fonts/chunkfive.swf'); - Sifr::replace_element('chunkfive', 'h2', "'.sIFR-root { text-align: left; color: red;'"); - Sifr::replace_element('chunkfive', 'h3', "'.sIFR-root { text-align: left; color: red;'"); - Sifr::replace_element('chunkfive', 'h4', "'.sIFR-root { text-align: left; color: red;'"); + Sifr::add_font('blackout', 'themes/fonts/blackout.swf'); + Sifr::replace_element('blackout', 'h2', "'.sIFR-root { text-align: left; color: red;'"); + Sifr::replace_element('blackout', 'h3', "'.sIFR-root { text-align: left; color: red;'"); + Sifr::replace_element('blackout', 'h4', "'.sIFR-root { text-align: left; color: red;'"); Sifr::activate_sifr(); } } \ No newline at end of file