| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/ict/wp-content/plugins/smart-slider-3/Nextend/Framework/Form/Element/Text/ |
Upload File : |
<?php
namespace Nextend\Framework\Form\Element\Text;
use Nextend\Framework\Asset\Js\Js;
use Nextend\Framework\Browse\BrowseManager;
use Nextend\Framework\Form\Element\Text;
use Nextend\Framework\Image\Image;
use Nextend\Framework\View\Html;
class Folder extends Text {
protected $width = 300;
protected function addScript() {
BrowseManager::enqueue($this->getForm());
Image::initLightbox();
Js::addInline("new _N2.FormElementFolders('" . $this->fieldID . "' );");
}
protected function post() {
$html = Html::tag('a', array(
'href' => '#',
'class' => 'n2_field_text__clear',
'tabindex' => -1
), Html::tag('i', array('class' => 'ssi_16 ssi_16--circularremove'), ''));
$html .= Html::tag('a', array(
'href' => '#',
'class' => 'n2_field_text__choose',
'aria-label' => n2_('Choose')
), '<i class="ssi_16 ssi_16--plus"></i>');
return $html;
}
public function setWidth($width) {
$this->width = $width;
}
}