Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
西魏
cms_sys
Commits
2cc387c2
Commit
2cc387c2
authored
Jun 24, 2020
by
sgjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标签
parent
cd3f0548
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
CmsParserUtil.java
src/main/java/net/mingsoft/cms/util/CmsParserUtil.java
+3
-1
about.htm
src/main/webapp/templets/1/default/about.htm
+1
-1
case-list.htm
src/main/webapp/templets/1/default/case-list.htm
+1
-1
news-list.htm
src/main/webapp/templets/1/default/news-list.htm
+1
-1
news-show.htm
src/main/webapp/templets/1/default/news-show.htm
+2
-2
No files found.
src/main/java/net/mingsoft/cms/util/CmsParserUtil.java
View file @
2cc387c2
...
...
@@ -96,6 +96,8 @@ public class CmsParserUtil extends ParserUtil {
// 文章的栏目模型编号
String
columnContentModelId
=
column
.
getMdiyModelId
();
//ParserUtil.read(File.separator + column.getCategoryListUrl(), false, acrList);
//获取列表页显示的文章数量
int
pageSize
=
10
;
//获取总数
...
...
@@ -178,7 +180,7 @@ public class CmsParserUtil extends ParserUtil {
pageNo
++;
}
}
}
catch
(
TemplateNotFound
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
}
}
...
...
src/main/webapp/templets/1/default/about.htm
View file @
2cc387c2
...
...
@@ -17,7 +17,7 @@
<div
class=
"ms-content-right-position"
>
<a
href=
"{ms:global.host/}"
>
首页
</a>
<span>
>
</span>
<a
href=
"{ms:field.typelink/}"
>
{ms:field.typetitle/
}
</a>
<a
href=
"{ms:field.typelink/}"
>
${field.typetitle
}
</a>
</div>
<div
class=
"ms-content-right-main"
>
<div
class=
"ms-content-right-main-title"
>
{ms:field.title/}
</div>
...
...
src/main/webapp/templets/1/default/case-list.htm
View file @
2cc387c2
...
...
@@ -28,7 +28,7 @@
</p> -->
</div>
<div
class=
"ms-content-main-case-click"
>
<a
target=
"_blank"
href=
"${
field
.source}"
>
点击查看
</a>
<a
target=
"_blank"
href=
"${
item
.source}"
>
点击查看
</a>
</div>
</div>
</div>
...
...
src/main/webapp/templets/1/default/news-list.htm
View file @
2cc387c2
...
...
@@ -15,7 +15,7 @@
<div
class=
"ms-content-right-position"
>
<a
href=
"{ms:global.host/}"
>
首页
</a>
<span>
>
</span>
<a
href=
"{ms:field.typelink/}"
>
{
ms:field.typetitle/
}
</a>
<a
href=
"{ms:field.typelink/}"
>
{
column.typetitle
}
</a>
</div>
<div
class=
"ms-content-main-list"
>
...
...
src/main/webapp/templets/1/default/news-show.htm
View file @
2cc387c2
...
...
@@ -51,8 +51,8 @@
<p>
${field.content!''}
</p><br/>
</div>
<div
class=
"metfield"
>
<p>
上一篇:
<a
href=
"
{ms:global.url/}{ms:pre.link/}"
>
{ms:pre.title/
}
</a></p>
<p>
下一篇:
<a
href=
"
{ms:global.url/}{ms:next.link/}"
>
{ms:next.title/
}
</a></p>
<p>
上一篇:
<a
href=
"
${global.url}${pre.link}"
>
${pre.title
}
</a></p>
<p>
下一篇:
<a
href=
"
${global.url}${next.link}"
>
${next.title
}
</a></p>
</div>
</div>
<div
class=
"ms-content-right-main-content-Fabulous"
>
...
...
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