diff --git a/dwoo/templates/img_post_box.tpl b/dwoo/templates/img_post_box.tpl
index e396091..ea474dc 100644
--- a/dwoo/templates/img_post_box.tpl
+++ b/dwoo/templates/img_post_box.tpl
@@ -27,15 +27,6 @@
{t}Email{/t}
- |
-
- {if $board.enablecaptcha eq 1}
-
-
-
- |
-
-
|
{/if}
@@ -61,6 +52,12 @@
+ {if $board.enablecaptcha eq 1}
+
+ | {t}Captcha{/t} |
+ {$recaptcha} |
+
+ {/if}
{if $board.uploadtype eq 0 || $board.uploadtype eq 1}
|
diff --git a/dwoo/templates/oek_post_box.tpl b/dwoo/templates/oek_post_box.tpl
index 468b9f1..e156660 100644
--- a/dwoo/templates/oek_post_box.tpl
+++ b/dwoo/templates/oek_post_box.tpl
@@ -56,15 +56,6 @@
|
- {if $board.enablecaptcha eq 1}
-
-
-
- |
-
-
- |
-
{/if}
|
@@ -88,6 +79,12 @@
|
+ {if $board.enablecaptcha eq 1}
+
+ | {t}Captcha{/t} |
+ {$recaptcha} |
+
+ {/if}
{if $board.uploadtype eq 0 || $board.uploadtype eq 1}
|
diff --git a/dwoo/templates/txt_post_box.tpl b/dwoo/templates/txt_post_box.tpl
index 8814e81..eb300c0 100644
--- a/dwoo/templates/txt_post_box.tpl
+++ b/dwoo/templates/txt_post_box.tpl
@@ -43,13 +43,10 @@
{/if}
{if $board.enablecaptcha eq 1}
- | |
-
-
-
-
-
- |
+
+ | {t}Captcha{/t} |
+ {$recaptcha} |
+
{/if}
{if ($board.forcedanon eq 1 && $board.enablecaptcha neq 1) || $board.forcedanon neq 1}
diff --git a/dwoo/templates/upl_post_box.tpl b/dwoo/templates/upl_post_box.tpl
index f073aad..ac6a471 100644
--- a/dwoo/templates/upl_post_box.tpl
+++ b/dwoo/templates/upl_post_box.tpl
@@ -29,15 +29,6 @@
|
- {if $board.enablecaptcha eq 1}
-
-
-
- |
-
-
- |
-
{/if}
|
@@ -61,6 +52,12 @@
|
+ {if $board.enablecaptcha eq 1}
+
+ | {t}Captcha{/t} |
+ {$recaptcha} |
+
+ {/if}
{if $board.uploadtype eq 0 || $board.uploadtype eq 1}
|
diff --git a/inc/classes/manage.class.php b/inc/classes/manage.class.php
index bdb465b..bde0a8b 100644
--- a/inc/classes/manage.class.php
+++ b/inc/classes/manage.class.php
@@ -3271,17 +3271,14 @@ class Manage {
foreach($results AS $line) {
$tc_db->Execute("UPDATE `".KU_DBPREFIX."posts` SET `message` = ".$tc_db->qstr($line['message'] . $ban_msg)." WHERE `boardid` = " . $tc_db->qstr($ban_board_id) . " AND `id` = ".$tc_db->qstr($postids[$i]));
- echo $ban_msg . ' Post ' . $i;
clearPostCache($postids[$i], $ban_board_id);
if ($line['parentid']==0) {
if (!in_array($postids, $regenerated)) {
$regenerated[] = $postids[$i];
- echo 'Line 3368';
}
} else {
if (!in_array($line['parentid'], $regenerated)) {
$regenerated[] = $line['parentid'];
- echo 'Line 3373';
}
}
}
|