From: Roland Häder Date: Sun, 28 Oct 2012 08:13:56 +0000 (+0000) Subject: Empty UA strings are better browsers X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b94597c8f6741997009532112211ad0e84af20f;p=mailer.git Empty UA strings are better browsers --- diff --git a/inc/functions.php b/inc/functions.php index 0f372b79a7..a860162bd5 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1957,10 +1957,10 @@ function isSpider () { // Get the UA and trim it down $userAgent = trim(detectUserAgent(TRUE)); - // It should not be empty, if so it is better a spider/bot + // It should not be empty, if so it is better a browser if (empty($userAgent)) { - // It is a spider/bot - return TRUE; + // It is a browser that blocks its UA string + return FALSE; } // END - if // Is it a spider? diff --git a/templates/de/html/admin/admin_validate_reset_hash_form.tpl b/templates/de/html/admin/admin_validate_reset_hash_form.tpl index 46cb1368b9..a41c9e1482 100644 --- a/templates/de/html/admin/admin_validate_reset_hash_form.tpl +++ b/templates/de/html/admin/admin_validate_reset_hash_form.tpl @@ -1,11 +1,12 @@
-
+ + +
{--ADMIN_VALIDATE_HASH_TITLE--}
{--ADMIN_ENTER_LOGIN--} @@ -14,9 +15,9 @@