aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/mod.html
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/manage/mod.html')
-rw-r--r--cgi/templates/manage/mod.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi/templates/manage/mod.html b/cgi/templates/manage/mod.html
index c76965e..bb93c9d 100644
--- a/cgi/templates/manage/mod.html
+++ b/cgi/templates/manage/mod.html
@@ -77,14 +77,14 @@
</td>
<td><a href="#{cgi_url}manage/ipshow?ip=#{p['ip']}">#{p['ip']}</a></td>
<td style="white-space:nowrap;">
- <?py if p['IS_DELETED'] == '0': ?>
+ <?py if not p['IS_DELETED']: ?>
<a href="#{cgi_url}manage/delete/#{dir}/#{p['id']}">Eliminar</a>
<a href="#{cgi_url}manage/delete/#{dir}/#{p['id']}?ban=true">&</a>
<a href="/cgi/manage/ban?ip=#{p['ip']}">Ban</a>
- <?py elif p['IS_DELETED'] == '1': ?>
+ <?py elif p['IS_DELETED'] == 1: ?>
<a href="#{cgi_url}manage/recyclebin/0/restore/#{dir}/#{p['id']}">Recuperar</a>
<abbr title="Eliminado por usuario">[1]</abbr>
- <?py elif p['IS_DELETED'] == '2': ?>
+ <?py elif p['IS_DELETED'] == 2: ?>
<a href="#{cgi_url}manage/recyclebin/0/restore/#{dir}/#{p['id']}">Recuperar</a>
<abbr title="Eliminado por staff">[2]</abbr>
<?py #endif ?>