Www.wikipedia.org template/temp

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by PhiLiP (talk | contribs) at 16:57, 1 August 2008. It may differ significantly from the current version.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="mul" lang="mul" dir="ltr"> <head> <title>Wikipedia</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="http://en.wikipedia.org/favicon.ico" /> <link rel="apple-touch-icon" href="http://en.wikipedia.org/apple-touch-icon.png" /> <link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" />

<style type="text/css" media="screen, projection">/*<![CDATA[*/ @import "http://en.wikipedia.org/skins-1.5/monobook/main.css"; /*]]>*/</style> <link rel="stylesheet" type="text/css" media="print" href="http://en.wikipedia.org/skins-1.5/common/commonPrint.css" /> <script type="text/javascript">

   function focusSearchBox() {
       document.getElementById("searchInput").focus();
   }
   function convertChinese() {
       language=navigator.userLanguage;
       if(language == 'zh-hans' || language == 'zh-cn' || language == 'zh-sg' || language == 'zh-my'){
           var zh_1 = document.getElementById('zh_1');
           var zh_2 = document.getElementById('zh_2');
           zh_1.innerHTML = '自由的百科全书';
           zh_2.innerHTML = '条目';
       }
   }
   function addLoadEvent(fn) {
       if (window.addEventListener) window.addEventListener("load", fn, false);
       else if (window.attachEvent) window.attachEvent("onload", fn);
   }
   addLoadEvent(focusSearchBox);
   addLoadEvent(convertChinese);

</script> </head>

<body style="background: #fff;">

</body> </html>