]> source.dussan.org Git - nextcloud-server.git/commitdiff
add _blank to href
authorRenaud Fortier <Renaud.Fortier@fsaa.ulaval.ca>
Mon, 21 Dec 2015 18:28:32 +0000 (13:28 -0500)
committerRenaud Fortier <Renaud.Fortier@fsaa.ulaval.ca>
Mon, 21 Dec 2015 18:28:32 +0000 (13:28 -0500)
core/js/setupchecks.js

index 5ac1945da735e1bf11e4434ebaff43088703d602..8763ec1c71b401b3bf8d5669b16b6552d3221ffa 100644 (file)
                                        }
                                        if(!data.isMemcacheConfigured) {
                                                messages.push({
-                                                       msg: t('core', 'No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our <a href="{docLink}">documentation</a>.', {docLink: data.memcacheDocs}),
+                                                       msg: t('core', 'No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our <a target="_blank" href="{docLink}">documentation</a>.', {docLink: data.memcacheDocs}),
                                                        type: OC.SetupChecks.MESSAGE_TYPE_INFO
                                                });
                                        }
                                        if(!data.isUrandomAvailable) {
                                                messages.push({
-                                                       msg: t('core', '/dev/urandom is not readable by PHP which is highly discouraged for security reasons. Further information can be found in our <a href="{docLink}">documentation</a>.', {docLink: data.securityDocs}),
+                                                       msg: t('core', '/dev/urandom is not readable by PHP which is highly discouraged for security reasons. Further information can be found in our <a target="_blank" href="{docLink}">documentation</a>.', {docLink: data.securityDocs}),
                                                        type: OC.SetupChecks.MESSAGE_TYPE_WARNING
                                                });
                                        }
                                        }
                                        if(data.phpSupported && data.phpSupported.eol) {
                                                messages.push({
-                                                       msg: t('core', 'Your PHP version ({version}) is no longer <a href="{phpLink}">supported by PHP</a>. We encourage you to upgrade your PHP version to take advantage of performance and security updates provided by PHP.', {version: data.phpSupported.version, phpLink: 'https://secure.php.net/supported-versions.php'}),
+                                                       msg: t('core', 'Your PHP version ({version}) is no longer <a target="_blank" href="{phpLink}">supported by PHP</a>. We encourage you to upgrade your PHP version to take advantage of performance and security updates provided by PHP.', {version: data.phpSupported.version, phpLink: 'https://secure.php.net/supported-versions.php'}),
                                                        type: OC.SetupChecks.MESSAGE_TYPE_INFO
                                                });
                                        }
                                        if(!data.forwardedForHeadersWorking) {
                                                messages.push({
-                                                       msg: t('core', 'The reverse proxy headers configuration is incorrect, or you are accessing ownCloud from a trusted proxy. If you are not accessing ownCloud from a trusted proxy, this is a security issue and can allow an attacker to spoof their IP address as visible to ownCloud. Further information can be found in our <a href="{docLink}">documentation</a>.', {docLink: data.reverseProxyDocs}),
+                                                       msg: t('core', 'The reverse proxy headers configuration is incorrect, or you are accessing ownCloud from a trusted proxy. If you are not accessing ownCloud from a trusted proxy, this is a security issue and can allow an attacker to spoof their IP address as visible to ownCloud. Further information can be found in our <a target="_blank" href="{docLink}">documentation</a>.', {docLink: data.reverseProxyDocs}),
                                                        type: OC.SetupChecks.MESSAGE_TYPE_WARNING
                                                });
                                        }
                                        if(!data.isCorrectMemcachedPHPModuleInstalled) {
                                                messages.push({
-                                                       msg: t('core', 'Memcached is configured as distributed cache, but the wrong PHP module "memcache" is installed. \\OC\\Memcache\\Memcached only supports "memcached" and not "memcache". See the <a href="{wikiLink}">memcached wiki about both modules</a>.', {wikiLink: 'https://code.google.com/p/memcached/wiki/PHPClientComparison'}),
+                                                       msg: t('core', 'Memcached is configured as distributed cache, but the wrong PHP module "memcache" is installed. \\OC\\Memcache\\Memcached only supports "memcached" and not "memcache". See the <a target="_blank" href="{wikiLink}">memcached wiki about both modules</a>.', {wikiLink: 'https://code.google.com/p/memcached/wiki/PHPClientComparison'}),
                                                        type: OC.SetupChecks.MESSAGE_TYPE_WARNING
                                                });
                                        }
                                                messages.push({
                                                        msg: t(
                                                                        'core',
-                                                                       'Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our <a href="{docLink}">documentation</a>. (<a href="{codeIntegrityDownloadEndpoint}">List of invalid files…</a> / <a href="{rescanEndpoint}">Rescan…</a>)',
+                                                                       'Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our <a target="_blank" href="{docLink}">documentation</a>. (<a href="{codeIntegrityDownloadEndpoint}">List of invalid files…</a> / <a href="{rescanEndpoint}">Rescan…</a>)',
                                                                        {
                                                                                docLink: data.codeIntegrityCheckerDocumentation,
                                                                                codeIntegrityDownloadEndpoint: OC.generateUrl('/settings/integrity/failed'),