-
-
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
* Announcements fixes * Fixed indenting
- Loading branch information
1 parent
7ddeca3
commit 85f8101
Showing
6 changed files
with
68 additions
and
44 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
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 |
---|---|---|
@@ -1,20 +1,25 @@ | ||
<tr> | ||
<td><div style="padding-left: {{ 40*(depth - 1) }}px"><strong>{{ forum.name }}</strong></div></td> | ||
<td colspan="2" align="center"> | ||
<td class="{{ bgcolor }}"> | ||
<div style="padding-left: {{ 40*(depth - 1) }}px"> | ||
<strong>{{ forum.name }}</strong> | ||
</div> | ||
</td> | ||
<td class="{{ bgcolor }}" colspan="2" align="center"> | ||
{% if moderate %} | ||
<a href="modcp.php?action=new_announcement&fid={{ forum.fid }}">{{ lang.add_announcement }}</a> | ||
{% endif %} | ||
</td> | ||
</tr> | ||
{% for aid, announcement in announcements %} | ||
{% set bgcolor = alt_trow() %} | ||
<tr> | ||
<td> | ||
<td class="{{ bgcolor }}"> | ||
<div style="padding-left: {{ 40*(depth - 1) }}px"> | ||
<div class="subforumicon subforum_minioff" title="{{ lang[announcement.icon ~ '_announcement'] }}"></div> | ||
<a href="announcements.php?aid={{ aid }}">{{ announcement.subject }}</a> | ||
</div> | ||
</td> | ||
<td align="center"><a href="modcp.php?action=edit_announcement&aid={{ aid }}">{{ lang.edit }}</a></td> | ||
<td align="center"><a href="modcp.php?action=delete_announcement&aid={{ aid }}">{{ lang.delete }}</a></td> | ||
<td class="{{ bgcolor }}" align="center"><a href="modcp.php?action=edit_announcement&aid={{ aid }}">{{ lang.edit }}</a></td> | ||
<td class="{{ bgcolor }}" align="center"><a href="modcp.php?action=delete_announcement&aid={{ aid }}">{{ lang.delete }}</a></td> | ||
</tr> | ||
{% endfor %} |
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