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
5f7f8d14
Commit
5f7f8d14
authored
Aug 28, 2008
by
Richard Mansfield
Browse files
Add missing </div> in forum post listings
parent
403c021d
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/interaction/forum/theme/default/post.tpl
View file @
5f7f8d14
...
@@ -17,11 +17,7 @@
...
@@ -17,11 +17,7 @@
<ul>
<ul>
{
foreach
from
=
$post
->
edit
item
=
edit
}
{
foreach
from
=
$post
->
edit
item
=
edit
}
<li>
<li>
<a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$edit.editor
}
"
<a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$edit.editor
}
"
{
if
in_array
(
$edit.editor
,
$groupadmins
)
}
class=
"groupadmin"
{
elseif
$edit.moderator
}
class=
"moderator"
{/
if
}
>
{
if
in_array
(
$edit.editor
,
$groupadmins
)
}
class=
"groupadmin"
{
elseif
$edit.moderator
}
class=
"moderator"
{/
if
}
>
<img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=20&id=
{
$edit.editor
}
"
alt=
""
>
<img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=20&id=
{
$edit.editor
}
"
alt=
""
>
{
$edit.editor
|
display_name
|
escape
}
{
$edit.editor
|
display_name
|
escape
}
</a>
</a>
...
...
htdocs/interaction/forum/theme/default/simplepost.tpl
View file @
5f7f8d14
...
@@ -11,14 +11,11 @@
...
@@ -11,14 +11,11 @@
<tr>
<tr>
<td
class=
"forumpostleft"
>
<td
class=
"forumpostleft"
>
<div
class=
"posttime"
>
{
$post
->
ctime
}
</div>
<div
class=
"posttime"
>
{
$post
->
ctime
}
</div>
<h5><a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$post
->
poster
}
"
<h5><a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$post
->
poster
}
"
{
if
in_array
(
$post
->
poster
,
$groupadmins
)
}
class=
"groupadmin"
{
elseif
$post
->
moderator
}
class=
"moderator"
{/
if
}
>
{
if
in_array
(
$post
->
poster
,
$groupadmins
)
}
class=
"groupadmin"
{
elseif
$post
->
moderator
}
class=
"moderator"
{/
if
}
>
{
$post
->
poster
|
display_name
|
escape
}
</a></h5>
{
$post
->
poster
|
display_name
|
escape
}
</a></h5>
<div><img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=100&id=
{
$post
->
poster
}
"
alt=
""
></div>
<div><img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=100&id=
{
$post
->
poster
}
"
alt=
""
></div>
<h5>
{
$post
->
postcount
}
</h5></td>
<h5>
{
$post
->
postcount
}
</h5></td>
<td>
{
$post
->
body
}
</td>
<td>
{
$post
->
body
}
</td>
</tr>
</tr>
</table>
</table>
</div>
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