Skip to content

Commit

Permalink
Added extra instruction line about benefits of creating a user accoun…
Browse files Browse the repository at this point in the history
…t when submitting a comment

Update for improvement #959
  • Loading branch information
eSilverStrike committed Sep 4, 2019
1 parent a2d0764 commit dd9f7e4
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 12 deletions.
1 change: 1 addition & 0 deletions language/english.php
Expand Up @@ -230,6 +230,7 @@
21 => 'Read other people\'s messages before posting your own to avoid simply duplicating what has already been said.',
22 => 'Use a clear subject that describes what your message is about.',
23 => 'Your email address will NOT be made public.',
'instr_line6' => 'When logged in as a user your comments will be linked to your account and you can specify if you would like notifications of any replies.',
24 => 'Anonymous User',
25 => 'Are you sure you want to report this post to the site admin?',
26 => '%s reported the following abusive comment post:',
Expand Down
1 change: 1 addition & 0 deletions language/english_utf-8.php
Expand Up @@ -230,6 +230,7 @@
21 => 'Read other people\'s messages before posting your own to avoid simply duplicating what has already been said.',
22 => 'Use a clear subject that describes what your message is about.',
23 => 'Your email address will NOT be made public.',
'instr_line6' => 'When logged in as a user your comments will be linked to your account and you can specify if you would like notifications of any replies.',
24 => 'Anonymous User',
25 => 'Are you sure you want to report this post to the site admin?',
26 => '%s reported the following abusive comment post:',
Expand Down
1 change: 1 addition & 0 deletions language/japanese_utf-8.php
Expand Up @@ -238,6 +238,7 @@
21 => '他の人のコメントをよく読んで同じようなコメントを投稿しないようにしてください。',
22 => '内容がよくわかるタイトルをつけてください。',
23 => 'あなたのメールアドレスは公開しません!',
'instr_line6' => 'When logged in as a user your comments will be linked to your account and you can specify if you would like notifications of any replies.',
24 => 'ゲストユーザー',
25 => 'この投稿をサイト管理者に不正な投稿として報告してよいですか?',
26 => '%s さんが以下を不正なコメントの投稿と報告しています:',
Expand Down
6 changes: 4 additions & 2 deletions public_html/layout/denim/comment/commentform.thtml
Expand Up @@ -6,7 +6,6 @@
<form action="{form_url}" method="post" id="commentform" class="compact uk-form">

<div class="user_basic">
{!if is_anon}
<dl class="importantstuff clearfix">
<dt>{lang_importantstuff}</dt>
<dd>
Expand All @@ -15,11 +14,14 @@
<li class="li-importantstuff">{lang_instr_line2}</li>
<li class="li-importantstuff">{lang_instr_line3}</li>
<li class="li-importantstuff">{lang_instr_line4}</li>
{!if is_anon}
<li class="li-importantstuff">{lang_instr_line6}</li>
{!else}
<li class="li-importantstuff">{lang_instr_line5}</li>
{!endif}
</ul>
</dd>
</dl>
{!endif}

<dl class="form_block">
<dt class="dt-commentform-username">{lang_username}</dt>
Expand Down
6 changes: 4 additions & 2 deletions public_html/layout/denim/comment/commentform_advanced.thtml
Expand Up @@ -6,7 +6,6 @@
<div id="commenteditform">
<form action="{form_url}" method="post" onsubmit='set_postcontent();' id="commentform_advanced" class="compact uk-form">
<div class="user_basic">
{!if is_anon}
<dl class="importantstuff clearfix">
<dt>{lang_importantstuff}</dt>
<dd>
Expand All @@ -15,11 +14,14 @@
<li class="li-importantstuff">{lang_instr_line2}</li>
<li class="li-importantstuff">{lang_instr_line3}</li>
<li class="li-importantstuff">{lang_instr_line4}</li>
{!if is_anon}
<li class="li-importantstuff">{lang_instr_line6}</li>
{!else}
<li class="li-importantstuff">{lang_instr_line5}</li>
{!endif}
</ul>
</dd>
</dl>
{!endif}

<dl class="form_block">
<dt class="dt-commentform-username">{lang_username}</dt>
Expand Down
6 changes: 4 additions & 2 deletions public_html/layout/denim_three/comment/commentform.thtml
Expand Up @@ -6,7 +6,6 @@
<form action="{form_url}" method="post" id="commentform" class="compact">

<div class="user_basic">
{!if is_anon}
<dl class="importantstuff clearfix">
<dt>{lang_importantstuff}</dt>
<dd class="controls_text">
Expand All @@ -15,11 +14,14 @@
<li class="li-importantstuff">{lang_instr_line2}</li>
<li class="li-importantstuff">{lang_instr_line3}</li>
<li class="li-importantstuff">{lang_instr_line4}</li>
{!if is_anon}
<li class="li-importantstuff">{lang_instr_line6}</li>
{!else}
<li class="li-importantstuff">{lang_instr_line5}</li>
{!endif}
</ul>
</dd>
</dl>
{!endif}

<dl class="form_block">
<dt class="dt-commentform-username">{lang_username}</dt>
Expand Down
Expand Up @@ -6,7 +6,6 @@
<div id="commenteditform">
<form action="{form_url}" method="post" onsubmit='set_postcontent();' id="commentform_advanced" class="compact">
<div class="user_basic">
{!if is_anon}
<dl class="importantstuff clearfix">
<dt>{lang_importantstuff}</dt>
<dd class="controls_text">
Expand All @@ -15,11 +14,14 @@
<li class="li-importantstuff">{lang_instr_line2}</li>
<li class="li-importantstuff">{lang_instr_line3}</li>
<li class="li-importantstuff">{lang_instr_line4}</li>
{!if is_anon}
<li class="li-importantstuff">{lang_instr_line6}</li>
{!else}
<li class="li-importantstuff">{lang_instr_line5}</li>
{!endif}
</ul>
</dd>
</dl>
{!endif}

<dl class="form_block">
<dt class="dt-commentform-username">{lang_username}</dt>
Expand Down
6 changes: 4 additions & 2 deletions public_html/layout/modern_curve/comment/commentform.thtml
Expand Up @@ -35,7 +35,6 @@
</dd>
</dl>

{!if is_anon}
<dl class="importantstuff">
<dt>{lang_importantstuff}</dt>
<dd>
Expand All @@ -44,11 +43,14 @@
<li>{lang_instr_line2}</li>
<li>{lang_instr_line3}</li>
<li>{lang_instr_line4}</li>
{!if is_anon}
<li>{lang_instr_line6}</li>
{!else}
<li>{lang_instr_line5}</li>
{!endif}
</ul>
</dd>
</dl>
{!endif}

{captcha}

Expand Down
Expand Up @@ -42,7 +42,6 @@
</dd>
</dl>

{!if is_anon}
<dl class="importantstuff">
<dt>{lang_importantstuff}</dt>
<dd>
Expand All @@ -51,11 +50,14 @@
<li>{lang_instr_line2}</li>
<li>{lang_instr_line3}</li>
<li>{lang_instr_line4}</li>
{!if is_anon}
<li>{lang_instr_line6}</li>
{!else}
<li>{lang_instr_line5}</li>
{!endif}
</ul>
</dd>
</dl>
{!endif}

{captcha}

Expand Down
1 change: 1 addition & 0 deletions system/lib-comment.php
Expand Up @@ -1257,6 +1257,7 @@ function CMT_commentForm($title, $comment, $sid, $pid = 0, $type, $mode, $postMo
$comment_template->set_var('lang_instr_line3', $LANG03[21]);
$comment_template->set_var('lang_instr_line4', $LANG03[22]);
$comment_template->set_var('lang_instr_line5', $LANG03[23]);
$comment_template->set_var('lang_instr_line6', $LANG03['instr_line6']);

if ($mode == 'edit' || $mode == $LANG03[28]) {
//editing comment or preview changes
Expand Down

0 comments on commit dd9f7e4

Please sign in to comment.