ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF x x ?? C ?? C ?à " ?? ?? μ } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú?? ?? μ w !1AQ aq"2?B‘?±á #3Rebr?{
File "BlockImageManager.php"
Full Path: /home/zcziejy/ryadselyen/Nextend/Framework/Image/Block/ImageManager/BlockImageManager.php
File size: 1.48 KB
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Nextend\Framework\Image\Block\ImageManager;
use Nextend\Framework\Asset\Js\Js;
use Nextend\Framework\Image\ImageManager;
use Nextend\Framework\Image\ModelImage;
use Nextend\Framework\Visual\AbstractBlockVisual;
use Nextend\SmartSlider3\Application\Admin\Layout\Block\Forms\Button\BlockButtonApply;
use Nextend\SmartSlider3\Application\Admin\Layout\Block\Forms\Button\BlockButtonCancel;
use Nextend\SmartSlider3\Application\Admin\TraitAdminUrl;
class BlockImageManager extends AbstractBlockVisual {
use TraitAdminUrl;
/** @var ModelImage */
protected $model;
/**
* @return ModelImage
*/
public function getModel() {
return $this->model;
}
public function display() {
$this->model = new ModelImage($this);
$this->renderTemplatePart('Index');
}
public function displayTopBar() {
$buttonCancel = new BlockButtonCancel($this);
$buttonCancel->addClass('n2_fullscreen_editor__cancel');
$buttonCancel->display();
$buttonApply = new BlockButtonApply($this);
$buttonApply->addClass('n2_fullscreen_editor__save');
$buttonApply->display();
}
public function displayContent() {
Js::addFirstCode("
new _N2.NextendImageManager({
visuals: " . json_encode(ImageManager::$loaded) . ",
ajaxUrl: '" . $this->getAjaxUrlImage() . "'
});
");
$this->getModel()
->renderForm();
}
}