-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathAdvancedSettings.cs
42 lines (40 loc) · 1.43 KB
/
AdvancedSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace MyBlog.UI.Models
{
public class AdvancedSettings
{
[DisplayName("Last Category")]
public bool DisplayLastCategory { get; set; }
[DisplayName("Last Post")]
public bool DisplayLastPost { get; set; }
[DisplayName("Facebook")]
public bool DisplayFbWidget { get; set; }
[DisplayName("Twitter")]
public bool DisplayTwWidget { get; set; }
[DisplayName("Google Adv")]
public bool DisplayGoogleAdv { get; set; }
[DisplayName("disqus Widget")]
public bool DisplaydisqusWidget { get; set; }
[DisplayName("Local Comment Widget")]
public bool DisplayLocalCommentWidget { get; set; }
[DisplayName("FB Login")]
public bool DisplayFBLogin { get; set; }
[DisplayName("Register")]
public bool DisplayRegister { get; set; }
[DisplayName("FB App ID")]
public string FBAppID { get; set; }
[DisplayName("FB App Secret")]
[DataType(DataType.Password)]
public string FBAppSecret { get; set; }
[DisplayName("Google Site key")]
public string GoogleSitekey { get; set; }
[DisplayName("Google Secret key")]
[DataType(DataType.Password)]
public string GoogleSecretkey { get; set; }
}
}