diff --git a/footer.php b/footer.php index 0cbf761..dc9fa50 100644 --- a/footer.php +++ b/footer.php @@ -18,17 +18,19 @@

- options->nisInfo != "") {?> + options->nisInfo != ""): ?> options->nisInfo ?> - | - options->icpInfo != "") {?> - options->icpInfo ?> | - Sitemap | - Links + | + options->icpInfo != ""): ?> + options->icpInfo ?> + + options->bottomLinks != ""): ?> + {name}', $links_num=0, $sort=$this->options->bottomLinks); ?> +

© options->title(); ?> ♥ to($stat); ?>publishedPostsNum() ?> Posts Words crafted

-

Powered by Typecho | Theme Sky by SkyWT

+

Powered by Typecho | Theme Sky by SkyWT

diff --git a/functions.php b/functions.php index b003af6..061691a 100644 --- a/functions.php +++ b/functions.php @@ -18,6 +18,9 @@ function themeConfig($form) { $notification = new Typecho_Widget_Helper_Form_Element_Text('notification', NULL, NULL, _t('网站公告'), _t('显示在首页,留空则不显示')); $form->addInput($notification); + $bottomLinks = new Typecho_Widget_Helper_Form_Element_Text('bottomLinks', NULL, NULL, _t('底部链接'), _t('(需要配合友情链接插件使用)网站底部的链接分类名称')); + $form->addInput($bottomLinks); + $oldPosts = new Typecho_Widget_Helper_Form_Element_Radio('oldPosts', array('able' => _t('启用'), 'disable' => _t('禁用'), diff --git a/homepage.php b/homepage.php index 4ea6fd8..dd90215 100644 --- a/homepage.php +++ b/homepage.php @@ -105,14 +105,16 @@ $this->need('functions.php'); // 不知道为啥,似乎模版页面不会自

- options->nisInfo != "") {?> + options->nisInfo != ""): ?> options->nisInfo ?> - | - options->icpInfo != "") {?> - options->icpInfo ?> | - Sitemap | - Links + | + options->icpInfo != ""): ?> + options->icpInfo ?> + + options->bottomLinks != ""): ?> + {name}', $links_num=0, $sort=$this->options->bottomLinks); ?> +

© options->title(); ?> ♥ to($stat); ?>publishedPostsNum() ?> Posts Words crafted

Powered by Typecho | Theme Sky by SkyWT