blob: 26976e8a7db2b0c4b8ae4b77ff9fe46ffe8acc9d (
plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<div id="rightbar" class="bar">
<input id="showrightpanel" name="workspace[showrightpanel]" value="1" class="toggle" type="checkbox" <?= $showrightpanel == true ? 'checked' : '' ?>>
<label for="showrightpanel" class="toogle">◧</label>
<div id="rightbarpanel" class="panel">
<details id="lastedited" open>
<summary>Last edited</summary>
<ul>
<?php
foreach ($lasteditedartlist as $id) {
?>
<li><a href="<?= $this->uart('artedit', $id) ?>"><?= $id === $art->id() ? '➤' : '✎' ?> <?= $id ?></a></li>
<?php
}
?>
</ul>
</details>
<details id="tags" open>
<summary>Tags</summary>
<?php
foreach ($tagartlist as $tag => $idlist) {
if(count($idlist) > 1) {
?>
<strong><?= $tag ?></strong>
<?php
echo '<ul>';
foreach ($idlist as $id) {
if($id === $art->id()) {
echo '<li>➤ '.$id.'</li>';
} else {
?>
<li><a href="<?= $this->uart('artedit', $id) ?>">✎ <?= $id ?></a></li>
<?php
}
}
}
echo '</ul>';
}
?>
</details>
<details id="tempaltes" open>
<summary>Templates</summary>
<ul>
<?php
foreach ($templates as $template => $id) {
if(!empty($id)) {
?>
<li><?= $template ?> : <?= $id ?> <a href="<?= $this->uart('artedit', $id) ?>">✎</a></li>
<?php
}
}
?>
</ul>
</details>
</div>
</div>
|