diff options
author | neptune | 2022-02-21 18:56:39 -0300 |
---|---|---|
committer | neptune | 2022-02-21 18:56:39 -0300 |
commit | 8dcb65e8f3fbe519657d71037f1c367fd3d80e53 (patch) | |
tree | 442d44b331b4571a8e521a210fd13d3f3bbf3ceb /cgi/templates/mobile | |
parent | e11669559b14dfb14b40bb0a8cafb2f62dc268eb (diff) | |
download | weabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.tar.gz weabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.tar.xz weabot-8dcb65e8f3fbe519657d71037f1c367fd3d80e53.zip |
Arreglados problemas de migración
Diffstat (limited to 'cgi/templates/mobile')
-rw-r--r-- | cgi/templates/mobile/txt_newthread.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cgi/templates/mobile/txt_newthread.html b/cgi/templates/mobile/txt_newthread.html index aafcdfa..2414303 100644 --- a/cgi/templates/mobile/txt_newthread.html +++ b/cgi/templates/mobile/txt_newthread.html @@ -1,10 +1,10 @@ <?py include('templates/mobile/base_top.html') ?> -<body class="#{"txt" if board_type == '1' else "img"}" data-brd="#{board}"> +<body class="#{"txt" if board_type == 1 else "img"}" data-brd="#{board}"> <div class="top"> <a href="//m.bienvenidoainternet.org"><img src="#{static_url}css/img/0back.png" /><br />Home</a> #{board_name} </div> -<?py if board_type == '1': ?> +<?py if board_type == 1: ?> <div class="bar"><a href="#{cgi_url}mobile/#{board}">Portada</a><a href="#{cgi_url}mobilelist/#{board}">Todos los hilos</a><a href="#{cgi_url}mobilenew/#{board}" class="sel">Nuevo hilo</a></div> <?py else: ?> <div class="bar"><a href="#{cgi_url}mobile/#{board}">Portada</a><a href="#{cgi_url}mobilelist/#{board}">Lista</a><a href="#{cgi_url}mobilecat/#{board}">Catálogo</a><a href="#{cgi_url}mobilenew/#{board}" class="sel">Nuevo hilo</a></div> @@ -13,13 +13,13 @@ <input type="hidden" name="board" value="#{board}" /> <input type="hidden" name="mobile" value="true" /><input type="hidden" name="password" value="" /> <div style="display:none;"><input type="text" name="name" maxlength="50" /><input type="text" name="email" maxlength="50" /></div> <?py if not disable_subject: ?> - <input class="fld imp" type="text" name="subject" placeholder="Asunto#{" (opcional)" if board_type == '0' else ""}" maxlength="100" /> + <input class="fld imp" type="text" name="subject" placeholder="Asunto#{" (opcional)" if board_type == 0 else ""}" maxlength="100" /> <?py #endif ?> <?py if not disable_name: ?> <input class="fld" type="text" name="fielda" placeholder="Nombre (opcional)" maxlength="50" /> <?py #endif ?> <input class="fld" type="text" name="fieldb" placeholder="E-mail (opcional)" maxlength="50" /> - <textarea name="message" rows="#{"8" if board_type == '1' else "6"}"></textarea> + <textarea name="message" rows="#{"8" if board_type == 1 else "6"}"></textarea> <?py if allow_images: ?> <div class="file"><input type="file" name="file" class="fld" /> <?py if allow_spoilers: ?> @@ -32,4 +32,4 @@ <div class="rules">Formatos permitidos: #{', '.join(supported_filetypes).upper()}<br />Tamaño máximo: #{maxsize} KB</div> <?py #endif ?> </body> -</html>
\ No newline at end of file +</html> |