diff --git a/archive.php b/archive.php index 368b688..2888d1b 100644 --- a/archive.php +++ b/archive.php @@ -1,8 +1,6 @@ -need('part/head.php'); ?> -
-need('part/header.php'); ?> +need('header.php'); ?>

archiveTitle(array( @@ -37,6 +35,22 @@ while($this->next()):

-need('part/paginator.php'); ?> +pagenav( + '', + '', + 1, + '...', + array( + 'wrapTag' => 'div', + 'wrapClass' => 'pagination_page', + 'itemTag' => '', + 'textTag' => 'a', + 'currentClass' => 'active', + 'prevClass' => 'prev', + 'nextClass' => 'next' + ) + ); + ?>
-need('part/footer.php'); ?> \ No newline at end of file +need('footer.php'); ?> \ No newline at end of file diff --git a/comments.php b/comments.php index 22fbfa5..9be0707 100644 --- a/comments.php +++ b/comments.php @@ -1,360 +1,4 @@ -
comments()->to($comments); ?> allow('comment')): ?> diff --git a/part/footer.php b/footer.php similarity index 100% rename from part/footer.php rename to footer.php diff --git a/part/header.php b/header.php similarity index 58% rename from part/header.php rename to header.php index 59166d5..bf57e4c 100644 --- a/part/header.php +++ b/header.php @@ -1,4 +1,32 @@ + + + + + + + + + + + <?php if($this->_currentPage>1) echo '第 '.$this->_currentPage.' 页 - '; ?><?php $this->archiveTitle(array( + 'category' => _t('分类 %s 下的文章'), + 'search' => _t('包含关键字 %s 的文章'), + 'tag' => _t('标签 %s 下的文章'), + 'date' => _t('在<span> %s </span>发布的文章'), + 'author' => _t('%s 发布的文章') + ), '', ' - '); ?><?php if ($this->is('post')) $this->category(',', false);?><?php if ($this->is('post')) echo ' - ';?><?php $this->options->title(); ?><?php if ($this->is('index')) echo ' - '; ?><?php if ($this->is('index')) $this->options->description() ?> + + + + + +header("generator=&template=&pingback=&wlw=&xmlrpc=&rss1=&atom=&rss2=/feed"); ?> +options->addhead(); ?> +header(); ?> + + +