Skip to content

Commit

Permalink
add in help text
Browse files Browse the repository at this point in the history
  • Loading branch information
jessewoo authored and nkissebe committed Feb 7, 2025
1 parent 7a0bc85 commit 0731090
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@
</p>

<label for="fieldcomment" id="addNewPostArea">
<?php echo Lang::txt('COM_FORUM_FIELD_COMMENTS'); ?>
<div>
<?php echo Lang::txt('COM_FORUM_FIELD_COMMENTS'); ?>
<span class="note" style='float:right'>Use an @ sign to mention users to the post</span>
</div>
<?php echo $this->editor('fields[comment]', '', 35, 15, 'fieldcomment',
array(
'class' => 'minimal no-footer',
Expand Down
5 changes: 4 additions & 1 deletion core/plugins/groups/forum/views/threads/tmpl/display.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,10 @@
</p>

<label for="field_comment" id="addNewPostAreaGroup">
<?php echo Lang::txt('PLG_GROUPS_FORUM_FIELD_COMMENTS'); ?> <span class="required"><?php echo Lang::txt('PLG_GROUPS_FORUM_REQUIRED'); ?></span>
<div>
<?php echo Lang::txt('PLG_GROUPS_FORUM_FIELD_COMMENTS'); ?> <span class="required"><?php echo Lang::txt('PLG_GROUPS_FORUM_REQUIRED'); ?></span>
<span class="note" style='float:right'>Use an @ sign to mention group users on the post</span>
</div>
<?php
$gid = $this->group->get('gidNumber');
$feedUrl = '/api/members/mentions/group?gid=' . $gid . '&search={encodedQuery}';
Expand Down

0 comments on commit 0731090

Please sign in to comment.