|
From: <var...@us...> - 2021-07-28 13:27:45
|
Revision: 10373
http://sourceforge.net/p/phpwiki/code/10373
Author: vargenau
Date: 2021-07-28 13:27:43 +0000 (Wed, 28 Jul 2021)
Log Message:
-----------
Add language in <html>
Modified Paths:
--------------
trunk/configurator.php
trunk/lib/ErrorManager.php
trunk/passencrypt.php
trunk/themes/Crao/templates/htmldump.tmpl
trunk/themes/Sidebar/templates/htmldump.tmpl
trunk/themes/default/templates/htmldump.tmpl
trunk/themes/default/templates/redirect.tmpl
trunk/themes/default/toolbar.js
Modified: trunk/configurator.php
===================================================================
--- trunk/configurator.php 2021-07-27 19:44:39 UTC (rev 10372)
+++ trunk/configurator.php 2021-07-28 13:27:43 UTC (rev 10373)
@@ -163,7 +163,7 @@
?>
<!DOCTYPE html>
-<html>
+<html xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<title>Configuration tool for PhpWiki <?php echo $config_file ?></title>
Modified: trunk/lib/ErrorManager.php
===================================================================
--- trunk/lib/ErrorManager.php 2021-07-27 19:44:39 UTC (rev 10372)
+++ trunk/lib/ErrorManager.php 2021-07-28 13:27:43 UTC (rev 10373)
@@ -270,7 +270,7 @@
if ($error->isFatal()) {
$this->_noCacheHeaders();
echo "<!DOCTYPE html>\n";
- echo "<html>\n";
+ echo '<html xml:lang="en" lang="en">'."\n";
echo "<head>\n";
echo "<meta charset=\"UTF-8\" />\n";
echo "<title>"._('Fatal PhpWiki Error')."</title>\n";
Modified: trunk/passencrypt.php
===================================================================
--- trunk/passencrypt.php 2021-07-27 19:44:39 UTC (rev 10372)
+++ trunk/passencrypt.php 2021-07-28 13:27:43 UTC (rev 10373)
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<title>Password Encryption Tool</title>
Modified: trunk/themes/Crao/templates/htmldump.tmpl
===================================================================
--- trunk/themes/Crao/templates/htmldump.tmpl 2021-07-27 19:44:39 UTC (rev 10372)
+++ trunk/themes/Crao/templates/htmldump.tmpl 2021-07-28 13:27:43 UTC (rev 10373)
@@ -5,6 +5,7 @@
*/
?>
<!DOCTYPE html>
+<html xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<link rel="home" title="<?php echo HOME_PAGE?>" href="<?php echo WikiURL(HOME_PAGE)?>" />
Modified: trunk/themes/Sidebar/templates/htmldump.tmpl
===================================================================
--- trunk/themes/Sidebar/templates/htmldump.tmpl 2021-07-27 19:44:39 UTC (rev 10372)
+++ trunk/themes/Sidebar/templates/htmldump.tmpl 2021-07-28 13:27:43 UTC (rev 10373)
@@ -5,7 +5,7 @@
*/
?>
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8" />
<link rel="home" title="<?php echo HOME_PAGE?>" href="<?php echo WikiURL(HOME_PAGE)?>" />
Modified: trunk/themes/default/templates/htmldump.tmpl
===================================================================
--- trunk/themes/default/templates/htmldump.tmpl 2021-07-27 19:44:39 UTC (rev 10372)
+++ trunk/themes/default/templates/htmldump.tmpl 2021-07-28 13:27:43 UTC (rev 10373)
@@ -5,7 +5,7 @@
*/
?>
<!DOCTYPE html>
-<html>
+<html xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<link rel="home" title="<?php echo HOME_PAGE?>" href="<?php echo WikiURL(HOME_PAGE)?>" />
Modified: trunk/themes/default/templates/redirect.tmpl
===================================================================
--- trunk/themes/default/templates/redirect.tmpl 2021-07-27 19:44:39 UTC (rev 10372)
+++ trunk/themes/default/templates/redirect.tmpl 2021-07-28 13:27:43 UTC (rev 10373)
@@ -4,7 +4,7 @@
*/
?>
<!DOCTYPE html>
-<html>
+<html xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow" />
Modified: trunk/themes/default/toolbar.js
===================================================================
--- trunk/themes/default/toolbar.js 2021-07-27 19:44:39 UTC (rev 10372)
+++ trunk/themes/default/toolbar.js 2021-07-28 13:27:43 UTC (rev 10373)
@@ -25,7 +25,7 @@
}
};
pullwin.window.document.writeln(doctype);
- pullwin.window.document.writeln('<html>\n<head>\n<title>'+escapeQuotes(title)+'</title>');
+ pullwin.window.document.writeln('<html xml:lang="en" lang="en" >\n<head>\n<title>'+escapeQuotes(title)+'</title>');
pullwin.window.document.writeln(cssfile);
pullwin.window.document.writeln('</head>\n<body>');
pullwin.window.document.writeln('<p>\nYou can double-click to insert.\n</p>');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|