-
Notifications
You must be signed in to change notification settings - Fork 5
/
cc_usersettings.tpl
146 lines (128 loc) · 6.9 KB
/
cc_usersettings.tpl
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!-- BEGIN TEMPLATE cc_usersettings.tpl -->
{IF ERROR}<div class="attention">{ERROR}</div>{/IF}
{IF OKMSG}<div class="information">{OKMSG}</div>{/IF}
<form action="{URL->ACTION}" method="POST">
{POST_VARS}
<div class="generic">
<dl>
{IF PROFILE->USERPROFILE}
<dt>{LANG->RealName}: </dt>
<dd><input type="text" name="real_name" size="30" value="{PROFILE->real_name}" /></dd>
{/IF}
{IF PROFILE->SIGSETTINGS}
<dt>{LANG->Signature}: </dt>
<dd><div id="post-body"><textarea name="signature" id="body" class="body" rows="15" cols="50">{PROFILE->signature}</textarea></div></dd>
{/IF}
{IF PROFILE->MAILSETTINGS}
<dt>{LANG->Email}: * </dt>
<dd>
<input type="text" name="email" size="30" value="{PROFILE->email}" />
{IF PROFILE->EMAIL_CONFIRM}
<br /><small>{LANG->EmailConfirmRequired}</small>
{/IF}
</dd>
{IF PROFILE->email_temp_part}
<dt>{LANG->EmailVerify}: </dt>
<dd>
{LANG->EmailVerifyDesc} {PROFILE->email_temp_part}<br />
{LANG->EmailVerifyEnterCode}: <input type="text" name="email_verify_code" value="" />
</dd>
{/IF}
{IF SHOW_EMAIL_HIDE}<dd><input type="checkbox" name="hide_email" value="1"{PROFILE->hide_email_checked} /> {LANG->AllowSeeEmail}</dd>{/IF}
{IF PROFILE->show_moderate_options}
<dd><input type="checkbox" name="moderation_email" value="1"{PROFILE->moderation_email_checked} /> {LANG->ReceiveModerationMails}</dd>
{/IF}
{/IF}
{IF PROFILE->PRIVACYSETTINGS}
{IF SHOW_EMAIL_HIDE}<dd><input type="checkbox" name="hide_email" value="1"{PROFILE->hide_email_checked} /> {LANG->AllowSeeEmail}</dd>{/IF}
<dd><input type="checkbox" name="hide_activity" value="1"{PROFILE->hide_activity_checked} /> {LANG->AllowSeeActivity}</dd>
{/IF}
{IF PROFILE->BOARDSETTINGS}
{IF PROFILE->TZSELECTION}
<dt>{LANG->Timezone}: </dt>
<dd>
<select name="tz_offset">
{LOOP TIMEZONE}
<option value="{TIMEZONE->tz}"{TIMEZONE->sel}>{TIMEZONE->str}</option>
{/LOOP TIMEZONE}
</select>
</dd>
<dt>{LANG->IsDST}: </dt>
<dd><input type="checkbox" name="is_dst" value="1"{IF PROFILE->is_dst 1} checked="checked"{/IF}/></dd>
{/IF}
<dt>{LANG->Language}: </dt>
<dd>
<select name="user_language">
{LOOP LANGUAGES}
<option value="{LANGUAGES->file}"{LANGUAGES->sel}>{LANGUAGES->name}</option>
{/LOOP LANGUAGES}
</select>
</dd>
{IF PROFILE->TMPLSELECTION}
<dt>{LANG->Template}: </dt>
<dd>
<select name="user_template">
{LOOP TEMPLATES}
<option value="{TEMPLATES->file}"{TEMPLATES->sel}>{TEMPLATES->name}</option>
{/LOOP TEMPLATES}
</select>
</dd>
{/IF}
<dt>{LANG->ThreadViewList}: </dt>
<dd>
<select name="threaded_list">
<option value="0">{LANG->Default}</option>
<option value="1" {IF PROFILE->threaded_list} selected="selected"{/IF}>{LANG->ViewThreadedList}</option>
<option value="2" {IF PROFILE->threaded_list 2} selected="selected"{/IF}>{LANG->ViewFlatList}</option>
</select>
</dd>
<dt>{LANG->ThreadViewRead}: </dt>
<dd>
<select name="threaded_read">
<option value="0">{LANG->Default}</option>
<option value="1" {IF PROFILE->threaded_read} selected="selected"{/IF}>{LANG->ViewThreadedRead}</option>
<option value="2" {IF PROFILE->threaded_read 2} selected="selected"{/IF}>{LANG->ViewFlatRead}</option>
<option value="3" {IF PROFILE->threaded_read 3} selected="selected"{/IF}>{LANG->ViewHybridRead}</option>
</select>
</dd>
<dt>{LANG->EnableNotifyDefault}: </dt>
<dd>
<select name="email_notify">
<option value="0"{IF PROFILE->email_notify 0} selected="selected" {/IF}>{LANG->None}</option>
<option value="1"{IF PROFILE->email_notify 1} selected="selected" {/IF}>{LANG->FollowThread}</option>
<option value="2"{IF PROFILE->email_notify 2} selected="selected" {/IF}>{LANG->FollowWithEmailCC}</option>
</select>
</dd>
<dt>{LANG->AddSigDefault}: </dt>
<dd>
<select name="show_signature">
<option value="0"{IF PROFILE->show_signature 0} selected="selected" {/IF}>{LANG->No}</option>
<option value="1"{IF PROFILE->show_signature 1} selected="selected" {/IF}>{LANG->Yes}</option>
</select>
</dd>
{IF SHOW_PM_EMAIL_NOTIFY}
<dt>{LANG->PMNotifyEnableSetting}: </dt>
<dd>
<select name="pm_email_notify">
<option value="0"{IF PROFILE->pm_email_notify 0} selected="selected" {/IF}>{LANG->No}</option>
<option value="1"{IF PROFILE->pm_email_notify 1} selected="selected" {/IF}>{LANG->Yes}</option>
</select>
</dd>
{/IF}
{/IF}
{IF PROFILE->CHANGEPASSWORD}
<dt>{LANG->OriginalPassword}: * </dt>
<dd>
<input type="password" name="password_old" size="30" value="" />
</dd>
<dt>{LANG->NewPassword}: * </dt>
<dd><input type="password" name="password_new" size="30" value="" /></dd>
<dd><input type="password" name="password_new2" size="30" value="" /> ({LANG->again})</dd>
{/IF}
{HOOK "tpl_cc_usersettings" PROFILE}
<dd><small>*{LANG->Required}</small></dd>
</dl>
<div><input type="submit" value=" {LANG->Submit} " /></div>
</div>
</form>
<!-- END TEMPLATE cc_usersettings.tpl -->