1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<?php $this->layout('layout', ['title' => '✏ '.$art->title()]) ?>
<?php $this->start('customhead') ?>
<script src="./rsc/js/app.js"></script>
<?php $this->stop() ?>
<?php $this->start('page') ?>
<body>
<?php $this->insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]) ?>
<form action="?id=<?= $art->id() ?>&action=update" method="post" id="artedit">
<?php $this->insert('edittopbar', ['config' => $config, 'art' => $art]) ?>
<?php $this->insert('editsidebar', ['config' => $config, 'art' => $art]) ?>
<style>textarea{font-size: <?= Config::fontsize() ?>px}</style>
<?php
$tablist = ['section' => $art->md(), 'css' => $art->css(), 'header' => $art->header(), 'nav' => $art->nav(), 'aside' => $art->aside(), 'footer' => $art->footer(), 'html' => $art->html(), 'javascript' => $art->javascript()];
$this->insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface()])
?>
<input type="hidden" name="id" value="<?= $art->id() ?>">
</form>
</body>
<?php $this->stop() ?>
|