Update Kirby to 3.7.4

This commit is contained in:
Lukas Bestle
2022-08-23 21:36:13 +02:00
parent 435b9f4541
commit d89a0a647c
674 changed files with 212 additions and 61 deletions

0
kirby/views/browser.php Executable file → Normal file
View File

0
kirby/views/fatal.php Executable file → Normal file
View File

15
kirby/views/panel.php Executable file → Normal file
View 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
View File

0
kirby/views/snippets/footer.php Executable file → Normal file
View File

0
kirby/views/snippets/header.php Executable file → Normal file
View File