aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/mobile/board.html
diff options
context:
space:
mode:
authorLibravatar neptune 2022-11-25 17:59:09 -0300
committerLibravatar neptune 2022-11-25 17:59:09 -0300
commitb09e855283b8521caa35e1aa0762cf8e986559d4 (patch)
tree2d1459eba210e2f7415b00d450fbc7cce700ff2f /cgi/templates/mobile/board.html
parent0889034f67f8d8cadc98dcbefcd7021b42a00408 (diff)
downloadweabot-b09e855283b8521caa35e1aa0762cf8e986559d4.tar.gz
weabot-b09e855283b8521caa35e1aa0762cf8e986559d4.tar.xz
weabot-b09e855283b8521caa35e1aa0762cf8e986559d4.zip
Actualizado repo
Diffstat (limited to 'cgi/templates/mobile/board.html')
-rw-r--r--cgi/templates/mobile/board.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/cgi/templates/mobile/board.html b/cgi/templates/mobile/board.html
index 8466c8f..f32a12c 100644
--- a/cgi/templates/mobile/board.html
+++ b/cgi/templates/mobile/board.html
@@ -4,12 +4,12 @@
<?py for thread in threads: ?>
<div id="thread">
<?py for post in thread['posts']: ?>
- <?py if post['IS_DELETED'] == "1": ?>
+ <?py if post['IS_DELETED'] == 1: ?>
<div class="pst"><h3 class="del"><a name="#{post['id']}"></a>No.#{post['id']} eliminado por usuario.</h3></div>
- <?py elif post['IS_DELETED'] == "2": ?>
+ <?py elif post['IS_DELETED'] == 2: ?>
<div class="pst"><h3 class="del"><a name="#{post['id']}"></a>No.#{post['id']} eliminado por staff.</h3></div>
<?py else: ?>
- <?py if post['parentid'] == "0": ?>
+ <?py if not post['parentid']: ?>
<div class="first"><h1>#{post["subject"]} <span>(#{thread['length']})</span></h1>
<?py else: ?>
<div class="pst">
@@ -21,11 +21,11 @@
<div class="msg">#{post['message']}</div></div>
<?py #endif ?>
<?py #endfor ?>
-<?py if threads[0]['posts'][0]['locked'] != "1": ?>
+<?py if threads[0]['posts'][0]['locked'] != 1: ?>
<a href="./#{thread['id']}" id="n">Recargar</a><span id="n2"></span>
<?py #endif ?>
<div class="nav"><div><a href="//m.bienvenidoainternet.org">Home</a><a href="#{cgi_url}mobile/#{board}/">Volver</a><a href="#top">&#9650;</a></div></div>
-<?py if threads[0]['posts'][0]['locked'] == "1": ?>
+<?py if threads[0]['posts'][0]['locked'] == 1: ?>
<div class="warn red" style="text-align:center;">El hilo ha sido cerrado. Ya no se puede postear en &eacute;l.</div>
<?py else: ?>
<form name="postform" id="postform" action="/cgi/post" method="post" enctype="multipart/form-data">
@@ -52,4 +52,4 @@
<?py #endfor ?>
<a name="form"></a>
</body>
-</html> \ No newline at end of file
+</html>