Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iena
iena-modale-activity-filter
Commits
2ad406bb
Commit
2ad406bb
authored
Oct 14, 2022
by
DELARUELLE Myriam
Browse files
disable filter in activities (or quiz questions)
parent
7c0f6b47
Changes
1
Hide whitespace changes
Inline
Side-by-side
filter.php
View file @
2ad406bb
...
...
@@ -155,7 +155,9 @@ function filter($text, array $options = array())
global
$CFG
;
global
$PAGE
;
if
(
strpos
(
$PAGE
->
url
,
'/mod/'
)
||
strpos
(
$PAGE
->
url
,
'/question/'
)){
return
$text
;
}
if
(
$CFG
->
color_btn
)
{
$this
->
color_btn
=
$CFG
->
color_btn
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment