Файловый менеджер - Редактировать - /home/lmsyaran/public_html/j3/libraries/smartslider3/src/SmartSlider3/Application/Admin/Layout/LayoutDefaultSidebar.php
Назад
<?php namespace Nextend\SmartSlider3\Application\Admin\Layout; use Nextend\SmartSlider3\Application\Admin\Layout\Block\Core\Admin\BlockAdmin; use Nextend\SmartSlider3\Application\Admin\Layout\Block\Core\ContentSidebar\BlockContentSidebar; class LayoutDefaultSidebar extends AbstractLayoutMenu { protected $sidebar = array(); protected function enqueueAssets() { $this->getApplicationType() ->enqueueAssets(); } public function addSidebarBlock($html) { $this->sidebar[] = $html; } public function renderSidebarBlock() { echo $this->getSidebarBlock(); } public function getSidebarBlock() { return implode("\n\n", $this->sidebar); } public function render() { $admin = new BlockAdmin($this); $admin->setLayout($this); $admin->addClasses($this->getClasses()); $admin->setHeader($this->getHeader()); $content = new BlockContentSidebar($this); $content->setSidebar($this->getSidebarBlock()); $this->addContentBlock($content); $admin->display(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка