forked from kamea/starlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.php
60 lines (58 loc) · 1.76 KB
/
sidebar.php
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
<?php if (!defined('PLX_ROOT')) exit; ?>
<aside class="wrap_aside mylink" style="top: 110px">
<details open>
<summary class="text-xl"><?php $plxShow->lang('CATEGORIES'); ?></summary>
<ul class="border-l-2 border-primary-400/50">
<?php $plxShow->catList('', '
<li id="#cat_id">
<a class="#cat_status" href="#cat_url" title="#cat_name">#cat_name</a>
<span>(#art_nb)</span>
</li>
'); ?>
</ul>
</details>
<details open>
<summary class="text-xl">
<?php $plxShow->lang('LATEST_ARTICLES'); ?>
</summary>
<ul class="border-l-2 border-primary-400/50">
<?php $plxShow->lastArtList('
<li>
<a class="#art_status" href="#art_url" title="#art_title">#art_title</a>
</li>
', 6); ?>
</ul>
</details>
<details>
<summary class="text-xl"><?php $plxShow->lang('TAGS'); ?></summary>
<ul class="border-l-2 border-primary-400/50">
<?php $plxShow->tagList('
<li>
<a href="#tag_url" title="#tag_name">#tag_name</a>
<span>(#nb_art)</span>
</li>
', 20); ?>
</ul>
</details>
<?php
if (method_exists($plxShow, 'authorList')) {
?>
<details>
<summary class="text-xl"><?php $plxShow->lang('AUTHORS'); ?></summary>
<ul class="border-l-2 border-primary-400/50">
<?php $plxShow->authorList(); ?>
</ul>
</details>
<?php } ?>
<details>
<summary class="text-xl"><?php $plxShow->lang('ARCHIVES'); ?></summary>
<ul class="border-l-2 border-primary-400/50">
<?php $plxShow->archList('
<li id="#archives_id">
<a class="#archives_status" href="#archives_url" title="#archives_name">#archives_name</a>
<span>(#archives_nbart)</span>
</li>
'); ?>
</ul>
</details>
</aside>