__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Asset;
use Joomla\CMS\HTML\HTMLHelper;
use Nextend\Framework\Asset\Css\Css;
use Nextend\Framework\Asset\Fonts\Google\Google;
use Nextend\Framework\Asset\Js\Js;
use Nextend\Framework\Font\FontSources;
use Nextend\Framework\Form\Form;
use Nextend\Framework\Platform\Platform;
use Nextend\Framework\Plugin;
use Nextend\Framework\ResourceTranslator\ResourceTranslator;
use Nextend\SmartSlider3\Application\Frontend\ApplicationTypeFrontend;
use Nextend\SmartSlider3\Settings;
class Predefined {
public static function backend($force = false) {
static $once;
if ($once != null && !$force) {
return;
}
$once = true;
HTMLHelper::_('jquery.framework');
$jQueryFallback = 'https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js';
Js::addGlobalInline('_N2._jQueryFallback=\'' . $jQueryFallback . '\';');
Js::addFirstCode("_N2.r(['AjaxHelper'],function(){_N2.AjaxHelper.addAjaxArray(" . json_encode(Form::tokenizeUrl()) . ");});");
Plugin::addAction('afterApplicationContent', array(
FontSources::class,
'onFontManagerLoadBackend'
));
}
public static function frontend($force = false) {
static $once;
if ($once != null && !$force) {
return;
}
$once = true;
AssetManager::getInstance();
if (Platform::isAdmin()) {
Js::addGlobalInline('window.N2GSAP=' . N2GSAP . ';');
Js::addGlobalInline('window.N2PLATFORM="' . Platform::getName() . '";');
}
Js::addGlobalInline('(function(){this._N2=this._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}}}).call(window);');
Js::addStaticGroup(ApplicationTypeFrontend::getAssetsPath() . "/dist/n2.min.js", 'n2');
FontSources::onFontManagerLoad($force);
}
public static function loadLiteBox() {
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Css | Folder | 0775 |
|
|
| Fonts | Folder | 0775 |
|
|
| Image | Folder | 0775 |
|
|
| Js | Folder | 0775 |
|
|
| AbstractAsset.php | File | 6.03 KB | 0664 |
|
| AbstractCache.php | File | 1.98 KB | 0664 |
|
| AssetManager.php | File | 4.78 KB | 0664 |
|
| Predefined.php | File | 1.95 KB | 0664 |
|