File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ public function editTheme($file)
365365 $ this ->init ();
366366 $ path = $ this ->_dir . '/ ' . $ file ;
367367
368- if (file_exists ($ path ) && is_writeable ($ path ) && !Typecho_Common:: isAppEngine () ) {
368+ if (file_exists ($ path ) && is_writeable ($ path )) {
369369 $ handle = fopen ($ path , 'wb ' );
370370 if ($ handle && fwrite ($ handle , $ this ->request ->content )) {
371371 fclose ($ handle );
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public function currentContent()
8080 */
8181 public function currentIsWriteable ()
8282 {
83- return is_writeable ($ this ->_dir . '/ ' . $ this ->_currentFile ) && !Typecho_Common:: isAppEngine () ;
83+ return is_writeable ($ this ->_dir . '/ ' . $ this ->_currentFile );
8484 }
8585
8686 /**
Original file line number Diff line number Diff line change 1- < div style ="margin: 16px 40px; background-color: #eef2fa; border: 1px solid #d8e3e8; padding: 0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; border-radius:5px; ">
2- < p > {author_p}:< a target ="_blank " href ="{permalink} "> {title}</ a > 有新的回复</ p >
3- < p > < strong > {author}</ strong > 回复说:{text}</ p >
4- < p > 你的评论:{text_p}</ p >
5- < p > 时间:{time}</ p >
6- < p > 本邮件为{siteTitle}自动发送,请勿直接回复,如有疑问,< a href ="mailto:{contactme} " target ="_blank "> 联系我</ a > 。</ p >
1+ < div style ="margin: 16px 40px; background-color: #eef2fa; border: 1px solid #d8e3e8; padding: 0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; border-radius:5px; ">
2+ < p > {author_p}:< a target ="_blank " href ="{permalink} "> {title}</ a > 有新的回复</ p >
3+ < p > < strong > {author}</ strong > 回复说:{text}</ p >
4+ < p > 你的评论:{text_p}</ p >
5+ < p > 时间:{time}</ p >
6+ < p > 本邮件为{siteTitle}自动发送,请勿直接回复,如有疑问,< a href ="mailto:{contactme} " target ="_blank "> 联系我</ a > 。</ p >
77</ div >
Original file line number Diff line number Diff line change 1- < div style ="margin: 16px 40px; background-color: #eef2fa; border: 1px solid #d8e3e8; padding: 0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; border-radius:5px; ">
2- < p > {siteTitle}:< a target ="_blank " href ="{permalink} "> {title}</ a > </ strong > 有新的评论</ p >
3- < p > < strong > {author}</ strong > 评论说:{text}</ p >
4- < p > 时间:{time}< br /> IP:{ip}< br /> 邮箱:{mail}< br /> 状态:{status} [< a href ='{manage} ' target ='_blank '> 管理评论</ a > ]< br /> </ p >
1+ < div style ="margin: 16px 40px; background-color: #eef2fa; border: 1px solid #d8e3e8; padding: 0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; border-radius:5px; ">
2+ < p > {siteTitle}:< a target ="_blank " href ="{permalink} "> {title}</ a > </ strong > 有新的评论</ p >
3+ < p > < strong > {author}</ strong > 评论说:{text}</ p >
4+ < p > 时间:{time}< br /> IP:{ip}< br /> 邮箱:{mail}< br /> 状态:{status} [< a href ='{manage} ' target ='_blank '> 管理评论</ a > ]< br /> </ p >
55</ div >
You can’t perform that action at this time.
0 commit comments