修复下

This commit is contained in:
ShingChi 2014-03-10 21:55:29 +08:00
parent da1989c6e0
commit 1d77ca0ef9

View File

@ -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>';