Loading XML2HTMLPlugin.php +2 −1 Changes for XML2HTMLPlugin.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ use PKP\core\JSONMessage; use PKP\plugins\GenericPlugin; use PKP\file\PrivateFileManager; use PKP\facades\Locale; class XML2HTMLPlugin extends GenericPlugin { Loading Loading @@ -220,7 +221,7 @@ class XML2HTMLPlugin extends GenericPlugin // Configure the transformer $proc = new XSLTProcessor; $proc->importStyleSheet($xsl); // attach the xsl rules $locale = AppLocale::getLocale(); $locale = Locale::getLocale(); $proc->setParameter('', 'lang', $locale); return $proc->transformToXML($xml); Loading Loading
XML2HTMLPlugin.php +2 −1 Changes for XML2HTMLPlugin.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ use PKP\core\JSONMessage; use PKP\plugins\GenericPlugin; use PKP\file\PrivateFileManager; use PKP\facades\Locale; class XML2HTMLPlugin extends GenericPlugin { Loading Loading @@ -220,7 +221,7 @@ class XML2HTMLPlugin extends GenericPlugin // Configure the transformer $proc = new XSLTProcessor; $proc->importStyleSheet($xsl); // attach the xsl rules $locale = AppLocale::getLocale(); $locale = Locale::getLocale(); $proc->setParameter('', 'lang', $locale); return $proc->transformToXML($xml); Loading