Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
671e977e
Commit
671e977e
authored
Jan 09, 2018
by
Robert Lyon
Committed by
Gerrit Code Review
Jan 09, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1694874: Changing html escaping"
parents
0eb8baa5
76017fb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
htdocs/lib/web.php
htdocs/lib/web.php
+1
-1
htdocs/theme/raw/plugintype/blocktype/groupmembers/templates/row.tpl
...e/raw/plugintype/blocktype/groupmembers/templates/row.tpl
+2
-2
No files found.
htdocs/lib/web.php
View file @
671e977e
...
...
@@ -931,7 +931,7 @@ EOF;
$smarty
->
assign
(
'USERMASQUERADING'
,
true
);
$smarty
->
assign
(
'masqueradedetails'
,
get_string
(
'youaremasqueradingas'
,
'mahara'
,
display_name
(
$USER
)));
$smarty
->
assign
(
'becomeyoulink'
,
hsc
(
$wwwroot
)
.
'admin/users/changeuser.php?restore=1'
);
$smarty
->
assign
(
'becomeyouagain'
,
get_string
(
'becomeadminagain'
,
'admin'
,
hsc
(
$USER
->
get
(
'parentuser'
)
->
name
))
)
;
$smarty
->
assign
(
'becomeyouagain'
,
get_string
(
'becomeadminagain'
,
'admin'
,
$USER
->
get
(
'parentuser'
)
->
name
));
}
// Define additional html content
...
...
htdocs/theme/raw/plugintype/blocktype/groupmembers/templates/row.tpl
View file @
671e977e
...
...
@@ -3,8 +3,8 @@
{
foreach
from
=
$groupmembers
item
=
groupmember
}
<a
href=
"
{
profile_url
(
$groupmember
)
}
"
class=
"item user-icon metadata user-icon-larger"
>
<img
src=
"
{
profile_icon_url
user
=
$groupmember
maxwidth
=
100
maxheight
=
100
}
"
alt=
"
{
str
tag
=
profileimagetext
arg1
=
$groupmember
|
display_default_name
}
"
title=
"
{
$groupmember
|
display_default_name
|
escape
}
"
>
<p
class=
"member-name"
>
{
$groupmember
|
display_default_name
|
escape
}
</p>
<p
class=
"member-name"
>
{
$groupmember
|
display_default_name
}
</p>
</a>
{/
foreach
}
</div>
</div>
\ No newline at end of file
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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