Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- CModule::IncludeModule("fileman");/* подключаем модуль */
- $LHE = new CLightHTMLEditor;
- $LHE->Show(array(
- 'id' => preg_replace("/[^a-z0-9]/i", '', "PROPERTY[".$propertyID."][0]"),/* id поля */
- /* размеры поля */
- 'width' => '100%',
- 'height' => '200px',
- 'inputName' => "text_send",/* имя поля */
- 'content' => $_POST['text_send'],/* текст в поле по-умолчанию */
- 'bUseFileDialogs' => false,
- 'bFloatingToolbar' => false,
- 'bArisingToolbar' => false,
- 'toolbarConfig' => array(/* кнопки редактирования */
- 'Bold', 'Italic', 'Underline', 'RemoveFormat', 'Code', 'Source', 'Video', 'Html',
- 'CreateLink', 'DeleteLink', 'Image', 'Video',
- 'BackColor', 'ForeColor',
- 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyFull',
- 'InsertOrderedList', 'InsertUnorderedList', 'Outdent', 'Indent',
- 'StyleList', 'HeaderList',
- 'FontList', 'FontSizeList',
- ),
- ));
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement