You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
13 years ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>D'n'd</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||
|
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
|
||
|
<script type="text/javascript">
|
||
12 years ago
|
if (parent && parent.loaded)
|
||
|
parent.loaded();
|
||
|
|
||
13 years ago
|
$(document).ready(function(){
|
||
11 years ago
|
var lang = (window.sankore)?sankore.locale().substr(0,2):"en"; //local language
|
||
13 years ago
|
|
||
11 years ago
|
$.ajax({
|
||
|
type: 'POST',
|
||
|
url:'locales/' + lang + '/index.html',
|
||
|
statusCode: {
|
||
|
404: function() {
|
||
|
window.location.href = 'locales/en/index.html';
|
||
|
},
|
||
|
200: function(){
|
||
|
window.location.href = 'locales/' + lang + '/index.html';
|
||
13 years ago
|
}
|
||
11 years ago
|
}
|
||
|
});
|
||
13 years ago
|
});
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
</body>
|
||
|
</html>
|