PATH:
home
/
lab2454c
/
incforce.com
/
wp-content
/
plugins
/
smart-slider-3
/
Nextend
/
Framework
/
Form
/
Element
<?php namespace Nextend\Framework\Form\Element; use Nextend\Framework\Asset\Js\Js; use Nextend\Framework\Form\AbstractField; use Nextend\Framework\View\Html; class RichTextarea extends AbstractField { protected $fieldStyle = ''; protected function fetchElement() { Js::addInline('new _N2.FormElementRichText("' . $this->fieldID . '");'); $tools = array( Html::tag('div', array( 'class' => 'n2_field_textarea_rich__button', 'data-action' => 'bold' ), Html::tag('I', array('class' => 'ssi_16 ssi_16--bold'))), Html::tag('div', array( 'class' => 'n2_field_textarea_rich__button', 'data-action' => 'italic' ), Html::tag('I', array('class' => 'ssi_16 ssi_16--italic'))), Html::tag('div', array( 'class' => 'n2_field_textarea_rich__button', 'data-action' => 'link' ), Html::tag('I', array('class' => 'ssi_16 ssi_16--link'))) ); $buttons = Html::tag('div', array( 'class' => 'n2_field_textarea_rich__buttons' ), implode('', $tools)); return Html::tag('div', array( 'class' => 'n2_field_textarea_rich', 'style' => $this->style ), $buttons . Html::tag('textarea', array( 'id' => $this->fieldID, 'name' => $this->getFieldName(), 'autocomplete' => 'off', 'style' => $this->fieldStyle ), $this->getValue())); } /** * @param string $fieldStyle */ public function setFieldStyle($fieldStyle) { $this->fieldStyle = $fieldStyle; } }
[-] Message.php
[edit]
[+]
Button
[-] Tab.php
[edit]
[-] Upload.php
[edit]
[+]
Radio
[-] Devices.php
[edit]
[+]
..
[-] Textarea.php
[edit]
[+]
Select
[-] IconTab.php
[edit]
[-] Grouping.php
[edit]
[-] Decoration.php
[edit]
[-] CheckboxOnOff.php
[edit]
[-] Breakpoint.php
[edit]
[-] MarginPadding.php
[edit]
[+]
Message
[-] Token.php
[edit]
[-] RichTextarea.php
[edit]
[-] Connected.php
[edit]
[-] LayerWindowFocus.php
[edit]
[-] AbstractFieldHidden.php
[edit]
[-] AbstractChooserText.php
[edit]
[+]
MixedField
[-] Unit.php
[edit]
[+]
Textarea
[-] EmptyArea.php
[edit]
[-] MixedField.php
[edit]
[+]
Text
[-] SelectIcon.php
[edit]
[-] Radio.php
[edit]
[-] Text.php
[edit]
[+]
Group
[-] Select.php
[edit]
[-] Hidden.php
[edit]
[-] AbstractChooser.php
[edit]
[-] Style.php
[edit]
[-] Font.php
[edit]
[-] Gap.php
[edit]
[-] OnOff.php
[edit]
[+]
Hidden
[-] Button.php
[edit]