mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
17 lines
502 B
PHP
17 lines
502 B
PHP
|
<?php
|
||
|
class SifrPage extends Page {
|
||
|
|
||
|
}
|
||
|
|
||
|
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::activate_sifr();
|
||
|
}
|
||
|
}
|