OSDN Git Service

BugTrack/2389 Set LANG to HTML content language in skin files
authorumorigu <umorigu@gmail.com>
Sat, 19 Nov 2016 13:15:53 +0000 (22:15 +0900)
committerumorigu <umorigu@gmail.com>
Sat, 19 Nov 2016 13:15:53 +0000 (22:15 +0900)
skin/pukiwiki.skin.php
skin/tdiary.skin.php

index 6843b82..1c53681 100644 (file)
@@ -58,7 +58,7 @@ header('Content-Type: text/html; charset=' . CONTENT_CHARSET);
 
 ?>
 <!DOCTYPE html>
-<html lang="ja">
+<html lang="<?php echo LANG ?>">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CONTENT_CHARSET ?>" />
 <?php if ($nofollow || ! $is_read)  { ?> <meta name="robots" content="NOINDEX,NOFOLLOW" /><?php } ?>
index e4b1c2c..89c672e 100644 (file)
@@ -558,7 +558,7 @@ header('Content-Type: text/html; charset=' . CONTENT_CHARSET);
 
 ?>
 <!DOCTYPE html>
-<html lang="ja">
+<html lang="<?php echo LANG ?>">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CONTENT_CHARSET ?>" />
 <?php if ($nofollow || ! $is_read)  { ?> <meta name="robots" content="NOINDEX,NOFOLLOW" /><?php } ?>