aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/manage.py5
-rw-r--r--cgi/templates/banned.html30
2 files changed, 14 insertions, 21 deletions
diff --git a/cgi/manage.py b/cgi/manage.py
index 44731ba..a8367a2 100644
--- a/cgi/manage.py
+++ b/cgi/manage.py
@@ -523,6 +523,7 @@ def manage(self, path_split):
# insert notice message
if 'msg' in self.formdata:
+ leavemsg = True
board = setBoard(oldboard)
if board['board_type'] == '1':
@@ -540,11 +541,13 @@ def manage(self, path_split):
notice_post["timestamp_formatted"] = "Hilo movido"
notice_post["bumped"] = oldbumped
notice_post.insert()
+ regenerateThreadPage(oldthread)
# regenerate
regenerateFrontPages()
+ board = setBoard(newboardid)
regenerateThreadPage(newthreadid)
- regenerateThreadPage(oldthread)
+
message += "done"
diff --git a/cgi/templates/banned.html b/cgi/templates/banned.html
index 72f2abe..f63dd41 100644
--- a/cgi/templates/banned.html
+++ b/cgi/templates/banned.html
@@ -3,14 +3,11 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Acceso prohibido@B.a.I.</title>
+ <title>Acceso prohibido@Bienvenido a Internet</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style type="text/css">
- body {
- background: #1D1F21;
-
- }
-
+ body {background: #1D1F21;}
.box {
display: block;
width: 50%;
@@ -20,18 +17,10 @@
margin: 15% auto;
padding: 1em;
box-shadow: 5px 10px #732e2e;
- border: double #CCC;
- }
-
- a,
- a:visited {
- color: #5F819D;
+ border: 3px double #CCC;
}
-
- a:hover {
- color: #81A2BE;
- }
-
+ a, a:visited {color: #5F819D;}
+ a:hover,a:active {color: #81A2BE;}
.title {
color: white;
margin-bottom: 1em;
@@ -43,7 +32,6 @@
font-weight: 700;
line-height: 23px;
}
-
.description {
font-family: monospace;
font-size: 14px;
@@ -52,6 +40,8 @@
font-weight: 400;
line-height: 23px;
}
+ ul {padding-left: 2em;}
+ .thx {margin-bottom:0;text-align: center;}
</style>
</head>
@@ -77,8 +67,8 @@
href="mailto:burocracia@bienvenidoainternet.org">contáctanos</a> dando tu IP, razón y explicación de los
hechos.
</p>
- <p style="font-size: small;">P.S: En muchos casos a pesar de que hayas sido expulsado del sitio se concede el acceso a la sección <a href="/bai/">Meta</a></p>
- <p style="text-align: center;">¡Gracias por usar Bienvenido a Internet BBS/IB!</p>
+ <p style="font-size:small;">P.S: En muchos casos a pesar de que hayas sido expulsado del sitio se concede el acceso a la sección <a href="/bai/">Meta</a></p>
+ <p class="thx">¡Gracias por usar Bienvenido a Internet BBS/IB!</p>
</div>
</div>
</body>