2025-09-24 18:35:28 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* This file is part of klxf/flarum-coyote-pulse-viewer.
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2025 Fang_Zhijian.
|
|
|
|
|
*
|
|
|
|
|
* For the full copyright and license information, please view the LICENSE.md
|
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace Klxf\CoyotePulseViewer;
|
|
|
|
|
|
|
|
|
|
use Flarum\Extend;
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
(new Extend\Frontend('forum'))
|
2025-09-24 18:41:44 +08:00
|
|
|
->js(__DIR__.'/js/dist/forum.js')
|
|
|
|
|
->css(__DIR__.'/less/forum.less'),
|
2025-09-25 20:29:30 +08:00
|
|
|
(new Extend\Frontend('admin'))
|
|
|
|
|
->js(__DIR__.'/js/dist/admin.js'),
|
2025-09-24 18:35:28 +08:00
|
|
|
new Extend\Locales(__DIR__.'/locale'),
|
|
|
|
|
|
|
|
|
|
(new Extend\Formatter())
|
|
|
|
|
->configure(FormatterConfigure::class),
|
2025-09-25 20:29:30 +08:00
|
|
|
|
|
|
|
|
(new Extend\Settings())
|
|
|
|
|
->serializeToForum('klxf-coyote-pulse-viewer.download-must-login', 'klxf-coyote-pulse-viewer.download-must-login'),
|
2025-09-24 18:35:28 +08:00
|
|
|
];
|