🐛 Meilleur gestion des flat-list
This commit is contained in:
parent
c9b7bbe4cf
commit
fea68aee27
2 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ class pluginArchives extends Plugin
|
|||
$html = '<div class="plugin plugin-archives">';
|
||||
$html .= '<h2 class="plugin-label">' . $this->getValue('label') . '</h2>';
|
||||
$html .= '<div class="plugin-content">';
|
||||
$html .= '<ul>';
|
||||
$html .= '<ul class="flat-list">';
|
||||
|
||||
// By default the database of tags are alphanumeric sorted
|
||||
foreach ($archives->db as $key => $fields) {
|
||||
|
@ -52,7 +52,7 @@ class pluginArchives extends Plugin
|
|||
($this->getValue('monthly') && strlen($key) != 4)
|
||||
|| (!$this->getValue('monthly') && strlen($key) == 4)
|
||||
) {
|
||||
$html .= '<li class="flat-list">';
|
||||
$html .= '<li>';
|
||||
$html .= '<a href="' . DOMAIN_ARCHIVES . $key . '">';
|
||||
$html .= $fields['name'];
|
||||
$html .= '</a>';
|
||||
|
|
|
@ -34,7 +34,7 @@ class pluginTags extends Plugin
|
|||
$html = '<div class="plugin plugin-tags">';
|
||||
$html .= '<h2 class="plugin-label">' . $this->getValue('label') . '</h2>';
|
||||
$html .= '<div class="plugin-content">';
|
||||
$html .= '<ul>';
|
||||
$html .= '<ul class="flat-list">';
|
||||
|
||||
// By default the database of tags are alphanumeric sorted
|
||||
foreach ($tags->db as $key => $fields) {
|
||||
|
|
Loading…
Add table
Reference in a new issue