nodebb-theme-persona 13.2.35 → 13.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/account/blocks.tpl +3 -3
- package/templates/account/categories.tpl +1 -1
- package/templates/account/consent.tpl +15 -15
- package/templates/account/edit/password.tpl +6 -6
- package/templates/account/edit/username.tpl +3 -3
- package/templates/account/edit.tpl +7 -7
- package/templates/account/followers.tpl +1 -1
- package/templates/account/following.tpl +1 -1
- package/templates/account/groups.tpl +1 -1
- package/templates/account/info.tpl +5 -5
- package/templates/account/profile.tpl +2 -2
- package/templates/account/sessions.tpl +1 -1
- package/templates/account/settings.tpl +31 -31
- package/templates/account/theme.tpl +1 -1
- package/templates/account/topics.tpl +1 -1
- package/templates/category.tpl +2 -2
- package/templates/chat.tpl +1 -1
- package/templates/chats.tpl +1 -1
- package/templates/flags/detail.tpl +7 -7
- package/templates/groups/details.tpl +1 -1
- package/templates/groups/list.tpl +5 -5
- package/templates/login.tpl +5 -5
- package/templates/notifications.tpl +2 -2
- package/templates/partials/account/menu.tpl +13 -13
- package/templates/partials/buttons/newTopic.tpl +1 -1
- package/templates/partials/categories/lastpost.tpl +1 -1
- package/templates/partials/category/filter-dropdown-content.tpl +2 -2
- package/templates/partials/category/selector-dropdown-content.tpl +1 -1
- package/templates/partials/category/sort.tpl +6 -6
- package/templates/partials/category/tools.tpl +13 -13
- package/templates/partials/chats/dropdown.tpl +1 -1
- package/templates/partials/chats/message-window.tpl +1 -1
- package/templates/partials/chats-menu.tpl +2 -2
- package/templates/partials/flags/filters.tpl +3 -1
- package/templates/partials/groups/admin.tpl +14 -14
- package/templates/partials/header/chats.tpl +2 -2
- package/templates/partials/header/notifications.tpl +2 -2
- package/templates/partials/notifications_list.tpl +1 -1
- package/templates/partials/post_bar.tpl +2 -2
- package/templates/partials/posts_list_item.tpl +1 -1
- package/templates/partials/search-results.tpl +1 -1
- package/templates/partials/topic/navigator.tpl +1 -1
- package/templates/partials/topic/post-editor.tpl +1 -1
- package/templates/partials/topic/post-menu-list.tpl +1 -1
- package/templates/partials/topic/post.tpl +2 -2
- package/templates/partials/topic/quickreply.tpl +1 -1
- package/templates/partials/topic/sort.tpl +4 -4
- package/templates/partials/topic/tools.tpl +1 -1
- package/templates/partials/topic/topic-menu-list.tpl +14 -14
- package/templates/partials/topics_list.tpl +1 -1
- package/templates/partials/users_list_menu.tpl +3 -3
- package/templates/popular.tpl +1 -1
- package/templates/recent.tpl +1 -1
- package/templates/register.tpl +8 -8
- package/templates/tag.tpl +2 -2
- package/templates/tags.tpl +1 -1
- package/templates/top.tpl +1 -1
- package/templates/unread.tpl +2 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="row justify-content-end mb-2">
|
|
4
4
|
<div class="col-3">
|
|
5
5
|
<div class="dropdown">
|
|
6
|
-
<input class="form-control" type="text" id="user-search" placeholder="[[users:
|
|
6
|
+
<input class="form-control" type="text" id="user-search" placeholder="[[users:enter-username]]" data-bs-toggle="dropdown" autocomplete="off"/>
|
|
7
7
|
|
|
8
8
|
<ul class="dropdown-menu block-edit list-unstyled">
|
|
9
9
|
<li><a href="#" class="dropdown-item">[[admin/menu:search.start-typing]]</a></li>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<div class="text-truncate">
|
|
14
14
|
<a href="{config.relative_path}/uid/{../uid}">{buildAvatar(edit, "24px", true)} {../username}</a>
|
|
15
15
|
</div>
|
|
16
|
-
<button class="btn btn-sm btn-primary text-nowrap" data-uid="{../uid}" data-action="toggle">[[user:
|
|
16
|
+
<button class="btn btn-sm btn-primary text-nowrap" data-uid="{../uid}" data-action="toggle">[[user:block-toggle]]</button>
|
|
17
17
|
</div>
|
|
18
18
|
</li>
|
|
19
19
|
{{{ end }}}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class="users row">
|
|
26
26
|
<div class="col-12">
|
|
27
27
|
<!-- IMPORT partials/users_list.tpl -->
|
|
28
|
-
<div class="alert alert-warning text-center"<!-- IF users.length --> style="display: none;"<!-- END -->>[[user:
|
|
28
|
+
<div class="alert alert-warning text-center"<!-- IF users.length --> style="display: none;"<!-- END -->>[[user:has-no-blocks]]</div>
|
|
29
29
|
<!-- IMPORT partials/paginator.tpl -->
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div class="col-lg-12 mb-2">
|
|
6
6
|
<div class="btn-group bottom-sheet" component="category/watch/all">
|
|
7
7
|
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button">
|
|
8
|
-
<span>[[user:
|
|
8
|
+
<span>[[user:change-all]]</span>
|
|
9
9
|
<span class="caret"></span>
|
|
10
10
|
</button>
|
|
11
11
|
<ul class="dropdown-menu">
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
<!-- ELSE -->
|
|
16
16
|
<div class="alert alert-warning">
|
|
17
|
-
[[user:consent.
|
|
17
|
+
[[user:consent.not-received]]
|
|
18
18
|
<br /><br />
|
|
19
19
|
<div class="text-center">
|
|
20
20
|
<button class="btn btn-warning" data-action="consent">[[user:consent.give]]</button>
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
<!-- END -->
|
|
24
24
|
<div class="card">
|
|
25
25
|
<div class="card-body">
|
|
26
|
-
<p>[[user:consent.
|
|
26
|
+
<p>[[user:consent.email-intro]]</p>
|
|
27
27
|
<!-- IF digest.enabled -->
|
|
28
|
-
<p>[[user:consent.
|
|
28
|
+
<p>[[user:consent.digest-frequency, {digest.frequency}]]</p>
|
|
29
29
|
<!-- ELSE -->
|
|
30
|
-
[[user:consent.
|
|
30
|
+
[[user:consent.digest-off]]
|
|
31
31
|
<!-- END -->
|
|
32
32
|
|
|
33
33
|
<div class="text-center">
|
|
@@ -42,24 +42,24 @@
|
|
|
42
42
|
<div class="col-sm-6">
|
|
43
43
|
<div class="card">
|
|
44
44
|
<div class="card-body">
|
|
45
|
-
<p><strong>[[user:consent.
|
|
46
|
-
<p>[[user:consent.
|
|
47
|
-
<p><strong>[[user:consent.
|
|
48
|
-
<p>[[user:consent.
|
|
49
|
-
<p><strong>[[user:consent.
|
|
50
|
-
<p>[[user:consent.
|
|
51
|
-
<p><strong>[[user:consent.
|
|
52
|
-
<p>[[user:consent.
|
|
45
|
+
<p><strong>[[user:consent.right-of-access]]</strong></p>
|
|
46
|
+
<p>[[user:consent.right-of-access-description]]</p>
|
|
47
|
+
<p><strong>[[user:consent.right-to-rectification]]</strong></p>
|
|
48
|
+
<p>[[user:consent.right-to-rectification-description]]</p>
|
|
49
|
+
<p><strong>[[user:consent.right-to-erasure]]</strong></p>
|
|
50
|
+
<p>[[user:consent.right-to-erasure-description]]</p>
|
|
51
|
+
<p><strong>[[user:consent.right-to-data-portability]]</strong></p>
|
|
52
|
+
<p>[[user:consent.right-to-data-portability-description]]</p>
|
|
53
53
|
|
|
54
54
|
<div class="btn-group-vertical d-grid">
|
|
55
55
|
<a data-action="export-profile" class="btn btn-outline-secondary">
|
|
56
|
-
<i class="fa fa-download"></i> [[user:consent.
|
|
56
|
+
<i class="fa fa-download"></i> [[user:consent.export-profile]]
|
|
57
57
|
</a>
|
|
58
58
|
<a data-action="export-posts" class="btn btn-outline-secondary">
|
|
59
|
-
<i class="fa fa-download"></i> [[user:consent.
|
|
59
|
+
<i class="fa fa-download"></i> [[user:consent.export-posts]]
|
|
60
60
|
</a>
|
|
61
61
|
<a data-action="export-uploads" class="btn btn-outline-secondary">
|
|
62
|
-
<i class="fa fa-download"></i> [[user:consent.
|
|
62
|
+
<i class="fa fa-download"></i> [[user:consent.export-uploads]]
|
|
63
63
|
</a>
|
|
64
64
|
</div>
|
|
65
65
|
</div>
|
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
|
|
6
6
|
<!-- IF isSelf -->
|
|
7
7
|
<div class="mb-2">
|
|
8
|
-
<label class="form-label fw-bold" for="inputCurrentPassword">[[user:
|
|
9
|
-
<input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:
|
|
8
|
+
<label class="form-label fw-bold" for="inputCurrentPassword">[[user:current-password]]</label>
|
|
9
|
+
<input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current-password]]" value=""<!-- IF !hasPassword --> disabled<!-- ENDIF !hasPassword -->>
|
|
10
10
|
</div>
|
|
11
11
|
<!-- ENDIF isSelf -->
|
|
12
12
|
|
|
13
13
|
<div class="mb-2">
|
|
14
|
-
<label class="form-label fw-bold" for="inputNewPassword">[[user:
|
|
14
|
+
<label class="form-label fw-bold" for="inputNewPassword">[[user:new-password]]</label>
|
|
15
15
|
<input class="form-control" type="password" id="inputNewPassword" placeholder="[[user:password]]" value="">
|
|
16
16
|
<span class="form-feedback" id="password-notify"></span>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<div class="mb-2">
|
|
20
|
-
<label class="form-label fw-bold" for="inputNewPasswordAgain">[[user:
|
|
21
|
-
<input class="form-control" type="password" id="inputNewPasswordAgain" placeholder="[[user:
|
|
20
|
+
<label class="form-label fw-bold" for="inputNewPasswordAgain">[[user:confirm-password]]</label>
|
|
21
|
+
<input class="form-control" type="password" id="inputNewPasswordAgain" placeholder="[[user:confirm-password]]" value="">
|
|
22
22
|
<span class="form-feedback" id="password-confirm-notify"></span>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
25
|
<div class="form-actions">
|
|
26
|
-
<button id="changePasswordBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:
|
|
26
|
+
<button id="changePasswordBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change-password]]</button>
|
|
27
27
|
</div>
|
|
28
28
|
</form>
|
|
29
29
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<!-- IF isSelf -->
|
|
12
12
|
<div class="mb-2">
|
|
13
|
-
<label class="form-label fw-bold" for="inputCurrentPassword">[[user:
|
|
14
|
-
<input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:
|
|
13
|
+
<label class="form-label fw-bold" for="inputCurrentPassword">[[user:current-password]]</label>
|
|
14
|
+
<input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current-password]]" value=""<!-- IF !hasPassword --> disabled<!-- ENDIF !hasPassword -->>
|
|
15
15
|
</div>
|
|
16
16
|
<!-- ENDIF isSelf -->
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<br/>
|
|
21
21
|
<div class="form-actions">
|
|
22
|
-
<button id="submitBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:
|
|
22
|
+
<button id="submitBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change-username]]</button>
|
|
23
23
|
</div>
|
|
24
24
|
</form>
|
|
25
25
|
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
<ul class="list-group mb-3">
|
|
16
16
|
<!-- IF allowProfilePicture -->
|
|
17
|
-
<a component="profile/change/picture" href="#" class="list-group-item">[[user:
|
|
17
|
+
<a component="profile/change/picture" href="#" class="list-group-item">[[user:change-picture]]</a>
|
|
18
18
|
<!-- ENDIF allowProfilePicture -->
|
|
19
19
|
<!-- IF !username:disableEdit -->
|
|
20
|
-
<a href="{config.relative_path}/user/{userslug}/edit/username" class="list-group-item">[[user:
|
|
20
|
+
<a href="{config.relative_path}/user/{userslug}/edit/username" class="list-group-item">[[user:change-username]]</a>
|
|
21
21
|
<!-- ENDIF !username:disableEdit -->
|
|
22
22
|
<!-- IF !email:disableEdit -->
|
|
23
|
-
<a href="{config.relative_path}/user/{userslug}/edit/email" class="list-group-item">[[user:
|
|
23
|
+
<a href="{config.relative_path}/user/{userslug}/edit/email" class="list-group-item">[[user:change-email]]</a>
|
|
24
24
|
<!-- ENDIF !email:disableEdit -->
|
|
25
25
|
<!-- IF canChangePassword -->
|
|
26
|
-
<a href="{config.relative_path}/user/{userslug}/edit/password" class="list-group-item">[[user:
|
|
26
|
+
<a href="{config.relative_path}/user/{userslug}/edit/password" class="list-group-item">[[user:change-password]]</a>
|
|
27
27
|
<!-- ENDIF canChangePassword -->
|
|
28
28
|
{{{each editButtons}}}
|
|
29
29
|
<a href="{config.relative_path}{editButtons.link}" class="list-group-item">{editButtons.text}</a>
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
<!-- IF config.requireEmailConfirmation -->
|
|
34
34
|
<!-- IF email -->
|
|
35
35
|
<!-- IF isSelf -->
|
|
36
|
-
<a id="confirm-email" href="#" class="btn btn-warning <!-- IF email:confirmed -->hide<!-- ENDIF email:confirmed -->">[[user:
|
|
36
|
+
<a id="confirm-email" href="#" class="btn btn-warning <!-- IF email:confirmed -->hide<!-- ENDIF email:confirmed -->">[[user:confirm-email]]</a><br/><br/>
|
|
37
37
|
<!-- ENDIF isSelf -->
|
|
38
38
|
<!-- ENDIF email -->
|
|
39
39
|
<!-- ENDIF config.requireEmailConfirmation -->
|
|
40
40
|
|
|
41
41
|
<!-- IF allowAccountDelete -->
|
|
42
42
|
<!-- IF isSelf -->
|
|
43
|
-
<a id="deleteAccountBtn" href="#" class="btn btn-danger">[[user:
|
|
43
|
+
<a id="deleteAccountBtn" href="#" class="btn btn-danger">[[user:delete-account]]</a><br/><br/>
|
|
44
44
|
<!-- ENDIF isSelf -->
|
|
45
45
|
<!-- ENDIF allowAccountDelete -->
|
|
46
46
|
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<!-- ENDIF !disableSignatures -->
|
|
104
104
|
<!-- ENDIF allowSignature -->
|
|
105
105
|
|
|
106
|
-
<a id="submitBtn" href="#" class="btn btn-primary">[[global:
|
|
106
|
+
<a id="submitBtn" href="#" class="btn btn-primary">[[global:save-changes]]</a>
|
|
107
107
|
</form>
|
|
108
108
|
|
|
109
109
|
<hr class="visible-xs visible-sm"/>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<!-- IMPORT partials/users_list.tpl -->
|
|
8
8
|
|
|
9
9
|
<!-- IF !users.length -->
|
|
10
|
-
<div class="alert alert-warning text-center">[[user:
|
|
10
|
+
<div class="alert alert-warning text-center">[[user:has-no-follower]]</div>
|
|
11
11
|
<!-- ENDIF !users.length -->
|
|
12
12
|
|
|
13
13
|
<!-- IMPORT partials/paginator.tpl -->
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<!-- IMPORT partials/users_list.tpl -->
|
|
8
8
|
|
|
9
9
|
<!-- IF !users.length -->
|
|
10
|
-
<div class="alert alert-warning text-center">[[user:
|
|
10
|
+
<div class="alert alert-warning text-center">[[user:follows-no-one]]</div>
|
|
11
11
|
<!-- ENDIF !users.length -->
|
|
12
12
|
|
|
13
13
|
<!-- IMPORT partials/paginator.tpl -->
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div class="col-12 groups list">
|
|
7
7
|
<div component="groups/container" id="groups-list" class="row">
|
|
8
8
|
<!-- IF !groups.length -->
|
|
9
|
-
<div class="alert alert-warning text-center">[[groups:
|
|
9
|
+
<div class="alert alert-warning text-center">[[groups:no-groups-found]]</div>
|
|
10
10
|
<!-- ELSE -->
|
|
11
11
|
<!-- IMPORT partials/groups/list.tpl -->
|
|
12
12
|
<!-- ENDIF !groups.length -->
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
{../browser} {../version} on {../platform}<br />
|
|
20
20
|
<small class="timeago text-muted" title="{../datetimeISO}"></small>
|
|
21
21
|
<ul>
|
|
22
|
-
<li><strong>[[global:
|
|
22
|
+
<li><strong>[[global:ip-address]]</strong>: {../ip}</li>
|
|
23
23
|
</ul>
|
|
24
24
|
</li>
|
|
25
25
|
{{{end}}}
|
|
@@ -108,11 +108,11 @@
|
|
|
108
108
|
|
|
109
109
|
<!-- IF !banned -->
|
|
110
110
|
<!-- IF !isSelf -->
|
|
111
|
-
<button class="btn btn-sm float-end btn-danger" component="account/ban">[[user:
|
|
111
|
+
<button class="btn btn-sm float-end btn-danger" component="account/ban">[[user:ban-account]]</button>
|
|
112
112
|
<!-- ENDIF !isSelf -->
|
|
113
113
|
<!-- ELSE -->
|
|
114
114
|
<!-- IF !isSelf -->
|
|
115
|
-
<button class="btn btn-sm float-end btn-success" component="account/unban">[[user:
|
|
115
|
+
<button class="btn btn-sm float-end btn-success" component="account/unban">[[user:unban-account]]</button>
|
|
116
116
|
<!-- ENDIF !isSelf -->
|
|
117
117
|
<!-- ENDIF !banned -->
|
|
118
118
|
</h5>
|
|
@@ -149,11 +149,11 @@
|
|
|
149
149
|
|
|
150
150
|
{{{ if !muted }}}
|
|
151
151
|
{{{ if !isSelf }}}
|
|
152
|
-
<button class="btn btn-sm float-end btn-danger" component="account/mute">[[user:
|
|
152
|
+
<button class="btn btn-sm float-end btn-danger" component="account/mute">[[user:mute-account]]</button>
|
|
153
153
|
{{{ end }}}
|
|
154
154
|
{{{ else }}}
|
|
155
155
|
{{{ if !isSelf }}}
|
|
156
|
-
<button class="btn btn-sm float-end btn-success" component="account/unmute">[[user:
|
|
156
|
+
<button class="btn btn-sm float-end btn-success" component="account/unmute">[[user:unmute-account]]</button>
|
|
157
157
|
{{{ end }}}
|
|
158
158
|
{{{ end }}}
|
|
159
159
|
</h5>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
<div class="stat">
|
|
43
43
|
<div title="{profileviews}">{humanReadableNumber(profileviews)}</div>
|
|
44
|
-
<span class="stat-label">[[user:
|
|
44
|
+
<span class="stat-label">[[user:profile-views]]</span>
|
|
45
45
|
</div>
|
|
46
46
|
|
|
47
47
|
<div class="stat">
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
<!-- IF email -->
|
|
71
71
|
<span>[[user:email]]</span>
|
|
72
|
-
<strong><i class="fa fa-eye-slash {emailClass}" title="[[user:
|
|
72
|
+
<strong><i class="fa fa-eye-slash {emailClass}" title="[[user:email-hidden]]"></i> {email}</strong>
|
|
73
73
|
<!-- ENDIF email -->
|
|
74
74
|
|
|
75
75
|
<!-- IF websiteName -->
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{../browser} {../version} on {../platform}<br />
|
|
21
21
|
<small class="timeago text-muted" title="{../datetimeISO}"></small>
|
|
22
22
|
<ul>
|
|
23
|
-
<li><strong>[[global:
|
|
23
|
+
<li><strong>[[global:ip-address]]</strong>: {../ip}</li>
|
|
24
24
|
</ul>
|
|
25
25
|
</li>
|
|
26
26
|
{{{end}}}
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
<option value="{homePageRoutes.route}" <!-- IF homePageRoutes.selected -->selected="1"<!-- ENDIF homePageRoutes.selected -->>{homePageRoutes.name}</option>
|
|
26
26
|
{{{end}}}
|
|
27
27
|
</select>
|
|
28
|
-
<p class="form-text">[[user:
|
|
28
|
+
<p class="form-text">[[user:homepage-description]]</p>
|
|
29
29
|
</div>
|
|
30
30
|
<div id="homePageCustom" class="mb-2" style="display: none;">
|
|
31
|
-
<label for="homePageCustom">[[user:
|
|
31
|
+
<label for="homePageCustom">[[user:custom-route]]</label>
|
|
32
32
|
<input type="text" class="form-control" data-property="homePageCustom" id="homePageCustom" value="{settings.homePageRoute}"/>
|
|
33
|
-
<p class="form-text">[[user:
|
|
33
|
+
<p class="form-text">[[user:custom-route-help]]</p>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
<!-- ENDIF allowUserHomePage -->
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<div class="form-check">
|
|
42
42
|
<input class="form-check-input" type="checkbox" data-property="showemail" <!-- IF settings.showemail -->checked <!-- ENDIF settings.showemail -->/>
|
|
43
43
|
<strong>
|
|
44
|
-
<label class="form-check-label">[[user:
|
|
44
|
+
<label class="form-check-label">[[user:show-email]]</label>
|
|
45
45
|
</strong>
|
|
46
46
|
</div>
|
|
47
47
|
<!-- ENDIF !hideEmail -->
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<div class="form-check">
|
|
51
51
|
<input class="form-check-input" type="checkbox" data-property="showfullname" <!-- IF settings.showfullname -->checked<!-- ENDIF settings.showfullname -->/>
|
|
52
52
|
<strong>
|
|
53
|
-
<label class="form-check-label">[[user:
|
|
53
|
+
<label class="form-check-label">[[user:show-fullname]]</label>
|
|
54
54
|
</strong>
|
|
55
55
|
</div>
|
|
56
56
|
<!-- ENDIF !hideFullname -->
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<div class="form-check">
|
|
59
59
|
<input class="form-check-input" type="checkbox" data-property="restrictChat" <!-- IF settings.restrictChat -->checked<!-- ENDIF settings.restrictChat -->/>
|
|
60
60
|
<strong>
|
|
61
|
-
<label class="form-check-label">[[user:
|
|
61
|
+
<label class="form-check-label">[[user:restrict-chats]]</label>
|
|
62
62
|
</strong>
|
|
63
63
|
</div>
|
|
64
64
|
<!-- ENDIF !config.disableChat -->
|
|
@@ -69,28 +69,28 @@
|
|
|
69
69
|
<div class="form-check">
|
|
70
70
|
<input class="form-check-input" type="checkbox" data-property="openOutgoingLinksInNewTab" <!-- IF settings.openOutgoingLinksInNewTab -->checked<!-- ENDIF settings.openOutgoingLinksInNewTab -->/>
|
|
71
71
|
<strong>
|
|
72
|
-
<label class="form-check-label">[[user:
|
|
72
|
+
<label class="form-check-label">[[user:open-links-in-new-tab]]</label>
|
|
73
73
|
</strong>
|
|
74
74
|
</div>
|
|
75
75
|
<!-- IF inTopicSearchAvailable -->
|
|
76
76
|
<div class="form-check">
|
|
77
77
|
<input class="form-check-input" type="checkbox" data-property="topicSearchEnabled" <!-- IF settings.topicSearchEnabled -->checked<!-- ENDIF settings.topicSearchEnabled -->/>
|
|
78
78
|
<strong>
|
|
79
|
-
<label class="form-check-label">[[user:
|
|
79
|
+
<label class="form-check-label">[[user:enable-topic-searching]]</label>
|
|
80
80
|
</strong>
|
|
81
81
|
</div>
|
|
82
|
-
<p class="form-text">[[user:
|
|
82
|
+
<p class="form-text">[[user:topic-search-help]]</p>
|
|
83
83
|
<!-- ENDIF inTopicSearchAvailable -->
|
|
84
84
|
<div class="form-check">
|
|
85
85
|
<input class="form-check-input" type="checkbox" data-property="updateUrlWithPostIndex" {{{ if settings.updateUrlWithPostIndex }}}checked{{{ end }}}/>
|
|
86
86
|
<strong>
|
|
87
|
-
<label class="form-check-label">[[user:
|
|
87
|
+
<label class="form-check-label">[[user:update-url-with-post-index]]</label>
|
|
88
88
|
</strong>
|
|
89
89
|
</div>
|
|
90
90
|
<div class="form-check">
|
|
91
91
|
<input class="form-check-input" type="checkbox" data-property="scrollToMyPost" <!-- IF settings.scrollToMyPost -->checked<!-- ENDIF settings.scrollToMyPost -->/>
|
|
92
92
|
<strong>
|
|
93
|
-
<label class="form-check-label">[[user:
|
|
93
|
+
<label class="form-check-label">[[user:scroll-to-my-post]]</label>
|
|
94
94
|
</strong>
|
|
95
95
|
</div>
|
|
96
96
|
</div>
|
|
@@ -98,14 +98,14 @@
|
|
|
98
98
|
<h4>[[global:pagination]]</h4>
|
|
99
99
|
<div class="card card-body mb-3">
|
|
100
100
|
<div class="mb-2 form-check">
|
|
101
|
-
<input type="checkbox" class="form-check-input" data-property="usePagination" <!-- IF settings.usePagination -->checked<!-- ENDIF settings.usePagination -->> <strong><label class="form-check-label">[[user:
|
|
101
|
+
<input type="checkbox" class="form-check-input" data-property="usePagination" <!-- IF settings.usePagination -->checked<!-- ENDIF settings.usePagination -->> <strong><label class="form-check-label">[[user:paginate-description]]</label></strong>
|
|
102
102
|
</div>
|
|
103
103
|
<div class="mb-3">
|
|
104
|
-
<strong><label class="form-label">[[user:
|
|
104
|
+
<strong><label class="form-label">[[user:topics-per-page]] ([[user:max-items-per-page, {maxTopicsPerPage}]])</label></strong>
|
|
105
105
|
<input type="text" class="form-control" data-property="topicsPerPage" value="{settings.topicsPerPage}">
|
|
106
106
|
</div>
|
|
107
107
|
<div class="">
|
|
108
|
-
<strong><label class="form-label">[[user:
|
|
108
|
+
<strong><label class="form-label">[[user:posts-per-page]] ([[user:max-items-per-page, {maxPostsPerPage}]])</label></strong>
|
|
109
109
|
<input type="text" class="form-control" data-property="postsPerPage" value="{settings.postsPerPage}">
|
|
110
110
|
</div>
|
|
111
111
|
</div>
|
|
@@ -117,19 +117,19 @@
|
|
|
117
117
|
<div class="mb-2">
|
|
118
118
|
<label class="form-label">[[user:category-topic-sort]]</label>
|
|
119
119
|
<select class="form-select" data-property="categoryTopicSort">
|
|
120
|
-
<option value="newest_to_oldest" {{{ if (settings.categoryTopicSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:
|
|
121
|
-
<option value="oldest_to_newest" {{{ if (settings.categoryTopicSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:
|
|
122
|
-
<option value="most_posts" {{{ if (settings.categoryTopicSort == "most_posts") }}}selected{{{ end }}}>[[topic:
|
|
123
|
-
<option value="most_votes" {{{ if (settings.categoryTopicSort == "most_votes") }}}selected{{{ end }}}>[[topic:
|
|
124
|
-
<option value="most_views" {{{ if (settings.categoryTopicSort == "most_views") }}}selected{{{ end }}}>[[topic:
|
|
120
|
+
<option value="newest_to_oldest" {{{ if (settings.categoryTopicSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:newest-to-oldest]]</option>
|
|
121
|
+
<option value="oldest_to_newest" {{{ if (settings.categoryTopicSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:oldest-to-newest]]</option>
|
|
122
|
+
<option value="most_posts" {{{ if (settings.categoryTopicSort == "most_posts") }}}selected{{{ end }}}>[[topic:most-posts]]</option>
|
|
123
|
+
<option value="most_votes" {{{ if (settings.categoryTopicSort == "most_votes") }}}selected{{{ end }}}>[[topic:most-votes]]</option>
|
|
124
|
+
<option value="most_views" {{{ if (settings.categoryTopicSort == "most_views") }}}selected{{{ end }}}>[[topic:most-views]]</option>
|
|
125
125
|
</select>
|
|
126
126
|
</div>
|
|
127
127
|
<div class="">
|
|
128
128
|
<label class="form-label">[[user:topic-post-sort]]</label>
|
|
129
129
|
<select class="form-select" data-property="topicPostSort">
|
|
130
|
-
<option value="oldest_to_newest" {{{ if (settings.topicPostSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:
|
|
131
|
-
<option value="newest_to_oldest" {{{ if (settings.topicPostSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:
|
|
132
|
-
<option value="most_votes" {{{ if (settings.topicPostSort == "most_votes") }}}selected{{{ end }}}>[[topic:
|
|
130
|
+
<option value="oldest_to_newest" {{{ if (settings.topicPostSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:oldest-to-newest]]</option>
|
|
131
|
+
<option value="newest_to_oldest" {{{ if (settings.topicPostSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:newest-to-oldest]]</option>
|
|
132
|
+
<option value="most_votes" {{{ if (settings.topicPostSort == "most_votes") }}}selected{{{ end }}}>[[topic:most-votes]]</option>
|
|
133
133
|
</select>
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
@@ -138,13 +138,13 @@
|
|
|
138
138
|
<h4>[[global:email]]</h4>
|
|
139
139
|
<div class="card card-body mb-3">
|
|
140
140
|
<div class="mb-2">
|
|
141
|
-
<label for="dailyDigestFreq">[[user:
|
|
141
|
+
<label for="dailyDigestFreq">[[user:digest-label]]</label>
|
|
142
142
|
<select class="form-select" id="dailyDigestFreq" data-property="dailyDigestFreq" autocomplete="off">
|
|
143
143
|
{{{each dailyDigestFreqOptions}}}
|
|
144
144
|
<option value="{dailyDigestFreqOptions.value}" <!-- IF dailyDigestFreqOptions.selected -->selected="1"<!-- ENDIF dailyDigestFreqOptions.selected -->>{dailyDigestFreqOptions.name}</option>
|
|
145
145
|
{{{end}}}
|
|
146
146
|
</select>
|
|
147
|
-
<p class="form-text">[[user:
|
|
147
|
+
<p class="form-text">[[user:digest-description]]</p>
|
|
148
148
|
</div>
|
|
149
149
|
</div>
|
|
150
150
|
<!-- ENDIF !disableEmailSubscriptions -->
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</div>
|
|
173
173
|
<!-- IF isAdmin -->
|
|
174
174
|
<!-- IF isSelf -->
|
|
175
|
-
<label>[[user:
|
|
175
|
+
<label>[[user:acp-language]]</label>
|
|
176
176
|
<div class="row">
|
|
177
177
|
<div class="mb-2 col-lg-12">
|
|
178
178
|
<select data-property="acpLang" class="form-select">
|
|
@@ -191,13 +191,13 @@
|
|
|
191
191
|
<div class="form-check">
|
|
192
192
|
<input class="form-check-input" type="checkbox" data-property="followTopicsOnCreate" <!-- IF settings.followTopicsOnCreate -->checked <!-- ENDIF settings.followTopicsOnCreate -->/>
|
|
193
193
|
<strong>
|
|
194
|
-
<label class="form-check-label">[[user:
|
|
194
|
+
<label class="form-check-label">[[user:follow-topics-you-create]]</label>
|
|
195
195
|
</strong>
|
|
196
196
|
</div>
|
|
197
197
|
<div class="form-check">
|
|
198
198
|
<input class="form-check-input" type="checkbox" data-property="followTopicsOnReply" <!-- IF settings.followTopicsOnReply -->checked<!-- ENDIF settings.followTopicsOnReply -->/>
|
|
199
199
|
<strong>
|
|
200
|
-
<label class="form-check-label">[[user:
|
|
200
|
+
<label class="form-check-label">[[user:follow-topics-you-reply-to]]</label>
|
|
201
201
|
</strong>
|
|
202
202
|
</div>
|
|
203
203
|
<div class="mb-2">
|
|
@@ -221,9 +221,9 @@
|
|
|
221
221
|
<div class="mb-2 col-5">
|
|
222
222
|
<select class="form-select" data-property="{notificationSettings.name}">
|
|
223
223
|
<option value="none" <!-- IF notificationSettings.none -->selected<!-- ENDIF notificationSettings.none -->>[[notifications:none]]</option>
|
|
224
|
-
<option value="notification" <!-- IF notificationSettings.notification -->selected<!-- ENDIF notificationSettings.notification -->>[[notifications:
|
|
225
|
-
<option value="email" <!-- IF notificationSettings.email -->selected<!-- ENDIF notificationSettings.email -->>[[notifications:
|
|
226
|
-
<option value="notificationemail" <!-- IF notificationSettings.notificationemail -->selected<!-- ENDIF notificationSettings.notificationemail -->>[[notifications:
|
|
224
|
+
<option value="notification" <!-- IF notificationSettings.notification -->selected<!-- ENDIF notificationSettings.notification -->>[[notifications:notification-only]]</option>
|
|
225
|
+
<option value="email" <!-- IF notificationSettings.email -->selected<!-- ENDIF notificationSettings.email -->>[[notifications:email-only]]</option>
|
|
226
|
+
<option value="notificationemail" <!-- IF notificationSettings.notificationemail -->selected<!-- ENDIF notificationSettings.notificationemail -->>[[notifications:notification-and-email]]</option>
|
|
227
227
|
</select>
|
|
228
228
|
</div>
|
|
229
229
|
</div>
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
</div>
|
|
248
248
|
</div>
|
|
249
249
|
<div class="form-actions">
|
|
250
|
-
<a id="submitBtn" href="#" class="btn btn-primary">[[global:
|
|
250
|
+
<a id="submitBtn" href="#" class="btn btn-primary">[[global:save-changes]]</a>
|
|
251
251
|
</div>
|
|
252
252
|
</div>
|
|
253
253
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</select>
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
-
<button id="save" type="button" class="btn btn-primary">[[global:
|
|
23
|
+
<button id="save" type="button" class="btn btn-primary">[[global:save-changes]]</button>
|
|
24
24
|
</form>
|
|
25
25
|
|
|
26
26
|
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<!-- IF showSort -->
|
|
6
6
|
<div class="btn-toolbar justify-content-end mb-2">
|
|
7
7
|
<div class="btn-group bottom-sheet" component="thread/sort">
|
|
8
|
-
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button"><span>[[topic:
|
|
8
|
+
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button"><span>[[topic:sort-by]]</span> <span class="caret"></span></button>
|
|
9
9
|
<ul class="dropdown-menu dropdown-menu-end">
|
|
10
10
|
{{{each sortOptions }}}
|
|
11
11
|
<li><a class="dropdown-item" href="{config.relative_path}{sortOptions.url}"><i class="fa fa-fw {{{if sortOptions.selected}}}fa-check{{{end}}}"></i>{sortOptions.name}</a></li>
|
package/templates/category.tpl
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div class="topic-list-header sticky-top btn-toolbar justify-content-between py-2 mb-2 flex-nowrap">
|
|
13
13
|
<div class="d-flex gap-1 align-items-stretch">
|
|
14
14
|
{{{ if privileges.topics:create }}}
|
|
15
|
-
<a href="{config.relative_path}/compose?cid={cid}" component="category/post" id="new_topic" class="btn btn-primary text-nowrap" data-ajaxify="false" role="button">[[category:
|
|
15
|
+
<a href="{config.relative_path}/compose?cid={cid}" component="category/post" id="new_topic" class="btn btn-primary text-nowrap" data-ajaxify="false" role="button">[[category:new-topic-button]]</a>
|
|
16
16
|
{{{ else }}}
|
|
17
17
|
{{{ if !loggedIn }}}
|
|
18
18
|
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{{{ if (!topics.length && privileges.topics:create)}}}
|
|
35
35
|
<hr class="visible-xs" />
|
|
36
36
|
<div class="alert alert-warning" id="category-no-topics">
|
|
37
|
-
[[category:
|
|
37
|
+
[[category:no-topics]]
|
|
38
38
|
</div>
|
|
39
39
|
{{{ end }}}
|
|
40
40
|
|
package/templates/chat.tpl
CHANGED
package/templates/chats.tpl
CHANGED
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
<div component="chat/main-wrapper" class="flex-grow-1 ms-md-2 ps-md-2 border-1 border-start-md h-100" style="min-width: 0;" data-roomid="{roomId}">
|
|
48
48
|
<!-- IMPORT partials/chats/message-window.tpl -->
|
|
49
49
|
</div>
|
|
50
|
-
<div class="imagedrop"><div>[[topic:composer.
|
|
50
|
+
<div class="imagedrop"><div>[[topic:composer.drag-and-drop-images]]</div></div>
|
|
51
51
|
</div>
|
|
@@ -152,17 +152,17 @@
|
|
|
152
152
|
{{{ end }}}
|
|
153
153
|
<li class="dropdown-divider"></li>
|
|
154
154
|
{{{ if privileges.ban }}}
|
|
155
|
-
<li class="{{{ if target.user.banned }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="ban">[[user:
|
|
156
|
-
<li class="{{{ if !target.user.banned }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="unban">[[user:
|
|
155
|
+
<li class="{{{ if target.user.banned }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="ban">[[user:ban-account]]</a></li>
|
|
156
|
+
<li class="{{{ if !target.user.banned }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="unban">[[user:unban-account]]</a></li>
|
|
157
157
|
{{{ end }}}
|
|
158
158
|
{{{ if privileges.mute}}}
|
|
159
|
-
<li class="{{{ if target.user.muted }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="mute">[[user:
|
|
160
|
-
<li class="{{{ if !target.user.muted }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="unmute">[[user:
|
|
159
|
+
<li class="{{{ if target.user.muted }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="mute">[[user:mute-account]]</a></li>
|
|
160
|
+
<li class="{{{ if !target.user.muted }}}hidden{{{ end }}}"><a class="dropdown-item" href="#" data-action="unmute">[[user:unmute-account]]</a></li>
|
|
161
161
|
{{{ end }}}
|
|
162
162
|
{{{ if privileges.admin:users }}}
|
|
163
|
-
<li><a class="dropdown-item" href="#" data-action="delete-account">[[user:
|
|
164
|
-
<li><a class="dropdown-item" href="#" data-action="delete-content">[[user:
|
|
165
|
-
<li><a class="dropdown-item" href="#" data-action="delete-all">[[user:
|
|
163
|
+
<li><a class="dropdown-item" href="#" data-action="delete-account">[[user:delete-account-as-admin]]</a></li>
|
|
164
|
+
<li><a class="dropdown-item" href="#" data-action="delete-content">[[user:delete-content]]</a></li>
|
|
165
|
+
<li><a class="dropdown-item" href="#" data-action="delete-all">[[user:delete-all]]</a></li>
|
|
166
166
|
{{{ end }}}
|
|
167
167
|
</ul>
|
|
168
168
|
</div>
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
<div class="col-lg-8 col-12">
|
|
65
65
|
<div class="col-lg-11">
|
|
66
66
|
<!-- IF !posts.length -->
|
|
67
|
-
<div class="alert alert-info">[[groups:details.
|
|
67
|
+
<div class="alert alert-info">[[groups:details.has-no-posts]]</div>
|
|
68
68
|
<!-- ENDIF !posts.length -->
|
|
69
69
|
<!-- IMPORT partials/posts_list.tpl -->
|
|
70
70
|
</div>
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
<div class="row justify-content-between">
|
|
9
9
|
<div class="col-lg-6">
|
|
10
10
|
<!-- IF allowGroupCreation -->
|
|
11
|
-
<button class="btn btn-primary" data-action="new"><i class="fa fa-plus"></i> [[groups:
|
|
11
|
+
<button class="btn btn-primary" data-action="new"><i class="fa fa-plus"></i> [[groups:new-group]]</button>
|
|
12
12
|
<!-- ENDIF allowGroupCreation -->
|
|
13
13
|
</div>
|
|
14
14
|
<div class="col-lg-6">
|
|
15
15
|
<div class="row justify-content-end">
|
|
16
16
|
<div class="col-5 col-md-6">
|
|
17
17
|
<select class="form-select" id="search-sort">
|
|
18
|
-
<option value="alpha">[[groups:details.
|
|
19
|
-
<option value="count">[[groups:details.
|
|
20
|
-
<option value="date">[[groups:details.
|
|
18
|
+
<option value="alpha">[[groups:details.group-name]]</option>
|
|
19
|
+
<option value="count">[[groups:details.member-count]]</option>
|
|
20
|
+
<option value="date">[[groups:details.creation-date]]</option>
|
|
21
21
|
</select>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="col-7 col-md-6">
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<!-- ELSE -->
|
|
41
41
|
<div class="col-12">
|
|
42
42
|
<div class="alert alert-warning">
|
|
43
|
-
[[groups:
|
|
43
|
+
[[groups:no-groups-found]]
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
46
|
<!-- ENDIF groups.length -->
|