diff --git a/application/default/controllers/AccountController.php b/application/default/controllers/AccountController.php index cd614ce8..fd232a15 100755 --- a/application/default/controllers/AccountController.php +++ b/application/default/controllers/AccountController.php @@ -597,7 +597,7 @@ class AccountController extends Zend_Controller_Action $username=$row['username']; $sql="update users set activation=? where email=?"; $uid=uniqid(); - $link = "http://qinghaihu/account/getpasswd?a=$uid&u=$username"; + $link = "http://".$_SERVER ['HTTP_HOST']."/account/getpasswd?a=$uid&u=$username"; $this->db->query($sql,array($uid,$email)); $mail=new WestdcMailer($this->view->config->smtp); $mailtp=new EmailText($this->db, diff --git a/htdocs/css/author.css b/htdocs/css/author.css index 4219b620..cc7289dc 100644 --- a/htdocs/css/author.css +++ b/htdocs/css/author.css @@ -15,7 +15,7 @@ #leftnavi li{margin:5px 0px 5px 10px;font-size:9pt;border:1px #93bee2 solid;background-color:#e8f4ff;width:130px;height:22px;padding-left:10px;} #leftnavi form#search {margin-left:20px;margin-bottom:5px;} -#page{background:url(/static/images/page_bg.png) 0 0 repeat-x;width:100%; overflow:hidden;} +#page{background:url(/static/images/page_bg.png) 0 0 repeat-x;width:100%; overflow:hidden;font-size:14px;} .subnav{width:100%;overflow:hidden;} .subnav ul{width:100%;overflow:hidden;padding:0px;margin:0px;background:url(/static/images/subnav_title_li_bg.png) 0 0 repeat-x;height:26px;line-height:26px;} diff --git a/htdocs/static/js/ajaxform.js b/htdocs/static/js/ajaxform.js index f43e052c..0fe3e0db 100644 --- a/htdocs/static/js/ajaxform.js +++ b/htdocs/static/js/ajaxform.js @@ -10,7 +10,7 @@ //返回信息的容器 'returnInfoBox':'', //加载时按钮上显示的文字 - 'loadingText':'Submit...', + 'loadingText':'Submit...', //ajax url 'url':'' };