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.0 KiB
33 lines
1.0 KiB
12 years ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>D'n'd</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||
12 years ago
|
<script src="js/jquery-1.8.0.min.js"></script>
|
||
12 years ago
|
<script type="text/javascript">
|
||
12 years ago
|
if (parent && parent.loaded)
|
||
|
parent.loaded();
|
||
|
|
||
12 years ago
|
$(document).ready(function(){
|
||
11 years ago
|
var lang = (window.sankore)?sankore.locale().substr(0,2):"en"; //local language
|
||
|
|
||
|
$.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';
|
||
12 years ago
|
}
|
||
11 years ago
|
}
|
||
|
});
|
||
12 years ago
|
});
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
</body>
|
||
|
</html>
|