diff options
author | Choom | 2022-12-17 16:37:39 -0300 |
---|---|---|
committer | Choom | 2022-12-17 17:04:18 -0300 |
commit | a1cd85b48b2e61fe21ad48c93365696454401266 (patch) | |
tree | 8e04f99216786e730d5e0e09c87b71dea2ca81f0 /cgi/templates/board.jp.html | |
parent | d99f02427cabae690b10dc13faaf018cac0f9b30 (diff) | |
download | weabot-a1cd85b48b2e61fe21ad48c93365696454401266.tar.gz weabot-a1cd85b48b2e61fe21ad48c93365696454401266.tar.xz weabot-a1cd85b48b2e61fe21ad48c93365696454401266.zip |
Quitando eliminados de IB
Diffstat (limited to 'cgi/templates/board.jp.html')
-rw-r--r-- | cgi/templates/board.jp.html | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/cgi/templates/board.jp.html b/cgi/templates/board.jp.html index 044d9f6..0e223c9 100644 --- a/cgi/templates/board.jp.html +++ b/cgi/templates/board.jp.html @@ -139,9 +139,9 @@ <span class="unhide" style="display:none;">スレ<a href="#{boards_url}#{board}/res/#{thread['id']}.html">#{thread['id']}</a>は隠しました. <a class="tt" href="#">スレを表示</a></span> <?py #endif ?> <?py for post in thread['posts']: ?> - <?py if int(post['parentid']) != 0: ?> + <?py if int(post['parentid']) != 0 and not post['IS_DELETED']: ?> <table><tr><td class="ell">…</td> - <td class="reply#{' deleted' if post['IS_DELETED'] > 0 else ''}" id="p#{post['id']}"> + <td class="reply" id="p#{post['id']}"> <?py elif post['file']: ?> <?py if post['image_width'] != '0': ?> <div class="fs"><span>画像ファイル名:</span><a href="#{images_url}#{board}/src/#{post['file']}" class="expimg" target="_blank" data-id="#{post['id']}" data-thumb="#{images_url}#{board}/thumb/#{post['thumb']}" data-w="#{post['image_width']}" data-h="#{post['image_height']}" data-tw="#{post['thumb_width']}" data-th="#{post['thumb_height']}">#{post['file']}</a>-(#{post['file_size']} B, #{post['image_width']}x#{post['image_height']}) @@ -167,12 +167,8 @@ <?py #endif ?> </a> <?py #endif ?> - <a name="#{post['id']}"></a> - <?py if post['IS_DELETED'] == '1': ?> - <span>No.#{post['id']}はユーザーに削除されました.</span> - <?py elif post['IS_DELETED'] == '2': ?> - <span>No.#{post['id']}は管理人に削除されました.</span> - <?py else: ?> + <?py if not post['IS_DELETED']: ?> + <a name="#{post['id']}"></a> <div class="info"><label><input type="checkbox" name="delete" value="#{post['id']}" /><span class="subj">#{post['subject'] if post['subject'] else default_subject}</span></label> <?py if post['email']: ?> <?py if post['tripcode']: ?> |