]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 15 Oct 2013 09:43:27 +0000 (09:43 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 15 Oct 2013 09:43:27 +0000 (09:43 +0000)
inc/ws/Util/html5/class.ws.html5.compiler.php

index c5f06d5f0de8e663d5ef15d9c3b6823082df8fb9..794bc893ded4a8ed9a1ae7a4fdba5257e6360da7 100644 (file)
@@ -493,7 +493,7 @@ class wsHTML5Compiler {
                }
 
                $print = $this->writePrint();
-               $message = sprintf($this->__('Your browser is not up to date and is not able to run this publication. %sLearn more%s'), '<a href="http://www.whatbrowser.org/intl/' . $this->config->defaultLang . '/" target="_blank">', '</a>');
+               $message = sprintf($this->__('Your browser is not up to date and is not able to run this publication. %sLearn more%s'), '<br /><a href="http://www.whatbrowser.org/intl/' . $this->config->defaultLang . '/" target="_blank">', '</a>');
 
                $splash = '';
                if ($this->theme->parametres->logoLoader) {
@@ -589,6 +589,10 @@ class wsHTML5Compiler {
        }
 
        protected function __($str) {
+               if (!isset($this->config->l10n)) {
+                       $this->writeLangs();
+               }
+       
                if (isset($this->config->l10n['default']->$str)) {
                        return $this->config->l10n['default']->$str;
                } else {