diff options
Diffstat (limited to 'cgi/templates/txt_thread.html')
-rw-r--r-- | cgi/templates/txt_thread.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html index be257e6..55f5e82 100644 --- a/cgi/templates/txt_thread.html +++ b/cgi/templates/txt_thread.html @@ -1,6 +1,5 @@ <?py include('templates/txt_base_top.html') ?> <body class="threadpage" data-brd="#{board}"> -<div id="main_nav" style="display:none;"><a href="/" target="_top">Bienvenido a Internet</a> | <?py include('templates/navbar.html') ?></div> <?py if threads: ?> <?py for thread in threads: ?> <div id="thread_nav"> @@ -28,9 +27,9 @@ <h3>#{thread['subject']} <span>(${(str(thread['length'])+" respuestas") if thread['length']>1 else "Una respuesta"})</span></h3> <?py for post in thread['posts']: ?> <?py if post['IS_DELETED'] == '1': ?> - <h4 class="deleted">#{post['num']} : Mensaje eliminado por el usuario.</h4> + <h4 class="deleted">#{post['num']} : Mensaje eliminado por usuario.</h4> <?py elif post['IS_DELETED'] == '2': ?> - <h4 class="deleted">#{post['num']} : Mensaje eliminado por miembro del staff.</h4> + <h4 class="deleted">#{post['num']} : Mensaje eliminado por staff.</h4> <?py else: ?> <?py if post['num'] == 1: ?> <div class="reply first" data-n="#{post['num']}"> @@ -53,7 +52,7 @@ <?py #endif ?> : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span> <span class="del"><a href="#{cgi_url}report/#{board}/#{post['id']}/#{post['num']}">rep</a> <a href="#">del</a></span></h4> <?py if post['file']: ?> - <a href="/#{board}/src/#{post['file']}" target="_blank" class="thumb"><img src="#{'/static/' if post['thumb'].startswith('mime') else ('/'+board+'/thumb/')}#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" /><div>${int(post['file_size'])//1024}KB ${post['file'].split(".")[1].upper()}</div></a> + <a href="/#{board}/src/#{post['file']}" target="_blank" class="thumb"><img src="#{'/static/' if post['thumb'].startswith('mime') else ('/'+board+'/thumb/')}#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" alt="${post['file']}-(${post['file_size']}B)" /></a> <?py #endif ?> <div class="msg">#{post['message']}</div> </div> @@ -89,7 +88,7 @@ <input type="hidden" name="board" value="#{board}" /><input type="hidden" name="parent" value="#{thread['id']}" /><input type="hidden" name="password" value="" /> <?py if thread['locked'] != '1': ?> <div style="display:none"><input type="text" name="name" size="13" /> <input type="text" name="email" size="13" /></div> - <span><input type="submit" value="Responder" accesskey="z" /> <input type="button" name="preview" value="Previsualizar" /></span> <span><span>Nombre: </span><input type="text" name="fielda" size="13" accesskey="n" /><span> E-mail: </span><input type="text" name="fieldb" size="13" accesskey="e" /></span><br /> + <input type="submit" value="Responder" accesskey="z" /> <input type="button" name="preview" value="Previsualizar" /> <span><span>Nombre: </span><input type="text" name="fielda" size="13" accesskey="n" /> <span>E-mail: </span><input type="text" name="fieldb" size="13" accesskey="e" /></span><br /> <textarea name="message" cols="80" rows="7" accesskey="m"></textarea><br /> <div id="preview#{thread['id']}" class="msg" style="display:none"></div> <?py if allow_image_replies: ?> @@ -106,4 +105,4 @@ </div> <a name="bottom"></a> </body> -</html> +</html>
\ No newline at end of file |