From: Marcel Werk Date: Tue, 26 Feb 2019 17:46:02 +0000 (+0100) Subject: Disable search-dropdown if captcha is required X-Git-Tag: 5.2.0_Alpha_1~257 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d53b11443f6c5a10fe62b0637d00dd6dba61c657;p=GitHub%2FWoltLab%2FWCF.git Disable search-dropdown if captcha is required Closes #2856 --- diff --git a/com.woltlab.wcf/templates/pageHeaderUser.tpl b/com.woltlab.wcf/templates/pageHeaderUser.tpl index f52e8456e3..ad55fefe21 100644 --- a/com.woltlab.wcf/templates/pageHeaderUser.tpl +++ b/com.woltlab.wcf/templates/pageHeaderUser.tpl @@ -277,8 +277,14 @@ {/if} -
  • - {lang}wcf.global.search{/lang} -
  • + {if !SEARCH_USE_CAPTCHA || $__wcf->user->userID} +
  • + {lang}wcf.global.search{/lang} +
  • + {else} +
  • + {lang}wcf.global.search{/lang} +
  • + {/if}