BlogEngine.NET部署日志

修正CategoryList.cs日历正常显示“一二三四五六日”

       private  System.Threading.Thread t;
      
private  System.Globalization.CultureInfo oldCulture;

在OnPreRender中添加如下代码
        t  =  System.Threading.Thread.CurrentThread;
        oldCulture 
=  t.CurrentCulture;
        System.Globalization.CultureInfo newci 
=  (System.Globalization.CultureInfo)oldCulture.Clone();
        newci.DateTimeFormat.DayNames 
=   new   string [] { " "  ,  " " " " " " " " " " " " };
        newci.DateTimeFormat.FirstDayOfWeek 
=  DayOfWeek.Sunday;
        t.CurrentCulture 
=  newci;

在RaiseCallbackEvent中添加如下代码
          t  =  System.Threading.Thread.CurrentThread;
          oldCulture 
=  t.CurrentCulture;
          System.Globalization.CultureInfo newci 
=  (System.Globalization.CultureInfo)oldCulture.Clone();
          newci.DateTimeFormat.DayNames 
=   new   string [] {  " " " " " " " " " " " " " "  };
          newci.DateTimeFormat.FirstDayOfWeek 
=  DayOfWeek.Sunday;
          t.CurrentCulture 
=  newci;

修正User controls/ConmmentView.ascx.cs网站文本框初始显示文本

txtWebsite.Text  =  Request.Url.Host;

Request.Url.Host 
+   " /author/ "   +  user.UserName  +  BlogSettings.Instance.FileExtension;

修正User controls/ConmmentView.ascx  URL验证

(http ://| https ://| )([ \ w - ] +\. ) + [ \ w - ] + ( / [ \ w -   ./?%&= ; ~ ] * ) ?

(http
://| https ://| )[ \ w - ] + ( / [ \ w -   ./?%&= ; ~ ] * ) ?

汉化LoginStatus为『登陆』『注销』,将LoginStatus添加到主菜单


< asp:LoginStatus  ID ="LoginStatus1"  runat ="Server"  LoginText ="Sign in"  LogoutText ="Sign out"  EnableViewState ="false"   />

< asp:LoginStatus  ID ="LoginStatus1"  runat ="Server"  LoginText ="登录"  LogoutText ="注销"  EnableViewState ="false"   />

汉化菜单项『Extensions』 『Change password』为『常用链接』『修改密码』

修正labels.zh-CN.resx中Changepassword,添加Extensions

去掉About the author

site.master
< href ="<%=Utils.FeedUrl %>"  class ="feed" >< img  src ="~/pics/rssButton.gif"  alt ="Feed"  runat ="server"   />
<%
= Resources.labels.subscribe  %> </ a >

去掉SidePanel『最新文章』

< div  class ="box recent" >
  
< h1 > <% = Resources.labels.recentPosts  %> </ h1 >
  
< blog:RecentPosts  runat ="Server"   />
</ div >

二级菜单

CSS+JavaScript

未来计划

  • 有回复时,发送邮件至作者
  • 发布随笔时,发送邮件至所有注册用户
  • 阅读计数
  • Tag页面
  • 显示登录用户名

你可能感兴趣的:(Engine)