-
-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Converted forumbit * Fixed issue with unapproved posts and threads being shown even if there weren't any
- Loading branch information
1 parent
d5469cb
commit 38b65ed
Showing
7 changed files
with
185 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{ comma }} | ||
{% set forum_viewers %} | ||
{% if forum.viewers == 1 %} | ||
{{ lang.viewing_one }} | ||
{% else %} | ||
{{ trans('viewing_multiple', forum.viewers) }} | ||
{% endif %} | ||
{% endset %} | ||
{% if mybb.settings.subforumsstatusicons %} | ||
<div title="{{ lightbulb.altonoff }}" class="subforumicon subforum_mini{{ lightbulb.folder }} ajax_mark_read" id="mark_read_{{ forum.fid }}"></div> | ||
{% endif %} | ||
<a href="{{ forum.url }}" title="{{ forum_viewers }}">{{ forum.name }}</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{% if collapsed['cat_' ~ forum.fid ~ '_c'] == 'display: show;' %} | ||
{% set expcolhead = ' thead_collapsed' %} | ||
{% set expdisplay = 'display: none;' %} | ||
{% endif %} | ||
<table border="0" cellspacing="{{ theme.borderwidth }}" cellpadding="{{ theme.tablespace }}" class="tborder"> | ||
<thead> | ||
<tr> | ||
<td class="thead{{ expcolhead }}" colspan="5"> | ||
<div class="expcolimage"> | ||
{% if collapsed['cat_' ~ forum.fid ~ '_c'] == 'display: show;' %} | ||
<img src="{{ theme.imgdir }}/collapse_collapsed.png" id="cat_{{ forum.fid }}_img" class="expander" alt="[+]" title="[+]" /> | ||
{% else %} | ||
<img src="{{ theme.imgdir }}/collapse.png" id="cat_{{ forum.fid }}_img" class="expander" alt="[-]" title="[-]" /> | ||
{% endif %} | ||
</div> | ||
<div> | ||
<strong><a href="{{ forum.url }}">{{ forum.name }}</a></strong><br /> | ||
<div class="smalltext">{{ forum.description }}</div> | ||
</div> | ||
</td> | ||
</tr> | ||
</thead> | ||
<tbody style="{{ expdisplay }}" id="cat_{{ forum.fid }}_e"> | ||
<tr> | ||
<td class="tcat" colspan="2"> | ||
<span class="smalltext"><strong>{{ lang.forumbit_forum }}</strong></span> | ||
</td> | ||
<td class="tcat" width="85" align="center" style="white-space: nowrap"> | ||
<span class="smalltext"><strong>{{ lang.forumbit_threads }}</strong></span> | ||
</td> | ||
<td class="tcat" width="85" align="center" style="white-space: nowrap"> | ||
<span class="smalltext"><strong>{{ lang.forumbit_posts }}</strong></span> | ||
</td> | ||
<td class="tcat" width="200" align="center"> | ||
<span class="smalltext"><strong>{{ lang.forumbit_lastpost }}</strong></span> | ||
</td> | ||
</tr> | ||
{{ sub_forums|raw }} | ||
</tbody> | ||
</table> | ||
<br /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends 'forumbit/depth_2/last_post.twig' %} |
Oops, something went wrong.