Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-block_course_overview_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
elc
moodle-block_course_overview_campus
Commits
ca44c299
Commit
ca44c299
authored
7 years ago
by
Alexander Bias
Browse files
Options
Downloads
Patches
Plain Diff
Activity icons should be rendered with image_icon() and not with pix_icon anymore
parent
4a48a4a0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
block_course_overview_campus.php
+1
-1
1 addition, 1 deletion
block_course_overview_campus.php
with
2 additions
and
1 deletion
CHANGES.md
+
1
−
0
View file @
ca44c299
...
...
@@ -6,6 +6,7 @@ Changes
### Unreleased
*
2018-03-06 - Activity icons should be rendered with image_icon() and not with pix_icon anymore.
*
2018-03-06 - pix_url() is deprecated in Moodle 3.3, change to pix_icon() and fontawesome icons.
*
2017-12-12 - Prepare compatibility for Moodle 3.3, no functionality change.
...
...
This diff is collapsed.
Click to expand it.
block_course_overview_campus.php
+
1
−
1
View file @
ca44c299
...
...
@@ -1323,7 +1323,7 @@ class block_course_overview_campus extends block_base {
foreach
(
$coursenews
[
$c
->
id
]
as
$modname
=>
$html
)
{
echo
'<div class="coc-module">'
;
// Output activity icon.
echo
$OUTPUT
->
pix
_icon
(
'icon'
,
$modname
,
'mod_'
.
$modname
,
array
(
'class'
=>
'iconlarge activityicon'
));
echo
$OUTPUT
->
image
_icon
(
'icon'
,
$modname
,
'mod_'
.
$modname
,
array
(
'class'
=>
'iconlarge activityicon'
));
// Output activity introduction string.
if
(
get_string_manager
()
->
string_exists
(
"activityoverview"
,
$modname
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment