|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>D'n'd</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/basic.css"/>
|
|
|
|
<script src="js/jquery-1.8.0.min.js"></script>
|
|
|
|
<script src="js/jquery-ui-1.8.23.custom.min.js"></script>
|
|
|
|
<script type="text/javascript" src="js/script.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
if (parent && parent.loaded)
|
|
|
|
parent.loaded();
|
|
|
|
|
|
|
|
$(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);
|
|
|
|
start();
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
returnStatus(lang);
|
|
|
|
}
|
|
|
|
|
|
|
|
function returnStatus(lang){
|
|
|
|
$.ajax({
|
|
|
|
type: 'POST',
|
|
|
|
url:'locales/' + lang + '/index.html',
|
|
|
|
statusCode: {
|
|
|
|
404: function() {
|
|
|
|
start();
|
|
|
|
},
|
|
|
|
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_help"></div>
|
|
|
|
<div id="wgt_reload"></div>
|
|
|
|
<div id="wgt_display" class="selected"></div>
|
|
|
|
<div id="wgt_edit"></div>
|
|
|
|
</td>
|
|
|
|
<td class="b_top_right"> </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="b_center_left"> </td>
|
|
|
|
<td>
|
|
|
|
<div id="help"></div>
|
|
|
|
<div id="data">
|
|
|
|
<div id="parameters">
|
|
|
|
<div class="inline">
|
|
|
|
<label>
|
|
|
|
<select id="style_select">
|
|
|
|
<option value="1"></option>
|
|
|
|
<option value="2"></option>
|
|
|
|
<option value="3"></option>
|
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</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>
|