mirror of
https://github.com/typecho/typecho.git
synced 2025-03-19 01:19:40 +01:00
修复下
This commit is contained in:
parent
da1989c6e0
commit
1d77ca0ef9
@ -1522,7 +1522,7 @@ class Widget_Archive extends Widget_Abstract_Contents
|
||||
|
||||
if ($word != NULL) {
|
||||
$class = $class ? ' class="' . $class . '"' : '';
|
||||
$link = '<a ' . $class . 'href="' . $content['permalink'] . '" title="' . $content['title'] . '">' . $word . '</a>';
|
||||
$link = '<a' . $class . ' href="' . $content['permalink'] . '" title="' . $content['title'] . '">' . $word . '</a>';
|
||||
echo $link;
|
||||
} else {
|
||||
$link = '<a href="' . $content['permalink'] . '" title="' . $content['title'] . '">' . $content['title'] . '</a>';
|
||||
@ -1556,7 +1556,7 @@ class Widget_Archive extends Widget_Abstract_Contents
|
||||
|
||||
if ($word != NULL) {
|
||||
$class = $class ? ' class="' . $class . '"' : '';
|
||||
$link = '<a ' . $class . 'href="' . $content['permalink'] . '" title="' . $content['title'] . '">' . $word . '</a>';
|
||||
$link = '<a' . $class . ' href="' . $content['permalink'] . '" title="' . $content['title'] . '">' . $word . '</a>';
|
||||
echo $link;
|
||||
} else {
|
||||
$link = '<a href="' . $content['permalink'] . '" title="' . $content['title'] . '">' . $content['title'] . '</a>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user