<optiontype>integer</optiontype>
<hidden>1</hidden>
</option>
- <option name="user_ip_address_searchengine">
+ <option name="ip_address_search_engine">
<categoryname>user.list.online</categoryname>
<optiontype>text</optiontype>
</option>
define('PACKAGE_SERVER_AUTH_CODE', '');
define('PROXY_SERVER_HTTP', '');
define('SESSION_TIMEOUT', 1800);
-define('USER_IP_ADDRESS_SEARCHENGINE', '');
+define('IP_ADDRESS_SEARCH_ENGINE', '');
define('USER_ONLINE_TIMEOUT', 900);
define('SESSION_VALIDATE_IP_ADDRESS', 0);
define('SESSION_VALIDATE_USER_AGENT', 1);
* @inheritDoc
*/
public function execute($tagArgs, TemplateEngine $tplObj) {
- $domain = Url::parse(USER_IP_ADDRESS_SEARCHENGINE ?: self::SEARCH_ENGINE_URL_DEFAULT)['host'];
+ $domain = Url::parse(IP_ADDRESS_SEARCH_ENGINE ?: self::SEARCH_ENGINE_URL_DEFAULT)['host'];
$ipAddress = StringUtil::trim(MessageUtil::stripCrap($tagArgs[0]));
- $url = sprintf(USER_IP_ADDRESS_SEARCHENGINE ?: self::SEARCH_ENGINE_URL_DEFAULT, $ipAddress);
+ $url = sprintf(IP_ADDRESS_SEARCH_ENGINE ?: self::SEARCH_ENGINE_URL_DEFAULT, $ipAddress);
$title = WCF::getLanguage()->getDynamicVariable('wcf.user.ipAddress.searchEngine', ['host' => $domain, 'ipAddress' => $ipAddress]);
return '<a href="' . $url . '"' . (EXTERNAL_LINK_REL_NOFOLLOW ? ' rel="nofollow"' : '') .(EXTERNAL_LINK_TARGET_BLANK ? ' target="_blank"' : '') . ' title="' . $title . '">' . $ipAddress . '</a>';