mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
MINOR: subsequent commit to the last revision
This commit is contained in:
parent
1c4e11274a
commit
db625dbf2f
17
code/SifrPage.php
Normal file
17
code/SifrPage.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?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();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user