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 Upload extends AbstractField { protected $class = 'n2-form-element-file '; protected function fetchElement() { $html = ''; $html .= '<div class="n2_field_chooser__label"></div>'; $html .= Html::tag('a', array( 'href' => '#', 'class' => 'n2_field_chooser__choose' ), '<i class="ssi_16 ssi_16--plus"></i>'); $html .= Html::tag('input', array( 'type' => 'file', 'id' => $this->fieldID, 'name' => $this->getFieldName(), 'value' => $this->getValue(), 'autocomplete' => 'off' ), false, false); Js::addInline('new _N2.FormElementUpload("' . $this->fieldID . '");'); return Html::tag('div', array( 'class' => 'n2_field_chooser n2_field_upload ' ), $html); } }
[-] 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]