Update Kirby to 3.7.4
This commit is contained in:
0
kirby/views/browser.php
Executable file → Normal file
0
kirby/views/browser.php
Executable file → Normal file
0
kirby/views/fatal.php
Executable file → Normal file
0
kirby/views/fatal.php
Executable file → Normal file
15
kirby/views/panel.php
Executable file → Normal file
15
kirby/views/panel.php
Executable file → Normal file
@@ -38,6 +38,12 @@ use Kirby\Cms\Url;
|
||||
<link nonce="<?= $nonce ?>" rel="<?= $rel ?>" href="<?= Url::to($icon['url']) ?>" type="<?= $icon['type'] ?>">
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php foreach ($assets['js'] as $js): ?>
|
||||
<?php if (($js['type'] ?? null) === 'module'): ?>
|
||||
<link rel="modulepreload" href="<?= $js['src'] ?>">
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<base href="<?= $panelUrl ?>">
|
||||
</head>
|
||||
<body>
|
||||
@@ -59,8 +65,15 @@ use Kirby\Cms\Url;
|
||||
window.fiber = json;
|
||||
</script>
|
||||
|
||||
<?php foreach ($assets['js'] as $js): ?>
|
||||
<?php foreach ($assets['js'] as $key => $js): ?>
|
||||
<?php if ($key === 'index'): ?>
|
||||
<script type="module" nonce="<?= $nonce ?>">
|
||||
<?= $assets['plugin-imports'] ?>
|
||||
import('<?= $js['src'] ?>')
|
||||
</script>
|
||||
<?php else: ?>
|
||||
<?= Html::tag('script', '', $js) . PHP_EOL ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
</body>
|
||||
|
0
kirby/views/php.php
Executable file → Normal file
0
kirby/views/php.php
Executable file → Normal file
0
kirby/views/snippets/footer.php
Executable file → Normal file
0
kirby/views/snippets/footer.php
Executable file → Normal file
0
kirby/views/snippets/header.php
Executable file → Normal file
0
kirby/views/snippets/header.php
Executable file → Normal file
Reference in New Issue
Block a user