namespace ZelWiki.Library
{
public static class Constants
{
public const string CRYPTOCHECK = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
public const string DEFAULTUSERNAME = "admin@ipangci.top";
public const string DEFAULTACCOUNT = "admin";
public const string DEFAULTPASSWORD = "Zhu0906.";
public enum WikiTheme
{
Light,
Dark
}
public enum AdminPasswordChangeState
{
///
/// 密码为默认
///
IsDefault,
///
/// 已修改密码
///
HasBeenChanged,
///
/// 默认密码状态不存在,需要将密码设置为默认值
///
NeedsToBeSet
}
public static class WikiInstruction
{
public static string Deprecate { get; } = "Deprecate";
public static string Protect { get; } = "Protect";
public static string Template { get; } = "Template";
public static string Review { get; } = "Review";
public static string Include { get; } = "Include";
public static string Draft { get; } = "Draft";
public static string NoCache { get; } = "NoCache";
public static string HideFooterComments { get; } = "HideFooterComments";
public static string HideFooterLastModified { get; } = "HideFooterLastModified";
}
public static class Roles
{
///
///管理员可以做任何事情。添加、编辑、删除、页面、用户等。
///
public const string Administrator = "Administrator";
///
/// 成员
///
public const string Member = "Member";
///
/// 版主
///
public const string Contributor = "Contributor";
///
/// 主持
///
public const string Moderator = "Moderator";
}
}
}