aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-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>