From 383ab0d356e0b012740200ad366791a452b1d07c Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 24 May 2023 15:34:22 +0700 Subject: [PATCH] Minor improvements (#715) --- .editorconfig | 2 +- styles/templates/admin/admin_mass_email.tpl | 105 +++++++++--------- styles/templates/admin/admin_ranks.tpl | 2 +- styles/templates/default/group_edit.tpl | 24 ++-- styles/templates/default/index.tpl | 2 +- styles/templates/default/info.tpl | 46 ++++---- styles/templates/default/memberlist.tpl | 2 +- styles/templates/default/posting_editor.tpl | 16 +-- .../templates/default/usercp_viewprofile.tpl | 10 +- styles/templates/default/viewtopic.tpl | 4 +- 10 files changed, 109 insertions(+), 104 deletions(-) diff --git a/.editorconfig b/.editorconfig index 87694ddab..ddde48ba4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,5 +15,5 @@ indent_size = 2 [*.{diff,md}] trim_trailing_whitespace = false -[*.php] +[*.{php,tpl}] indent_size = 4 diff --git a/styles/templates/admin/admin_mass_email.tpl b/styles/templates/admin/admin_mass_email.tpl index 03b820c01..c7ad58ee1 100644 --- a/styles/templates/admin/admin_mass_email.tpl +++ b/styles/templates/admin/admin_mass_email.tpl @@ -4,63 +4,62 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{L_COMPOSE}
{L_RECIPIENTS}{S_GROUP_SELECT}
{L_MASS_EMAIL_MESSAGE_TYPE} - -
{L_REPLY_TO} - -
{L_SUBJECT} - -
{L_MESSAGE} - -
-
- + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{L_COMPOSE}
{L_RECIPIENTS}{S_GROUP_SELECT}
{L_MASS_EMAIL_MESSAGE_TYPE} + +
{L_REPLY_TO} + +
{L_SUBJECT} + +
{L_MESSAGE} + +
+
diff --git a/styles/templates/admin/admin_ranks.tpl b/styles/templates/admin/admin_ranks.tpl index 884024270..ff7139cb1 100644 --- a/styles/templates/admin/admin_ranks.tpl +++ b/styles/templates/admin/admin_ranks.tpl @@ -65,7 +65,7 @@ {L_RANK_TITLE} {L_RANK_IMAGE} - {L_ACTION} + {L_ACTION} diff --git a/styles/templates/default/group_edit.tpl b/styles/templates/default/group_edit.tpl index 3f9a3e741..5ea1fbdf8 100644 --- a/styles/templates/default/group_edit.tpl +++ b/styles/templates/default/group_edit.tpl @@ -1,17 +1,17 @@

{PAGE_TITLE} :: {GROUP_NAME}

diff --git a/styles/templates/default/index.tpl b/styles/templates/default/index.tpl index c89f603d2..daaa31d9c 100644 --- a/styles/templates/default/index.tpl +++ b/styles/templates/default/index.tpl @@ -14,7 +14,7 @@
{L_SEARCH_LATEST} · {L_SEARCH_SELF} {OPEN_MENU_IMG_ALT} · - {FEED_IMG} {L_LATEST_RELEASES} · + {FEED_IMG} {L_LATEST_RELEASES} · {FEED_IMG} {L_FORUM_MAP}
diff --git a/styles/templates/default/info.tpl b/styles/templates/default/info.tpl index 625770c72..662883f64 100644 --- a/styles/templates/default/info.tpl +++ b/styles/templates/default/info.tpl @@ -1,32 +1,32 @@
-
- {PAGE_TITLE} - -
{REQUIRE}
- -
-

[ {L_LOCK} ] -

+
+ {PAGE_TITLE} + +
{REQUIRE}
+ +
+

[ {L_LOCK} ] +


diff --git a/styles/templates/default/memberlist.tpl b/styles/templates/default/memberlist.tpl index eddaaa62f..4e77baa2e 100644 --- a/styles/templates/default/memberlist.tpl +++ b/styles/templates/default/memberlist.tpl @@ -39,7 +39,7 @@ {memberrow.ROW_NUMBER} -
{memberrow.AVATAR}
{memberrow.USER} +
{memberrow.AVATAR}
{memberrow.USER} {memberrow.PM} {memberrow.EMAIL} {memberrow.FROM} diff --git a/styles/templates/default/posting_editor.tpl b/styles/templates/default/posting_editor.tpl index f433d61f1..f81b154c4 100644 --- a/styles/templates/default/posting_editor.tpl +++ b/styles/templates/default/posting_editor.tpl @@ -17,13 +17,13 @@ ajax.callback.posts = function(data) { - - + + - - - - + + + + @@ -57,8 +57,8 @@ ajax.callback.posts = function(data) { - - + +