Skip to content

Commit c6ebd4b

Browse files
authored
Merge pull request #42 from Crizz0/issue/41
Rename CAPTCHA_TEMPLATE to prefix PASTEBIN_ to avoid conflicts with o…
2 parents 19e109d + 2f6b23e commit c6ebd4b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

controller/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ private function display_pb()
553553
$captcha = $this->captcha_factory->get_instance($this->config['captcha_plugin']);
554554
$captcha->init($this::CONFIRM_PASTEBIN);
555555
}
556-
$this->template->assign_var('CAPTCHA_TEMPLATE', $captcha->get_template());
556+
$this->template->assign_var('PASTEBIN_CAPTCHA_TEMPLATE', $captcha->get_template());
557557
}
558558

559559
$pruning_months_select = '';

styles/prosilver/template/pastebin_post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ <h3>{{ lang('PASTEBIN_SNIPPET_TEXT') }}</h3>
5353
</dl>
5454
</fieldset>
5555

56-
{% if CAPTCHA_TEMPLATE %}
56+
{% if PASTEBIN_CAPTCHA_TEMPLATE %}
5757
<h3>{{ lang('PASTEBIN_CONFIRM') }}</h3>
5858
<p>{{ lang('PASTEBIN_CONFIRM_EXPLAIN') }}</p>
5959

6060

6161
{% DEFINE CAPTCHA_TAB_INDEX = 8 %}
62-
{% INCLUDE ''~ CAPTCHA_TEMPLATE ~'' %}
62+
{% INCLUDE ''~ PASTEBIN_CAPTCHA_TEMPLATE ~'' %}
6363

6464
{% endif %}
6565
</div>

0 commit comments

Comments
 (0)