|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<title>Template</title>
|
|
|
|
|
|
|
|
<!--Styles-->
|
|
|
|
<link rel="stylesheet" type="text/css" href="styles/master.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="styles/of_puppets.css">
|
|
|
|
<link rel="stylesheet" href="styles/fonts/Lobster/stylesheet.css">
|
|
|
|
<link rel="stylesheet" href="styles/fonts/SF-Toontime/stylesheet.css">
|
|
|
|
<!--Scripts-->
|
|
|
|
<script type="text/javascript" src="scripts/jquery-1.6.2.min.js"></script>
|
|
|
|
<script type="text/javascript" src="scripts/jquery-ui-1.8.9.custom.min.js"></script>
|
|
|
|
<script type="text/javascript" src="scripts/template2.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function(){
|
|
|
|
var lang = ""; //locale language
|
|
|
|
if(window.sankore){
|
|
|
|
lang = sankore.locale().substr(0,2);
|
|
|
|
} else
|
|
|
|
lang = "en";
|
|
|
|
if(lang == "en"){
|
|
|
|
if(window.sankore)
|
|
|
|
sankore.enableDropOnWidget(false);
|
|
|
|
$("#ub-widget").append('<div id="mp_setup"></div><div id="mp_word"></div>');
|
|
|
|
modeView();
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
returnStatus(lang);
|
|
|
|
}
|
|
|
|
|
|
|
|
function returnStatus(lang){
|
|
|
|
$.ajax({
|
|
|
|
type: 'POST',
|
|
|
|
url:'locales/' + lang + '/index.html',
|
|
|
|
statusCode: {
|
|
|
|
404: function() {
|
|
|
|
if(window.sankore)
|
|
|
|
sankore.enableDropOnWidget(false);
|
|
|
|
modeView();
|
|
|
|
},
|
|
|
|
200: function(){
|
|
|
|
window.location.href = 'locales/' + lang + '/index.html';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<table class="body_table" cellpadding=0 cellspacing=0>
|
|
|
|
<tr style="height: 54px;">
|
|
|
|
<td class="b_top_left"> </td>
|
|
|
|
<td class="b_top_center">
|
|
|
|
<div id="wgt_name"></div>
|
|
|
|
<div id="wgt_reload"></div>
|
|
|
|
<div id="wgt_display" class="selected"></div>
|
|
|
|
<div id="wgt_edit"></div>
|
|
|
|
<select class="style_select">
|
|
|
|
<option value="1"></option>
|
|
|
|
<option value="2"></option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td class="b_top_right"> </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="b_center_left"> </td>
|
|
|
|
<td>
|
|
|
|
<div id="ub-widget">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td class="b_center_right"> </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr style="height: 54px;">
|
|
|
|
<td class="b_bottom_left"> </td>
|
|
|
|
<td class="b_bottom_center"> </td>
|
|
|
|
<td class="b_bottom_right"> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|