• File: BlockBrowseManager.php
  • Full Path: /home/atelipy/www/wpmain/wp-content/plugins/smart-slider-3/Nextend/Framework/Browse/Block/BrowseManager/BlockBrowseManager.php
  • File size: 459 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php


namespace Nextend\Framework\Browse\Block\BrowseManager;


use Nextend\Framework\Asset\Js\Js;
use Nextend\Framework\View\AbstractBlock;
use Nextend\SmartSlider3\Application\Admin\TraitAdminUrl;

class BlockBrowseManager extends AbstractBlock {

    use TraitAdminUrl;

    public function display() {

        Js::addFirstCode("new _N2.NextendBrowse('" . $this->getAjaxUrlBrowse() . "', " . (defined('N2_IMAGE_UPLOAD_DISABLE') ? 0 : 1) . ");");
    }
}