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.../Applicat...
File: ApplicationSmartSlider3.php
<?php
[0] Fix | Delete
[1] Fix | Delete
[2] Fix | Delete
namespace Nextend\SmartSlider3\Application;
[3] Fix | Delete
[4] Fix | Delete
[5] Fix | Delete
use Exception;
[6] Fix | Delete
use Nextend\Framework\Application\AbstractApplication;
[7] Fix | Delete
use Nextend\Framework\Asset\Js\Js;
[8] Fix | Delete
use Nextend\Framework\Platform\Platform;
[9] Fix | Delete
use Nextend\SmartSlider3\Application\Admin\ApplicationTypeAdmin;
[10] Fix | Delete
use Nextend\SmartSlider3\Application\Frontend\ApplicationTypeFrontend;
[11] Fix | Delete
[12] Fix | Delete
class ApplicationSmartSlider3 extends AbstractApplication {
[13] Fix | Delete
[14] Fix | Delete
protected $key = 'ss3';
[15] Fix | Delete
[16] Fix | Delete
/** @var ApplicationTypeAdmin */
[17] Fix | Delete
protected $applicationTypeAdmin;
[18] Fix | Delete
[19] Fix | Delete
/** @var ApplicationTypeFrontend */
[20] Fix | Delete
protected $applicationTypeFrontend;
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* @throws Exception
[24] Fix | Delete
*/
[25] Fix | Delete
protected function init() {
[26] Fix | Delete
parent::init();
[27] Fix | Delete
[28] Fix | Delete
$this->applicationTypeAdmin = new ApplicationTypeAdmin($this);
[29] Fix | Delete
$this->applicationTypeFrontend = new ApplicationTypeFrontend($this);
[30] Fix | Delete
}
[31] Fix | Delete
[32] Fix | Delete
/**
[33] Fix | Delete
* @return ApplicationTypeAdmin
[34] Fix | Delete
*/
[35] Fix | Delete
public function getApplicationTypeAdmin() {
[36] Fix | Delete
[37] Fix | Delete
return $this->applicationTypeAdmin;
[38] Fix | Delete
}
[39] Fix | Delete
[40] Fix | Delete
/**
[41] Fix | Delete
* @return ApplicationTypeFrontend
[42] Fix | Delete
*/
[43] Fix | Delete
public function getApplicationTypeFrontend() {
[44] Fix | Delete
[45] Fix | Delete
return $this->applicationTypeFrontend;
[46] Fix | Delete
}
[47] Fix | Delete
[48] Fix | Delete
public function enqueueAssets() {
[49] Fix | Delete
if (Platform::isAdmin()) {
[50] Fix | Delete
Js::addGlobalInline('window.N2SSPRO=' . N2SSPRO . ';');
[51] Fix | Delete
}
[52] Fix | Delete
[53] Fix | Delete
}
[54] Fix | Delete
}
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function