Commit 2b9a3622 authored by Van's avatar Van

#12180 cmt

parent afbaff42
...@@ -10,12 +10,15 @@ ...@@ -10,12 +10,15 @@
</head> </head>
<body> <body>
<#include "header.ftl"> <#include "header.ftl">
<main class="main wrapper"> <div class="wrapper">
<div class="content"> <div class="main-wrap">
<article class="posts-expand"> <main>
<header class="post-header"> <article class="post">
<h1 class="post-title"> <header>
<h1>
<a rel="bookmark" href="${servePath}${article.articlePermalink}">
${article.articleTitle} ${article.articleTitle}
</a>
<#if article.articlePutTop> <#if article.articlePutTop>
<sup> <sup>
${topArticleLabel} ${topArticleLabel}
...@@ -27,24 +30,28 @@ ...@@ -27,24 +30,28 @@
</sup> </sup>
</#if> </#if>
</h1> </h1>
<div class="post-meta"> <div class="meta">
<span class="post-time"> <span class="tooltipped tooltipped-n" aria-label="${createDateLabel}">
${postTimeLabel} <i class="icon-date"></i>
<time> <time>
${article.articleCreateDate?string("yyyy-MM-dd")} ${article.articleCreateDate?string("yyyy-MM-dd")}
</time> </time>
</span> </span>
<span class="post-comments-count">
&nbsp; | &nbsp; &nbsp; | &nbsp;
<span class="tooltipped tooltipped-n" aria-label="${commentCountLabel}">
<i class="icon-comments"></i>
<a href="${servePath}${article.articlePermalink}#comments"> <a href="${servePath}${article.articlePermalink}#comments">
${article.articleCommentCount} ${cmtLabel}</a> ${article.articleCommentCount} ${commentLabel}</a>
</span>
&nbsp; | &nbsp;
<span class="tooltipped tooltipped-n" aria-label="${viewCountLabel}">
<i class="icon-views"></i>
${article.articleViewCount} ${viewLabel}
</span> </span>
&nbsp; | &nbsp; ${viewsLabel}
${article.articleViewCount}°C
</div> </div>
</header> </header>
<div class="post-body article-body"> <div class="content-reset">
${article.articleContent} ${article.articleContent}
<#if "" != article.articleSign.signHTML?trim> <#if "" != article.articleSign.signHTML?trim>
<div> <div>
...@@ -52,34 +59,45 @@ ...@@ -52,34 +59,45 @@
</div> </div>
</#if> </#if>
</div> </div>
<footer> <footer>
<#list article.articleTags?split(",") as articleTag> <#list article.articleTags?split(",") as articleTag>
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}"> <a class="tag" rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
${articleTag}</a> ${articleTag}</a>
</#list> </#list>
<div class="article-cr">
转载请注明来源:
<a href="http://9iphp.com/web/laravel/laravel-5-acl-define.html">使用Laravel5.1自带权限控制系统 ACL</a> -
<a href="http://9iphp.com" title="" data-original-title="Specs' Blog-就爱PHP">Specs' Blog-就爱PHP</a>
</div>
<div class="post-nav fn-clear"> <div class="post-nav fn-clear">
<#if previousArticlePermalink??> <#if previousArticlePermalink??>
<div class="post-nav-prev post-nav-item fn-right"> <div class="fn-left">
<a href="${servePath}${previousArticlePermalink}" rel="next" title="${previousArticleTitle}"> <a href="${servePath}${previousArticlePermalink}" rel="prev"
${previousArticleTitle} > aria-label="${previousArticleTitle}">
${previousArticleLabel}
</a> </a>
</div> </div>
</#if> </#if>
<#if nextArticlePermalink??> <#if nextArticlePermalink??>
<div class="post-nav-next post-nav-item fn-left"> <div class="fn-right">
<a href="${servePath}${nextArticlePermalink}" rel="prev" title="${nextArticleTitle}"> <a href="${servePath}${nextArticlePermalink}" rel="next"
< ${nextArticleTitle} aria-label="${nextArticleTitle}">
${nextArticleLabel}
</a> </a>
</div> </div>
</#if> </#if>
</div> </div>
</footer> </footer>
</article>
</div>
<@comments commentList=articleComments article=article></@comments> <@comments commentList=articleComments article=article></@comments>
<div id="externalRelevantArticles"></div> <div id="externalRelevantArticles"></div>
<#include "side.ftl"> </article>
</main> </main>
<#include "side.ftl">
</div>
</div>
<#include "footer.ftl"> <#include "footer.ftl">
<@comment_script oId=article.oId> <@comment_script oId=article.oId>
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}"; page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
......
<li id="${comment.oId}" class="fn-clear">
<img class="avatar-48" title="${comment.commentName}" src="${comment.commentThumbnailURL}">
<div class="comment-body">
<div class="fn-clear comment-meta">
<span class="fn-left">
<#if "http://" == comment.commentURL>
<a>${comment.commentName}</a>
<#else>
<a href="${comment.commentURL}" target="_blank">${comment.commentName}</a>
</#if>
<#if comment.isReply>
@
<a href="${servePath}${article.permalink}#${comment.commentOriginalCommentId}"
onmouseover="page.showComment(this, '${comment.commentOriginalCommentId}', 23);"
onmouseout="page.hideComment('${comment.commentOriginalCommentId}')"
>${comment.commentOriginalCommentName}</a>
</#if>
<time>${comment.commentDate?string("yyyy-MM-dd HH:mm")}</time>
</span>
<#if article.commentable>
<a class="fn-right" href="javascript:replyTo('${comment.oId}')">${replyLabel}</a>
</#if>
</div>
<div class="comment-content post-body article-body">
${comment.commentContent}
</div>
</div>
</li>
\ No newline at end of file
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
onlineVisitorLabel=Visitor onlineVisitorLabel=Visitor
tocLabel=Article ToC tocLabel=Article ToC
readLabel=Read More readLabel=Read More
nextArticleLabel=Next
previousArticleLabel=Previous
searchLabel=Search searchLabel=Search
subscribeLabel=Subscribe subscribeLabel=Subscribe
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
onlineVisitorLabel=\u8BBF\u5BA2 onlineVisitorLabel=\u8BBF\u5BA2
tocLabel=\u6587\u7AE0\u76EE\u5F55 tocLabel=\u6587\u7AE0\u76EE\u5F55
readLabel=\u9605\u8BFB\u5168\u6587 readLabel=\u9605\u8BFB\u5168\u6587
nextArticleLabel=\u65B0\u4E00\u7BC7
previousArticleLabel=\u65E7\u4E00\u7BC7
searchLabel=\u641C\u7D22 searchLabel=\u641C\u7D22
subscribeLabel=\u8BA2\u9605 subscribeLabel=\u8BA2\u9605
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment