add actions and templates folder
This commit is contained in:
parent
8c772864b3
commit
934de3ad61
10 changed files with 792 additions and 0 deletions
19
actions/yunohostJsAction.php
Normal file
19
actions/yunohostJsAction.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
use YesWiki\Core\YesWikiAction;
|
||||
use YesWiki\Core\Service\AssetsManager;
|
||||
|
||||
class YunohostJsAction extends YesWikiAction
|
||||
{
|
||||
public function formatArguments($arg)
|
||||
{
|
||||
return [
|
||||
];
|
||||
}
|
||||
|
||||
public function run()
|
||||
{
|
||||
$this->wiki->services->get(AssetsManager::class)->AddJavascriptFile('custom/actions/annuaire.js', false, true);
|
||||
$this->wiki->services->get(AssetsManager::class)->AddJavascriptFile('custom/actions/yunohost_user.js', false, true);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue