From a16f23f034fb942b44e0665224d499af57aec1ad Mon Sep 17 00:00:00 2001 From: neptune Date: Mon, 15 Nov 2021 13:35:08 -0300 Subject: Nueva revisión Py3 --- cgi/templates/bans_geo | 2 +- cgi/templates/bans_locations | 2 +- cgi/templates/manage/boardoptions.html | 2 +- cgi/templates/mobile/txt_thread.html | 10 +++++----- cgi/templates/revision.html | 2 +- cgi/templates/txt_archive.html | 4 ++-- cgi/templates/txt_thread.en.html | 10 +++++----- 7 files changed, 16 insertions(+), 16 deletions(-) (limited to 'cgi/templates') diff --git a/cgi/templates/bans_geo b/cgi/templates/bans_geo index 64687e8..ba7959a 100644 --- a/cgi/templates/bans_geo +++ b/cgi/templates/bans_geo @@ -4,7 +4,7 @@ geo $bans_global { #{ip} 1; } - + geo $bans_#{board} { default 0; diff --git a/cgi/templates/bans_locations b/cgi/templates/bans_locations index a514ccf..87ac1b7 100644 --- a/cgi/templates/bans_locations +++ b/cgi/templates/bans_locations @@ -4,7 +4,7 @@ location /#{board}/ { if ($bans_global) { rewrite ^ /cgi/banned; } - if ($bans_#{board}) { rewrite ^ /cgi/banned; } + if ($bans_#{board}) { rewrite ^ /cgi/banned/#{board}; } } diff --git a/cgi/templates/manage/boardoptions.html b/cgi/templates/manage/boardoptions.html index fcd3bb8..4e33e5b 100644 --- a/cgi/templates/manage/boardoptions.html +++ b/cgi/templates/manage/boardoptions.html @@ -174,7 +174,7 @@ Archivar hilos - + Espera para crear nuevo hilo diff --git a/cgi/templates/mobile/txt_thread.html b/cgi/templates/mobile/txt_thread.html index c9b58a8..3df16fc 100644 --- a/cgi/templates/mobile/txt_thread.html +++ b/cgi/templates/mobile/txt_thread.html @@ -11,7 +11,7 @@ 50: ?> Primeros 50 - + #{(i+1)*50+1}-#{(i+2)*50} @@ -29,9 +29,9 @@

#{thread['subject']} (#{thread['length']})

- +

#{str(post['num']).zfill(4)} Eliminado por el usuario.

- +

#{str(post['num']).zfill(4)} Eliminado por miembro del staff.

@@ -42,7 +42,7 @@
- + Ver nuevos posts - +
diff --git a/cgi/templates/revision.html b/cgi/templates/revision.html index 78bc1ab..9028ec6 100644 --- a/cgi/templates/revision.html +++ b/cgi/templates/revision.html @@ -1 +1 @@ -0.10.0 +0.10.5 diff --git a/cgi/templates/txt_archive.html b/cgi/templates/txt_archive.html index 88b3196..1407fcf 100644 --- a/cgi/templates/txt_archive.html +++ b/cgi/templates/txt_archive.html @@ -43,9 +43,9 @@

#{thread['subject']} (${(str(thread['length'])+" respuestas") if thread['length'] > 1 else "Una respuesta"})

- +

#{post['num']} : Mensaje eliminado por usuario.

- +

#{post['num']} : Mensaje eliminado por staff.

diff --git a/cgi/templates/txt_thread.en.html b/cgi/templates/txt_thread.en.html index 4b16fca..c8348a1 100644 --- a/cgi/templates/txt_thread.en.html +++ b/cgi/templates/txt_thread.en.html @@ -9,7 +9,7 @@ 100: ?> First 100 - + #{(i+1)*100+1}- 51: ?> @@ -28,9 +28,9 @@

#{thread['subject']} (${(str(thread['length'])+" replies") if thread['length']>1 else "1 reply"})

- +

#{post['num']} : Post deleted by user.

- +

#{post['num']} : Post deleted by staff.

@@ -61,7 +61,7 @@
#{thread['size']}

- +
@@ -105,4 +105,4 @@
weabot.py ver Bienvenido a Internet BBS/IB
- \ No newline at end of file + -- cgit v1.2.1-18-gbd029