-
Notifications
You must be signed in to change notification settings - Fork 869
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
80 changed files
with
355 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
|
||
server='localhost' | ||
dataBase='ZKEACMS_Core' | ||
dataBase='ZKEACMS' | ||
dbUserId='sa' | ||
dbPassword='sa' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
server='localhost' | ||
database='ZKEACMS_Core' | ||
database='ZKEACMS' | ||
username='sa' | ||
password='sa' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SET ANSI_NULLS ON | ||
GO | ||
|
||
SET QUOTED_IDENTIFIER ON | ||
GO | ||
|
||
CREATE TABLE [dbo].[ArticleSpecialDetailWidget]( | ||
[ID] [nvarchar](100) NOT NULL, | ||
[ArticleId] [int] NULL, | ||
[ArticleName] [nvarchar](100) NULL, | ||
CONSTRAINT [PK_ArticleSpecialDetailWidget] PRIMARY KEY CLUSTERED | ||
( | ||
[ID] ASC | ||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
) ON [PRIMARY] | ||
|
||
GO | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
update Language set LanValue=N'英文名' where LanKey=N'ArticleEntity@Url' and CultureName=N'zh-CN' | ||
update Language set LanValue=N'英文名' where LanKey=N'ArticleType@Url' and CultureName=N'zh-CN' | ||
update Language set LanValue=N'英文名' where LanKey=N'ProductCategory@Url' and CultureName=N'zh-CN' | ||
update Language set LanValue=N'英文名' where LanKey=N'ProductEntity@Url' and CultureName=N'zh-CN' | ||
update Language set LanValue='英文名' where LanKey='ArticleEntity@Url' and CultureName='zh-CN'; | ||
update Language set LanValue='英文名' where LanKey='ArticleType@Url' and CultureName='zh-CN'; | ||
update Language set LanValue='英文名' where LanKey='ProductCategory@Url' and CultureName='zh-CN'; | ||
update Language set LanValue='英文名' where LanKey='ProductEntity@Url' and CultureName='zh-CN'; | ||
|
||
delete from [Language] where LanKey='ArticleSpecialDetailWidget@ArticleId' | ||
delete from [Language] where LanKey='ArticleSpecialDetailWidget@ArticleName' | ||
delete FROM [Language] where LanKey like 'TemplateFile@%' | ||
delete from [Language] where LanKey='ArticleSpecialDetailWidget@ArticleId'; | ||
delete from [Language] where LanKey='ArticleSpecialDetailWidget@ArticleName'; | ||
delete FROM [Language] where LanKey like 'TemplateFile@%'; | ||
|
||
insert into dbo.Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('ArticleSpecialDetailWidget@ArticleId','zh-CN','文章ID','ArticleSpecialDetailWidget','EntityProperty') | ||
insert into dbo.Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('ArticleSpecialDetailWidget@ArticleName','zh-CN','文章英文名','ArticleSpecialDetailWidget','EntityProperty') | ||
insert into Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('ArticleSpecialDetailWidget@ArticleId','zh-CN','文章ID','ArticleSpecialDetailWidget','EntityProperty'); | ||
insert into Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('ArticleSpecialDetailWidget@ArticleName','zh-CN','文章英文名','ArticleSpecialDetailWidget','EntityProperty'); | ||
|
||
insert into dbo.Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@Content','zh-CN','模板代码','TemplateFile','EntityProperty') | ||
insert into dbo.Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@LastUpdateTime','zh-CN','最后更新时间','TemplateFile','EntityProperty') | ||
insert into dbo.Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@Name','zh-CN','名称','TemplateFile','EntityProperty') | ||
insert into dbo.Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@RelativePath','zh-CN','模板路径','TemplateFile','EntityProperty') | ||
insert into dbo.Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@ThemeName','zh-CN','主题','TemplateFile','EntityProperty') | ||
insert into Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@Content','zh-CN','模板代码','TemplateFile','EntityProperty'); | ||
insert into Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@LastUpdateTime','zh-CN','最后更新时间','TemplateFile','EntityProperty'); | ||
insert into Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@Name','zh-CN','名称','TemplateFile','EntityProperty'); | ||
insert into Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@RelativePath','zh-CN','模板路径','TemplateFile','EntityProperty'); | ||
insert into Language (LanKey,CultureName,LanValue,Module,LanType) VALUES('TemplateFile@ThemeName','zh-CN','主题','TemplateFile','EntityProperty'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using System.IO; | ||
|
||
namespace Easy.Extend | ||
{ | ||
public static class ExtFile | ||
{ | ||
public static bool ExistDirectory(string path) | ||
{ | ||
return Directory.Exists(path); | ||
} | ||
|
||
public static bool ExistFile(string path) | ||
{ | ||
return File.Exists(path); | ||
} | ||
|
||
public static string ReadFile(string path) | ||
{ | ||
if (!ExistFile(path)) return string.Empty; | ||
|
||
return File.ReadAllText(path, Encoding.UTF8); | ||
} | ||
|
||
public static string[] GetFiles(string path, string searchPattern, SearchOption opt = SearchOption.AllDirectories) | ||
{ | ||
if (!ExistDirectory(path)) return null; | ||
return Directory.GetFiles(path, searchPattern, opt); | ||
} | ||
|
||
public static void WriteFile(string path, string content, Encoding encoding = null) | ||
{ | ||
if (encoding == null) encoding = Encoding.UTF8; | ||
string dire = Path.GetDirectoryName(path); | ||
if (!ExistDirectory(dire)) Directory.CreateDirectory(dire); | ||
File.WriteAllText(path, content, encoding); | ||
} | ||
|
||
public static void DeleteFile(string path) | ||
{ | ||
File.Delete(path); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/ZKEACMS.WebHost/wwwroot/js/tinymce/plugins/advlist/plugin.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/ZKEACMS.WebHost/wwwroot/js/tinymce/plugins/anchor/plugin.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.