Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
2b9a3622
Commit
2b9a3622
authored
Feb 17, 2017
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
#12180 cmt
parent
afbaff42
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
114 additions
and
64 deletions
+114
-64
src/main/webapp/skins/9IPHP/article.ftl
src/main/webapp/skins/9IPHP/article.ftl
+82
-64
src/main/webapp/skins/9IPHP/common-comment.ftl
src/main/webapp/skins/9IPHP/common-comment.ftl
+28
-0
src/main/webapp/skins/9IPHP/lang/lang_en_US.properties
src/main/webapp/skins/9IPHP/lang/lang_en_US.properties
+2
-0
src/main/webapp/skins/9IPHP/lang/lang_zh_CN.properties
src/main/webapp/skins/9IPHP/lang/lang_zh_CN.properties
+2
-0
No files found.
src/main/webapp/skins/9IPHP/article.ftl
View file @
2b9a3622
...
@@ -10,76 +10,94 @@
...
@@ -10,76 +10,94 @@
</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>
${article.articleTitle}
<h1>
<
#if
article
.
articlePutTop
>
<a
rel=
"bookmark"
href=
"${servePath}${article.articlePermalink}"
>
<sup>
${article.articleTitle}
${topArticleLabel}
</a>
</sup>
<
#if
article
.
articlePutTop
>
</
#
if>
<sup>
<
#if
article
.
hasUpdated
>
${topArticleLabel}
<sup>
</sup>
${updatedLabel}
</
#
if>
</sup>
<
#if
article
.
hasUpdated
>
<sup>
${updatedLabel}
</sup>
</
#
if>
</h1>
<div
class=
"meta"
>
<span
class=
"tooltipped tooltipped-n"
aria-label=
"${createDateLabel}"
>
<i
class=
"icon-date"
></i>
<time>
${article.articleCreateDate?string("yyyy-MM-dd")}
</time>
</span>
|
<span
class=
"tooltipped tooltipped-n"
aria-label=
"${commentCountLabel}"
>
<i
class=
"icon-comments"
></i>
<a
href=
"${servePath}${article.articlePermalink}#comments"
>
${article.articleCommentCount} ${commentLabel}
</a>
</span>
|
<span
class=
"tooltipped tooltipped-n"
aria-label=
"${viewCountLabel}"
>
<i
class=
"icon-views"
></i>
${article.articleViewCount} ${viewLabel}
</span>
</div>
</header>
<div
class=
"content-reset"
>
${article.articleContent}
<
#if
""
!=
article
.
articleSign
.
signHTML
?
trim
>
<div>
${article.articleSign.signHTML}
</div>
</
#
if>
</
#
if>
</h1>
<div
class=
"post-meta"
>
<span
class=
"post-time"
>
${postTimeLabel}
<time>
${article.articleCreateDate?string("yyyy-MM-dd")}
</time>
</span>
<span
class=
"post-comments-count"
>
|
<a
href=
"${servePath}${article.articlePermalink}#comments"
>
${article.articleCommentCount} ${cmtLabel}
</a>
</span>
|
${viewsLabel}
${article.articleViewCount}°C
</div>
</div>
</header>
<div
class=
"post-body article-body"
>
<footer>
${article.articleContent}
<
#list
article
.
articleTags
?
split
(",")
as
articleTag
>
<
#if
""
!=
article
.
articleSign
.
signHTML
?
trim
>
<a
class=
"tag"
rel=
"tag"
href=
"${servePath}/tags/${articleTag?url('UTF-8')}"
>
<div>
${articleTag}
</a>
${article.articleSign.signHTML}
</
#
list>
</div>
</
#
if>
<div
class=
"article-cr"
>
</div>
转载请注明来源:
<footer>
<a
href=
"http://9iphp.com/web/laravel/laravel-5-acl-define.html"
>
使用Laravel5.1自带权限控制系统 ACL
</a>
-
<
#list
article
.
articleTags
?
split
(",")
as
articleTag
>
<a
href=
"http://9iphp.com"
title=
""
data-original-title=
"Specs' Blog-就爱PHP"
>
Specs' Blog-就爱PHP
</a>
<a
rel=
"tag"
href=
"${servePath}/tags/${articleTag?url('UTF-8')}"
>
${articleTag}
</a>
</
#
list>
<div
class=
"post-nav fn-clear"
>
<
#if
previousArticlePermalink
??
>
<div
class=
"post-nav-prev post-nav-item fn-right"
>
<a
href=
"${servePath}${previousArticlePermalink}"
rel=
"next"
title=
"${previousArticleTitle}"
>
${previousArticleTitle} >
</a>
</div>
</div>
</
#
if>
<
#if
nextArticlePermalink
??
>
<div
class=
"post-nav fn-clear"
>
<div
class=
"post-nav-next post-nav-item fn-left"
>
<
#if
previousArticlePermalink
??
>
<a
href=
"${servePath}${nextArticlePermalink}"
rel=
"prev"
title=
"${nextArticleTitle}"
>
<div
class=
"fn-left"
>
<
${
nextArticleTitle
}
<a
href=
"${servePath}${previousArticlePermalink}"
rel=
"prev"
</
a
>
aria-label=
"${previousArticleTitle}"
>
${previousArticleLabel}
</a>
</div>
</
#
if>
<
#if
nextArticlePermalink
??
>
<div
class=
"fn-right"
>
<a
href=
"${servePath}${nextArticlePermalink}"
rel=
"next"
aria-label=
"${nextArticleTitle}"
>
${nextArticleLabel}
</a>
</div>
</
#
if>
</div>
</div>
</
#
if>
</footer>
</div>
<
@
comments
commentList=
articleComments
article=
article
></
@
comments>
</footer>
<div
id=
"externalRelevantArticles"
></div>
</article>
</article>
</main>
<
#include
"
side
.
ftl
"
>
</div>
</div>
<
@
comments
commentList=
articleComments
article=
article
></
@
comments>
</div>
<div
id=
"externalRelevantArticles"
></div>
<
#include
"
side
.
ftl
"
>
</main>
<
#include
"
footer
.
ftl
"
>
<
#include
"
footer
.
ftl
"
>
<
@
comment_script
oId=
article.oId
>
<
@
comment_script
oId=
article.oId
>
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
...
...
src/main/webapp/skins/9IPHP/common-comment.ftl
0 → 100644
View file @
2b9a3622
<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
src/main/webapp/skins/9IPHP/lang/lang_en_US.properties
View file @
2b9a3622
...
@@ -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
...
...
src/main/webapp/skins/9IPHP/lang/lang_zh_CN.properties
View file @
2b9a3622
...
@@ -23,6 +23,8 @@
...
@@ -23,6 +23,8 @@
onlineVisitorLabel
=
\u
8BBF
\u
5BA2
onlineVisitorLabel
=
\u
8BBF
\u
5BA2
tocLabel
=
\u6587\u
7AE0
\u
76EE
\u
5F55
tocLabel
=
\u6587\u
7AE0
\u
76EE
\u
5F55
readLabel
=
\u9605\u
8BFB
\u5168\u6587
readLabel
=
\u9605\u
8BFB
\u5168\u6587
nextArticleLabel
=
\u
65B0
\u
4E00
\u
7BC7
previousArticleLabel
=
\u
65E7
\u
4E00
\u
7BC7
searchLabel
=
\u
641C
\u
7D22
searchLabel
=
\u
641C
\u
7D22
subscribeLabel
=
\u
8BA2
\u9605
subscribeLabel
=
\u
8BA2
\u9605
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment