Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
09a61c88
Commit
09a61c88
authored
Aug 20, 2008
by
Nigel McNie
Browse files
Show profile icons beside names when displaying latest forum posts.
parent
4edd235b
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/group/view.tpl
View file @
09a61c88
...
...
@@ -28,7 +28,10 @@
{
foreach
from
=
$foruminfo
item
=
postinfo
}
<div>
<h4><a
href=
"
{
$WWWROOT
}
interaction/forum/topic.php?id=
{
$postinfo
->
topic
|
escape
}
#post
{
$postinfo
->
id
|
escape
}
"
>
{
$postinfo
->
topicname
|
escape
}
</a></h4>
<div><a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$postinfo
->
poster
|
escape
}
"
>
{
$postinfo
->
poster
|
display_name
|
escape
}
</a></div>
<div>
<img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=20&id=
{
$postinfo
->
poster
|
escape
}
"
alt=
""
>
<a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$postinfo
->
poster
|
escape
}
"
>
{
$postinfo
->
poster
|
display_name
|
escape
}
</a>
</div>
<p>
{
$postinfo
->
body
|
str_shorten
:
100
:
true
}
</p>
</div>
{/
foreach
}
...
...
Write
Preview
Supports
Markdown
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