| 1 |
lars |
1 |
<%@ Title="System Configuration" %>
|
|
|
2 |
|
|
|
3 |
<com:TContent ID="Main">
|
|
|
4 |
|
|
|
5 |
<h2>Administration Center</h2>
|
|
|
6 |
|
|
|
7 |
<com:Application.Pages.Admin.AdminMenu />
|
|
|
8 |
|
|
|
9 |
<com:TPanel GroupingText="General settings">
|
|
|
10 |
|
|
|
11 |
<span class="input-label">Title</span>
|
|
|
12 |
<br/>
|
|
|
13 |
<com:TTextBox ID="SiteTitle" Columns="50"/>
|
|
|
14 |
<br/>
|
|
|
15 |
|
|
|
16 |
<span class="input-label">Subtitle</span>
|
|
|
17 |
<br/>
|
|
|
18 |
<com:TTextBox ID="SiteSubtitle" Columns="50"/>
|
|
|
19 |
<br/>
|
|
|
20 |
|
|
|
21 |
<span class="input-label">Owner name</span>
|
|
|
22 |
<br/>
|
|
|
23 |
<com:TTextBox ID="SiteOwner" />
|
|
|
24 |
<br/>
|
|
|
25 |
|
|
|
26 |
<span class="input-label">Owner email</span>
|
|
|
27 |
<br/>
|
|
|
28 |
<com:TTextBox ID="AdminEmail" />
|
|
|
29 |
<br/>
|
|
|
30 |
|
|
|
31 |
<span class="input-label">Site theme</span>
|
|
|
32 |
<br/>
|
|
|
33 |
<com:TDropDownList ID="ThemeName" />
|
|
|
34 |
<br/>
|
|
|
35 |
|
|
|
36 |
</com:TPanel>
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
<com:TPanel GroupingText="Account settings">
|
|
|
40 |
|
|
|
41 |
<com:TCheckBox ID="MultipleUser" Text="Allow creating new accounts" />
|
|
|
42 |
<br/>
|
|
|
43 |
|
|
|
44 |
<com:TCheckBox ID="AccountApproval" Text="New accounts need approval" />
|
|
|
45 |
<br/>
|
|
|
46 |
|
|
|
47 |
</com:TPanel>
|
|
|
48 |
|
|
|
49 |
<com:TPanel GroupingText="Post settings">
|
|
|
50 |
|
|
|
51 |
<span class="input-label">Number of posts per page</span>
|
|
|
52 |
<com:TTextBox ID="PostPerPage" Columns="8"/>
|
|
|
53 |
<com:TRegularExpressionValidator
|
|
|
54 |
ControlToValidate="PostPerPage"
|
|
|
55 |
ValidationGroup="settings"
|
|
|
56 |
Display="Dynamic"
|
|
|
57 |
RegularExpression="[1-9]\d*"
|
|
|
58 |
Text="Please enter a number." />
|
|
|
59 |
<br/>
|
|
|
60 |
|
|
|
61 |
<span class="input-label">Number of recent comments shown</span>
|
|
|
62 |
<com:TTextBox ID="RecentComments" Columns="8"/>
|
|
|
63 |
<com:TRegularExpressionValidator
|
|
|
64 |
ControlToValidate="RecentComments"
|
|
|
65 |
ValidationGroup="settings"
|
|
|
66 |
Display="Dynamic"
|
|
|
67 |
RegularExpression="[1-9]\d*"
|
|
|
68 |
Text="Please enter a number." />
|
|
|
69 |
<br/>
|
|
|
70 |
|
|
|
71 |
<com:TCheckBox ID="PostApproval" Text="New posts need approval" />
|
|
|
72 |
<br/>
|
|
|
73 |
|
|
|
74 |
</com:TPanel>
|
|
|
75 |
<br/>
|
|
|
76 |
<com:TLinkButton
|
|
|
77 |
Text="Save"
|
|
|
78 |
ValidationGroup="settings"
|
|
|
79 |
CssClass="link-button"
|
|
|
80 |
OnClick="saveButtonClicked" />
|
|
|
81 |
<com:TLabel ID="Result" Visible=<%= $this->IsPostBack && $this->IsValid %> Text="Your changes have been saved." />
|
|
|
82 |
|
|
|
83 |
</com:TContent>
|