We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdde285 commit 80011a0Copy full SHA for 80011a0
post.php
@@ -577,6 +577,16 @@
577
$formheading = get_string('yournewquestion', 'hsuforum');
578
} else {
579
$formheading = get_string('yournewtopic', 'hsuforum');
580
+ // Hide duplicated hsuforum description when creating a new discussion topic, see INT-18928.
581
+ $hidehtml = '';
582
+ $hidehtml .= html_writer::start_tag('style', array('type' => 'text/css')) . "\n";
583
+ $hidehtml .= '
584
+ #page-mod-hsuforum-post .activity-description,
585
+ #page-mod-hsuforum-post [role="main"] h2 {
586
+ display: none;
587
+ };';
588
+ $hidehtml .= html_writer::end_tag('style') . "\n";
589
+ echo $hidehtml;
590
}
591
592
0 commit comments