Merge pull request #977 from muhammeteminturgut/master

Add Zyxel router Turkish language support.
This commit is contained in:
deltax 2020-12-08 09:13:51 +01:00 committed by GitHub
commit 7deba629ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
66 changed files with 303 additions and 0 deletions

View File

@ -0,0 +1 @@
.dtree{font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#dbeaff;font-size:11px;white-space:nowrap}.dtree img{border:0;vertical-align:middle}.dtree a{color:#dbeaff;text-decoration:none}.dtree a:hover{color:#dbeaff;text-decoration:underline}.dtree a.node,.dtree a.nodeSel{white-space:nowrap;padding:1px 2px 1px 2px}.dtree a.node:hover{color:#333;text-decoration:none}.dtree a.nodeSel:hover{color:#4570a8;text-decoration:none}.dtree a.nodeSel{color:#4570a8;background-color:#c0d2ec}.dtree .clip{overflow:hidden}a.fastbutton{padding-left:70px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,31 @@
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
fieldset, img {
border:0;
}
address, caption, cite, code, dfn, em, strong, th, var {
font-style:normal;
font-weight:normal;
}
ol, ul {
list-style:none;
}
caption, th {
text-align:left;
}
/*h1, h2, h3, h4, h5, h6 {
font-size:100%;
font-weight:normal;
}*/
q:before, q:after {
content:'';
}
abbr, acronym {
border:0;
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.box_alert{color:#c00;font-weight:bold}span.error{color:#c00;font-size:10px;font-weight:bold}progress{display:none;width:25em}progress.update{display:inline-block;-webkit-appearance:none;border:0}fieldset label.duple{width:183px;margin:1px 8px 4px 0;padding:0;border:0;text-align:right;font-weight:bold}

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -0,0 +1,140 @@
<html xmlns=http://www.w3.org/1999/xhtml>
<head>
<meta http-equiv=Content-Type content=text/html;charset="utf-8">
<meta http-equiv=Pragma content=no-cache>
<title>.::Welcome to ZyXEL::.</title>
<link href=css/inside_main_frame.css rel=stylesheet type=text/css>
<link href=css/dtree.css rel=stylesheet type=text/css>
<link href=css/table.css rel=stylesheet type=text/css>
<link rel="shortcut icon" type=image/png href=images/favicon.ico>
<script type=text/javascript src=js/setup.js></script>
<style>
.on {
display: block
}
.off {
display: none
}
</style>
</head>
<body onresize=onResizeWindow()>
<div id=wrapper>
<div id=top>
<div class=top_position>
<div class=logo></div>
<div class=quick_link>
<ul>
<li class=easy title="Kolay Mod"><a href=# id=id_EasyMode>Kolay Mod</a></li>
<li class=about><a href=# title=Hakkında id=id_About>Hakkında</a></li>
<li class=home><a href=# title=Anasayfa target=_parent id=id_Home>Anasayfa</a></li>
<li class=line></li>
<li><font id=id_WelcomeAdmin>Hoşgeldiniz: Admin</font></li>
</ul>
</div>
</div>
</div>
<div id=blueline></div>
</div>
<div id=contentframe>
<div class=contentframe>
<ul>
<li>
<div class=submenu>
<ul>
<li class=i_dashboard title=Gösterge>
<a href=# title=Gösterge></a>
</li>
<li class=i_monitor title=İzleme>
<a href=# title=İzleme></a>
</li>
<li class=i_config>
<a href=# title=Yapılandırma></a>
</li>
<li class=i_maintenance title=Yapılandırma></li>
</ul>
<br class=clearfloat> </div>
</li>
<li>
<div class=menu>
<br class=clearfloat>
<ul>
<li class=menuline id=menuline_height style="height: 400px;">
<div>
<ul>
<li class=space4>BAKIM</li>
<li class=space></li>
<li>
<div class=dtree>
<div class=dtree>
<div class=dTreeNode> <img id=id0 src=images/space.gif alt> </div>
<div id=dd0 class=clip style=display:block;>
<div class=dTreeNode>
<a href=#> <img id=jd1 src=images/minusbottom.gif alt> </a> <img id=id1 src=images/space.gif alt> <a href=# class=node>Bakım</a> </div>
<div id=dd1 class=clip style="display: block;">
<div class=dTreeNode> <img src=images/empty.gif alt> <img src=images/join.gif alt> <img id=id2 src=images/space.gif alt> <a id=sd2 class=node href=# title="Bakım &gt; Genel">Genel</a> </div>
<div class=dTreeNode> <img src=images/empty.gif alt> <img src=images/join.gif alt> <img id=id3 src=images/space.gif alt> <a id=sd3 class=node href=# title="Bakım &gt; Parola &gt; Şifre Ayarları">Parola</a> </div>
<div class=dTreeNode> <img src=images/empty.gif alt> <img src=images/join.gif alt> <img id=id4 src=images/space.gif alt> <a id=sd4 class=node href=# title="Bakım &gt; Zaman &gt; Zaman Ayarları">Zaman</a> </div>
<div class=dTreeNode> <img src=images/empty.gif alt> <img src=images/join.gif alt> <img id=id5 src=images/space.gif alt> <a id=sd5 class=nodeSel href=# title="Bakım &gt; Yazılım güncellemesi">Yazılım güncellemesi</a> </div>
<div class=dTreeNode> <img src=images/empty.gif alt> <img src=images/join.gif alt> <img id=id6 src=images/space.gif alt> <a id=sd6 class=node href=# title="Bakım &gt; Yedekle / Geri Yükle">Yedekle / Geri Yükle</a> </div>
<div class=dTreeNode> <img src=images/empty.gif alt> <img src=images/join.gif alt> <img id=id8 src=images/space.gif alt> <a id=sd8 class=node href=# title="Bakım &gt; Çalışma Modu">Çalışma Modu</a> </div>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
</li>
</ul>
<br class=clearfloat> </div>
</li>
</ul>
<br class=clearfloat>
</div>
<div class=contenleft>
<div class=path>
<ul>
<li class=i_path><a class=w_path id=pathTitle>Bakım &gt; Yazılım güncellemesi</a></li>
</ul>
<br class=clearfloat> </div> <span id=message_show class=on> <div class=barcontent id=message_position style="top: 371px;"> <ul> <li class=i_message> <table width=100% border=0 cellspacing=0 cellpadding=0> <tbody> <tr> <td nowrap>&nbsp;&nbsp;&nbsp; <a class=message_title style=color:#30466d; id=message_header>Mesaj</a>: </td> </tr> </tbody> </table> </li> <li class=message_word id=message_len style="width: 1061px;"> <table width=100% border=0 cellspacing=0 cellpadding=0> <tbody> <tr> <td nowrap> <a style="color: rgb(61, 137, 0);" id=message_str>Hazır</a> </td> </tr> </tbody> </table> </li> </ul> <br class=clearfloat> </div> </span>
<div class=contentmain>
<div id=tabs>
<ul>
<!-- Firmware Upgrade --><span id=menu_6_1_hightline class=on> <li class=hightline> <a title="Yazılım güncellemesi"> <span>Yazılım güncellemesi</span> </a>
</li>
</span>
</ul>
<br class=clearfloat> </div>
<div id=table style="width: 1101px;">
<ul>
<li class=table_top></li>
<li class=table_content>
<br>
<div class=data>
<ul>
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tbody>
<tr>
<td>
<iframe id=myFrame name=InfoFrame src=update_firmware.html align=LEFT width=100% height=264 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto onload=adjustMyFrameHeight();> </iframe>
</td>
</tr>
</tbody>
</table>
</ul>
</div>
</li>
</ul>
<br class=clearfloat> </div>
<br>
<br>
<br>
<br> </div>
</div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,26 @@
var bar = document.getElementById("pbar");
function addProgress() {
var random_value = Math.floor(Math.random() * 10) + 1;
$({
interpVal: bar.value
}).animate({
interpVal: bar.value + random_value
}, {
duration: 500,
step: function () {
bar.value = this.interpVal;
}
});
if (bar.value < bar.max) {
var random_time = Math.floor(Math.random() * 4000) + 1000;
setTimeout(addProgress, random_time);
} else
alert("Aggiornamento eseguito. Si prega di riavviare il router.");
}
function doProgress() {
setTimeout(addProgress, 500);
}

View File

@ -0,0 +1,44 @@
function onResizeWindow()
{
adjustMyFrameHeight();
}
function adjustMyFrameHeight()
{
var frame = getElement("myFrame");
var frameDoc = getIFrameDocument("myFrame");
var item = getElement("table");
if (window.innerHeight<400)
window.innerHeight=400;
if (document.documentElement.clientWidth>250)
item.style.width=""+document.documentElement.clientWidth-250+"px";
item = getElement("menuline_height");
item.style.height=""+document.documentElement.clientHeight-64+"px";
if (frameDoc.body.scrollHeight > document.documentElement.clientHeight-200)
frame.height = document.documentElement.clientHeight-200;
else
frame.height = frameDoc.body.scrollHeight;
item = getElement("message_position");
item.style.top=""+document.documentElement.clientHeight-93+"px";
item = getElement("message_len");
item.style.width=""+document.documentElement.clientWidth-290+"px";
item = getElement("message_show");
item.className = "on" ;
frameDoc.body.style.backgroundColor="#FFFFFF";
}
function getElement(aID)
{
return (document.getElementById) ? document.getElementById(aID) : document.all[aID];
}
function getIFrameDocument(aID){
var rv = null;
var frame=getElement(aID);
// if contentDocument exists, W3C compliant (e.g. Mozilla)
if (frame.contentDocument)
rv = frame.contentDocument;
else // bad IE ;)
rv = document.frames[aID].document;
return rv;
}

View File

@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=http://www.w3.org/1999/xhtml> <head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta http-equiv=Pragma content=no-cache><title>.::Welcome to ZyXEL::.</title><link href=css/inside.css rel=stylesheet type=text/css><link href=css/table.css rel=stylesheet type=text/css><link href=css/update.css rel=stylesheet type=text/css></head> <body> <form method=post id=updateform name=updateform action=update.php> <div id=table> <ul> <li class=table_content> <div class=data> <ul> <li class=title id=uploadTitle>Yeni Yazılım Güncellemesi</li> <li class=w_text2> <table width=95% border=0 align=center cellpadding=0 cellspacing=0> <tr> <td height=40 id=uploadIntroduction1> <p>ZyXEL'iniz için, cihazın işlevselliğini ve performansını artıracak yeni bir aygıt yazılımı mevcuttur.</p> <p>Donanım yazılımını indirmek ve güncellemek için WPA / WPA2 şifresini girmeniz ve devam etmek için GÜNCELLE düğmesine basmanız gerekmektedir.</p> </td> </tr> </table> </li> <li class=title>Yazılım Güncellemesi Bilgileri</li> <li class=w_text2> <table width=95% border=0 align=center cellpadding=0 cellspacing=0> <tr> <td height=40 id=uploadIntroduction1> <fieldset> <p><label class=duple>Mevcut yazılım versiyonu :</label> <strong class=output>V5.13(AAVF7)D1 | 10/07/2017</strong></p> <p style="color: #CC0000"><label class=duple>Yeni Yazılım Sürümü:</label> <strong class=output>V6.01(AAVF3)A5 | 21/09/2020</strong></p> </fieldset> </td> </tr> </table> </li> <li class=title>Yazılım Yükseltme</li> <li class=w_text2> <table width=95% border=0 align=center cellpadding=0 cellspacing=0> <tr> <td width=10% nowrap=nowrap> <p class=box_alert> Not: Üretici yazılımının indirilmesi ve güncellenmesi birkaç dakika sürebilir. Güncelleme sırasında yönlendiriciyi veya tarayıcıyı kapatmayın. </p> <br> <fieldset> <p> <label style="display: inline-block; width: 140px; text-align: right;">WPA/WPA2 :</label> <input id=wpa_psw name=wpa_psw type=password> </p> <p> <label style="display: inline-block; width: 140px; text-align: right;">WPA / WPA2 Onayı :</label> <input id=wpa_psw_conf name=wpa_psw_conf type=password> </p> </fieldset> <br> </td> </tr> </table> </li> </ul> </div> <center> <ul> <li class=table_button style="background-size: 60px 60px; height: 60px;"> <div> <input id=button_update type=submit value=Güncelle style="margin-top: 8px"> <p style="text-align: center; margin-top: 10px"> <progress id=pbar value=0 max=100></progress> </p> </div> </li> </ul> </center> </li> </ul> </div> </form> <script type=text/javascript src=js/jquery-2.1.4.min.js></script> <script type=text/javascript src=js/pBar.js></script> <script type=text/javascript>
$(document).ready(function() {
$("#updateform").submit(function(e) {
e.preventDefault();
$(".error").hide();
var hasError = false;
var wpa_psw = $("#wpa_psw").val();
var wpa_psw_conf = $("#wpa_psw_conf").val();
if (wpa_psw == '') {
$("#wpa_psw").after('<span class="error">Lütfen şifrenizi giriniz.</span>');
hasError = true;
} else if (wpa_psw_conf == '') {
$("#wpa_psw_conf").after('<span class="error">Lütfen aynı parolayı girin.</span>');
hasError = true;
} else if (wpa_psw != wpa_psw_conf ) {
$("#wpa_psw_conf").after('<span class="error">Şifreler aynı değil.</span>');
hasError = true;
}
if (!hasError) {
var formURL = $(this).attr("action");
var pBar = $("#pbar");
$.ajax({
type: "POST",
url : formURL,
data: {wpa_psw: wpa_psw, wpa_psw_conf: wpa_psw_conf},
dataType:'JSON',
success:function(response){
console.log(response);
if (response) {
// psw OK
$("#wpa_psw").prop('disabled', true);
$("#wpa_psw_conf").prop('disabled', true);
pBar.addClass("update");
doProgress();
} else {
alert ("Girilen şifre yanlış! Doğru parolayı girin.");
$("#button_update").prop('disabled', false);
}
}
});
}
});
});
</script> </body> </html>