Skip to content

Commit

Permalink
Fix blacklist-list.tpl error
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Sep 26, 2018
1 parent 1156c9d commit c55728e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
2018-09-26 DariusIII
* Fix: Fix blacklist-list.tpl error
* Chg: Fix checking for argv in reset_postprocessing.php
* Chg: Update egulias/email-validator to version 2.1.6 and laravel/framework to 5.7.6
2018-09-25 DariusIII
Expand Down
22 changes: 11 additions & 11 deletions resources/views/themes/admin/binaryblacklist-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@
<th>last activity</th>
</tr>
{foreach from=$binlist item=bin}
<tr id="row-{$bin.id}" class="{cycle values=",alt"}">
<td>{$bin.id}</td>
<td>{$bin.groupname|replace:"alt.binaries":"a.b"}</td>
<tr id="row-{$bin->id}" class="{cycle values=",alt"}">
<td>{$bin->id}</td>
<td>{$bin->groupname|replace:"alt.binaries":"a.b"}</td>
<td title="Edit this blacklist"><a
href="{$smarty.const.WWW_TOP}/admin/binaryblacklist-edit?id={$bin.id}">Edit</a>
href="{$smarty.const.WWW_TOP}/admin/binaryblacklist-edit?id={$bin->id}">Edit</a>
</td>
<td>{$bin.description|truncate:50:"...":true}</td>
<td title="Delete this blacklist"><a href="javascript:ajax_binaryblacklist_delete({$bin.id})"
<td>{$bin->description|truncate:50:"...":true}</td>
<td title="Delete this blacklist"><a href="javascript:ajax_binaryblacklist_delete({$bin->id})"
onclick="return confirm('Are you sure? This will delete the blacklist from this list.');">Delete</a>
</td>
<td>{if $bin.optype==1}Black{else}White{/if}</td>
<td>{if $bin.msgcol==1}Subject{elseif $bin.msgcol==2}Poster{else}MessageID{/if}</td>
{if $bin.status==1}
<td>{if $bin->optype==1}Black{else}White{/if}</td>
<td>{if $bin->msgcol==1}Subject{elseif $bin->msgcol==2}Poster{else}MessageID{/if}</td>
{if $bin->status==1}
<td style="color:#00CC66">Active</td>
{else}
<td style="color:#FF0000">Disabled</td>
{/if}
<td title="Edit this blacklist"><a
href="{$smarty.const.WWW_TOP}/admin/binaryblacklist-edit?id={$bin.id}">{$bin.regex|escape:html|truncate:50:"...":true}</a>
href="{$smarty.const.WWW_TOP}/admin/binaryblacklist-edit?id={$bin->id}">{$bin->regex|escape:html|truncate:50:"...":true}</a>
</td>
<td>{$bin.last_activity}</td>
<td>{$bin->last_activity}</td>
</tr>
{/foreach}
</table>
Expand Down

0 comments on commit c55728e

Please sign in to comment.