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
9a7bd415
Commit
9a7bd415
authored
Feb 19, 2010
by
Richard Mansfield
Browse files
Add test in forum post template to remove Dwoo warnings from logs
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
98dcaee3
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/interaction/forum/theme/raw/simplepost.tpl
View file @
9a7bd415
<a
name=
"post
{
$post
->
id
}
"
></a>
{
if
$post
->
id
}
<a
name=
"post
{
$post
->
id
}
"
></a>
{/
if
}
<table
class=
"forumpost fullwidth"
>
...
...
@@ -13,7 +13,7 @@
<div
class=
"author"
>
<img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=40&id=
{
$post
->
poster
}
"
alt=
""
class=
"center"
>
<p
class=
"poster"
><a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$post
->
poster
}
"
{
if
in_array
(
$post
->
poster
,
$groupadmins
)
}
class=
"groupadmin"
{
elseif
$post
->
moderator
}
class=
"moderator"
{/
if
}
>
{
$post
->
poster
|
display_name
|
escape
}
</a></p>
<p
class=
"postcount"
>
{
$post
->
postcount
}
</p>
{
if
$post
->
postcount
}
<p
class=
"postcount"
>
{
$post
->
postcount
}
</p>
{/
if
}
</div>
</td>
<td
class=
"postedits"
>
{
$post
->
body
|
clean_html
}
...
...
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