Version: current

     1 <?php
     2
     3 /**
     4  * Âčäćĺň "HTML áëîę"
     5  * Ďîçâîë˙ĺň đŕçěĺńňčňü íŕ ăëŕâíîé ńňđŕíčöĺ áëîę HTML
     6  *
     7  * @package widgets
     8  * @author  menedem
     9  */
    10 class HTMLBlockHomepageWidget extends TextBlockHomepageWidget {
    11     function getCMSFields() {
    12         $fields = parent::getCMSFields();
    13         $fields->replaceField('Text', new TextAreaField('Text', _t('HTMLBlockHomepageWidget.db_Text', 'HTML code'), 30));
    14         return $fields;
    15     }
    16 }
    17

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -