summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-17 16:52:43 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-17 16:52:43 +1100
commit9c9ead2b082c82a28febfdd409551bc647c50ab3 (patch)
treec81fdb217b7a6d8b10756d1aeacfb44c93ce1349 /inc/display.php
parent83194c42183cbbcd86c9347cb536148ad09ac966 (diff)
Beta PM system
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/display.php b/inc/display.php
index b3e7a35a..41b99461 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -127,11 +127,11 @@
// Delete
if($this->mod['type'] >= $config['mod']['delete'])
- $built .= ' <a title="Delete" href="?/' . $board['uri'] . '/delete/' . $this->id . '">' . $config['mod']['link_delete'] . '</a>';
+ $built .= ' <a onclick="return confirm(\'Are you sure you want to delete this?\')" title="Delete" href="?/' . $board['uri'] . '/delete/' . $this->id . '">' . $config['mod']['link_delete'] . '</a>';
// Delete all posts by IP
if($this->mod['type'] >= $config['mod']['deletebyip'])
- $built .= ' <a title="Delete all posts by IP" href="?/' . $board['uri'] . '/deletebyip/' . $this->id . '">' . $config['mod']['link_deletebyip'] . '</a>';
+ $built .= ' <a onclick="return confirm(\'Are you sure you want to delete all posts by IP?\')" title="Delete all posts by IP" href="?/' . $board['uri'] . '/deletebyip/' . $this->id . '">' . $config['mod']['link_deletebyip'] . '</a>';
// Ban
if($this->mod['type'] >= $config['mod']['ban'])
@@ -274,11 +274,11 @@
// Delete
if($this->mod['type'] >= $config['mod']['delete'])
- $built .= ' <a title="Delete" href="?/' . $board['uri'] . '/delete/' . $this->id . '">' . $config['mod']['link_delete'] . '</a>';
+ $built .= ' <a onclick="return confirm(\'Are you sure you want to delete this?\')" title="Delete" href="?/' . $board['uri'] . '/delete/' . $this->id . '">' . $config['mod']['link_delete'] . '</a>';
// Delete all posts by IP
if($this->mod['type'] >= $config['mod']['deletebyip'])
- $built .= ' <a title="Delete all posts by IP" href="?/' . $board['uri'] . '/deletebyip/' . $this->id . '">' . $config['mod']['link_deletebyip'] . '</a>';
+ $built .= ' <a onclick="return confirm(\'Are you sure you want to delete all posts by IP?\')" title="Delete all posts by IP" href="?/' . $board['uri'] . '/deletebyip/' . $this->id . '">' . $config['mod']['link_deletebyip'] . '</a>';
// Ban
if($this->mod['type'] >= $config['mod']['ban'])