aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar neptune 2023-01-09 02:26:19 -0300
committerLibravatar Choom 2023-01-09 08:11:15 -0300
commite9673535fe085a8b82101fb5f0a005e3a16cfa97 (patch)
treeec5b4a7b6c29a889808a4c89d3a3f1d61ac3be3f
parentce4c20251349d0d599c6c4f4aef9b1f102f3bbed (diff)
downloadweabot-e9673535fe085a8b82101fb5f0a005e3a16cfa97.tar.gz
weabot-e9673535fe085a8b82101fb5f0a005e3a16cfa97.tar.xz
weabot-e9673535fe085a8b82101fb5f0a005e3a16cfa97.zip
Actualizado proyectos
-rw-r--r--cgi/manage.py4
-rw-r--r--cgi/templates/home.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/cgi/manage.py b/cgi/manage.py
index cd00a07..690c807 100644
--- a/cgi/manage.py
+++ b/cgi/manage.py
@@ -349,6 +349,7 @@ def manage(self, path_split):
deletePost(path_split[4], None, 2, imageonly)
regenerateTrash()
else:
+ return
deletePost(path_split[4], None, 0, imageonly)
regenerateHome()
@@ -1124,6 +1125,7 @@ def manage(self, path_split):
logAction(staff_account['username'], _('Restored post %s') % ('/' + path_split[5] + '/' + path_split[6]) )
if path_split[4] == 'delete':
+ return
board = setBoard(path_split[5])
post = FetchOne('SELECT id, parentid, message, INET6_NTOA(ip) AS ip FROM `posts` WHERE `boardid` = %s AND `id` = %s LIMIT 1',
(board['id'], path_split[6]))
@@ -1137,7 +1139,7 @@ def manage(self, path_split):
else:
regenerateFrontPages()
- message = "Post %s eliminado permanentemente" % ('/' + board['dir'] + '/' + str(post['id']))
+ message = "Post %s eliminado permanentemente de la papelera" % ('/' + board['dir'] + '/' + str(post['id']))
logAction(staff_account['username'], message + ' desde papelera. Contenido: ' + post['message'] + ' IP: ' + post['ip'])
# Delete more than 1 post
diff --git a/cgi/templates/home.html b/cgi/templates/home.html
index fe6e872..23de36a 100644
--- a/cgi/templates/home.html
+++ b/cgi/templates/home.html
@@ -17,7 +17,7 @@
<a href="https://bienvenidoainternet.org/chat.html#mumble" target="_blank">[Mumble]</a>
<a href="https://tv.bienvenidoainternet.org" target="_blank">[BaI TV]</a>
<a href="https://radio.bienvenidoainternet.org" target="_blank">[Radio]</a>
-<a href="https://bienvenidoainternet.org/podcast" target="_blank">[Podcast]</a>
+<a href="https://bienvenidoainternet.org/proyectos/" target="_blank">[Proyectos]</a>
<a href="http://xonotic.bienvenidoainternet.org" target="_blank">[Xonotic]</a>
<a href="https://git.bienvenidoainternet.org" target="_blank">[Git]</a>
</div>