blob: 5c6cd53d0b795955ca3194d3c60d176777245f0d (
plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
<com:TContent ID="Main">
<h2>Administration Center</h2>
<com:Application.Pages.Admin.AdminMenu />
<com:TPanel GroupingText="General settings">
<span class="input-label">Title</span>
<br/>
<com:TTextBox ID="SiteTitle" Columns="50"/>
<br/>
<span class="input-label">Subtitle</span>
<br/>
<com:TTextBox ID="SiteSubtitle" Columns="50"/>
<br/>
<span class="input-label">Owner name</span>
<br/>
<com:TTextBox ID="SiteOwner" />
<br/>
<span class="input-label">Owner email</span>
<br/>
<com:TTextBox ID="AdminEmail" />
<br/>
<span class="input-label">Site theme</span>
<br/>
<com:TDropDownList ID="ThemeName" />
<br/>
</com:TPanel>
<com:TPanel GroupingText="Account settings">
<com:TCheckBox ID="MultipleUser" Text="Allow creating new accounts" />
<br/>
<com:TCheckBox ID="AccountApproval" Text="New accounts need approval" />
<br/>
</com:TPanel>
<com:TPanel GroupingText="Post settings">
<span class="input-label">Number of posts per page</span>
<com:TTextBox ID="PostPerPage" Columns="8"/>
<com:TRegularExpressionValidator
ControlToValidate="PostPerPage"
ValidationGroup="settings"
Display="Dynamic"
RegularExpression="[1-9]\d*"
Text="Please enter a number." />
<br/>
<span class="input-label">Number of recent comments shown</span>
<com:TTextBox ID="RecentComments" Columns="8"/>
<com:TRegularExpressionValidator
ControlToValidate="RecentComments"
ValidationGroup="settings"
Display="Dynamic"
RegularExpression="[1-9]\d*"
Text="Please enter a number." />
<br/>
<com:TCheckBox ID="PostApproval" Text="New posts need approval" />
<br/>
</com:TPanel>
<br/>
<com:TLinkButton
Text="Save"
ValidationGroup="settings"
CssClass="link-button"
OnClick="saveButtonClicked" />
<com:TLabel ID="Result" Visible=<%= $this->IsPostBack && $this->IsValid %> Text="Your changes have been saved." />
</com:TContent>
|