mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
@@ -823,6 +823,74 @@ function themeConfig($form)
|
||||
$JSiteMap->setAttribute('class', 'joe_content joe_other');
|
||||
$form->addInput($JSiteMap->multiMode());
|
||||
|
||||
|
||||
/* 评论发信 */
|
||||
$JCommentMail = new Typecho_Widget_Helper_Form_Element_Select(
|
||||
'JCommentMail',
|
||||
array('off' => '关闭(默认)', 'on' => '开启'),
|
||||
'off',
|
||||
'是否开启评论邮件通知',
|
||||
'介绍:开启后评论内容将会进行邮箱通知 <br />
|
||||
注意:此项需要您完整无错的填写下方的邮箱设置!! <br />
|
||||
其他:下方例子以QQ邮箱为例,推荐使用QQ邮箱'
|
||||
);
|
||||
$JCommentMail->setAttribute('class', 'joe_content joe_other');
|
||||
$form->addInput($JCommentMail->multiMode());
|
||||
|
||||
$JCommentMailHost = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'JCommentMailHost',
|
||||
NULL,
|
||||
NULL,
|
||||
'邮箱服务器地址',
|
||||
'例如:smtp.qq.com'
|
||||
);
|
||||
$JCommentMailHost->setAttribute('class', 'joe_content joe_other');
|
||||
$form->addInput($JCommentMailHost->multiMode());
|
||||
|
||||
$JCommentMailPort = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'JCommentMailPort',
|
||||
NULL,
|
||||
NULL,
|
||||
'邮箱服务器端口号',
|
||||
'例如:465'
|
||||
);
|
||||
$JCommentMailPort->setAttribute('class', 'joe_content joe_other');
|
||||
$form->addInput($JCommentMailPort->multiMode());
|
||||
|
||||
$JCommentMailFromName = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'JCommentMailFromName',
|
||||
NULL,
|
||||
NULL,
|
||||
'发件人昵称',
|
||||
'例如:帅气的象拔蚌'
|
||||
);
|
||||
$JCommentMailFromName->setAttribute('class', 'joe_content joe_other');
|
||||
$form->addInput($JCommentMailFromName->multiMode());
|
||||
|
||||
$JCommentMailAccount = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'JCommentMailAccount',
|
||||
NULL,
|
||||
NULL,
|
||||
'发件人邮箱',
|
||||
'例如:2323333339@qq.com'
|
||||
);
|
||||
$JCommentMailAccount->setAttribute('class', 'joe_content joe_other');
|
||||
$form->addInput($JCommentMailAccount->multiMode());
|
||||
|
||||
$JCommentMailPassword = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'JCommentMailPassword',
|
||||
NULL,
|
||||
NULL,
|
||||
'邮箱授权码',
|
||||
'介绍:这里填写的是邮箱生成的授权码 <br>
|
||||
获取方式(以QQ邮箱为例):<br>
|
||||
QQ邮箱 > 设置 > 账户 > IMAP/SMTP服务 > 开启 <br>
|
||||
其他:这个可以百度一下开启教程,有图文教程'
|
||||
);
|
||||
$JCommentMailPassword->setAttribute('class', 'joe_content joe_other');
|
||||
$form->addInput($JCommentMailPassword->multiMode());
|
||||
|
||||
|
||||
$JBaiduToken = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'JBaiduToken',
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user