Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/smart-sl.../Nextend/SmartSli.../Widget/Group
File: Shadow.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Nextend\SmartSlider3\Widget\Group;
[2] Fix | Delete
[3] Fix | Delete
use Nextend\Framework\Form\Container\ContainerTable;
[4] Fix | Delete
use Nextend\Framework\Form\Element\OnOff;
[5] Fix | Delete
use Nextend\Framework\Form\Element\Text;
[6] Fix | Delete
use Nextend\Framework\Pattern\PluggableTrait;
[7] Fix | Delete
use Nextend\SmartSlider3\Form\Element\ControlTypePicker;
[8] Fix | Delete
use Nextend\SmartSlider3\Widget\Shadow\ShadowImage\ShadowImage;
[9] Fix | Delete
[10] Fix | Delete
class Shadow extends AbstractWidgetGroup {
[11] Fix | Delete
[12] Fix | Delete
use PluggableTrait;
[13] Fix | Delete
[14] Fix | Delete
public $ordering = 7;
[15] Fix | Delete
[16] Fix | Delete
public function __construct() {
[17] Fix | Delete
parent::__construct();
[18] Fix | Delete
[19] Fix | Delete
new ShadowImage($this, 'shadow');
[20] Fix | Delete
[21] Fix | Delete
$this->makePluggable('SliderWidgetShadow');
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
public function getName() {
[25] Fix | Delete
return 'shadow';
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
public function getLabel() {
[29] Fix | Delete
return n2_('Shadow');
[30] Fix | Delete
}
[31] Fix | Delete
[32] Fix | Delete
public function renderFields($container) {
[33] Fix | Delete
[34] Fix | Delete
$form = $container->getForm();
[35] Fix | Delete
[36] Fix | Delete
$this->compatibility($form);
[37] Fix | Delete
[38] Fix | Delete
$table = new ContainerTable($container, 'widgetshadow', n2_('Shadow'));
[39] Fix | Delete
new OnOff($table->getFieldsetLabel(), 'widget-shadow-enabled', false, 0, array(
[40] Fix | Delete
'relatedFieldsOn' => array(
[41] Fix | Delete
'table-rows-widgetshadow'
[42] Fix | Delete
)
[43] Fix | Delete
));
[44] Fix | Delete
[45] Fix | Delete
$row1 = $table->createRow('widget-shadow-1');
[46] Fix | Delete
[47] Fix | Delete
$url = $form->createAjaxUrl(array("slider/renderwidgetshadow"));
[48] Fix | Delete
new ControlTypePicker($row1, 'widgetshadow', $table, $url, $this);
[49] Fix | Delete
[50] Fix | Delete
[51] Fix | Delete
$row2 = $table->createRow('widget-shadow-2');
[52] Fix | Delete
[53] Fix | Delete
$this->addHideOnFeature('widget-shadow-display-', $row2);
[54] Fix | Delete
}
[55] Fix | Delete
}
[56] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function