增加点设置
This commit is contained in:
parent
1525097b87
commit
c6aa7f6268
|
@ -1,10 +1,12 @@
|
|||
<?php
|
||||
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
|
||||
function themeConfig($form) {
|
||||
$logoUrl = new Typecho_Widget_Helper_Form_Element_Text('logoUrl', NULL, NULL, _t('站点 LOGO 地址'));
|
||||
$form->addInput($logoUrl);
|
||||
$icoUrl = new Typecho_Widget_Helper_Form_Element_Text('icoUrl', NULL, NULL, _t('站点 Favicon 地址'));
|
||||
$form->addInput($icoUrl);
|
||||
$logoUrl = new Typecho_Widget_Helper_Form_Element_Text('logoUrl', NULL, NULL, _t('站点 LOGO 地址'));
|
||||
$form->addInput($logoUrl);
|
||||
$infoUrl = new Typecho_Widget_Helper_Form_Element_Text('infoUrl', NULL, NULL, _t('跳转地址'), _t('自定义点击头像跳转的地址');
|
||||
$form->addInput($infoUrl);
|
||||
$instagramurl = new Typecho_Widget_Helper_Form_Element_Text('instagramurl', NULL, NULL, _t('Instagram'), _t('会在个人信息显示'));
|
||||
$form->addInput($instagramurl);
|
||||
$telegramurl = new Typecho_Widget_Helper_Form_Element_Text('telegramurl', NULL, NULL, _t('电报'), _t('会在个人信息显示'));
|
||||
|
|
|
@ -30,7 +30,6 @@ while($this->next()):
|
|||
<span class="archive-item-date"><?php $this->date('Y-m-d'); ?></span>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php if ($previousYear !== null): ?>
|
||||
</div> <!-- 关闭最后一年的 div -->
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -10,7 +10,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
|||
<div class="main">
|
||||
<div class="container profile-container">
|
||||
<div class="intro">
|
||||
<div class="avatar"><a href="/"> <img src="<?php $this->options->logoUrl() ?>"></a></div>
|
||||
<div class="avatar"><a href="<?php $this->options->infoUrl() ?>"> <img src="<?php $this->options->logoUrl() ?>"></a></div>
|
||||
<div class="nickname"> <?php $this->author(); ?></div>
|
||||
<div class="description"><p><?php $this->options->description() ?></p></div>
|
||||
<div class="links">
|
||||
|
|
Loading…
Reference in New Issue