Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commit

Permalink
取消链接限制,使得//开头的url可用
Browse files Browse the repository at this point in the history
  • Loading branch information
benzBrake authored Feb 13, 2017
1 parent b7604d1 commit e3a9de7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ public static function deactivate(){
public static function config(Typecho_Widget_Helper_Form $form)
{
$upyundomain = new Typecho_Widget_Helper_Form_Element_Text('upyundomain', NULL, 'http://', _t('绑定域名:'), _t('该绑定域名为绑定Upyun服务的域名,由Upyun提供,注意以http://开头,最后不要加/'));
$form->addInput($upyundomain->addRule('required',_t('您必须填写绑定域名,它是由Upyun提供'))
->addRule('url', _t('您输入的域名格式错误')));
$form->addInput($upyundomain->addRule('required',_t('您必须填写绑定域名,它是由Upyun提供')));

$upyunpathmode = new Typecho_Widget_Helper_Form_Element_Radio(
'mode',
Expand Down

0 comments on commit e3a9de7

Please sign in to comment.