Обновление устаревших яваскриптов.4
This commit is contained in:
parent
5596bd75af
commit
b2459b4b0c
@ -130,7 +130,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
|||||||
s += '<table width=100% align=center bgcolor=FFF6DD><form method=POST>';
|
s += '<table width=100% align=center bgcolor=FFF6DD><form method=POST>';
|
||||||
s += '<tr><td><input type="hidden" name="friendedit" value="' + login + '"><input type="hidden" name="sd4">';
|
s += '<tr><td><input type="hidden" name="friendedit" value="' + login + '"><input type="hidden" name="sd4">';
|
||||||
s += '<input name="comment" value="' + comment + '" placeholder="Комментарий" style="width: 105px">';
|
s += '<input name="comment" value="' + comment + '" placeholder="Комментарий" style="width: 105px">';
|
||||||
s += '<input type="submit" value="Сохранить" style="border:0; vertical-align: middle"></td></tr></form></table>';
|
s += '<input type="submit" value="Сохранить"></td></tr></form></table>';
|
||||||
s += '</td></tr></table>';
|
s += '</td></tr></table>';
|
||||||
document.getElementById("hint4").innerHTML = s;
|
document.getElementById("hint4").innerHTML = s;
|
||||||
document.getElementById("hint4").style.visibility = "visible";
|
document.getElementById("hint4").style.visibility = "visible";
|
||||||
@ -145,7 +145,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
|||||||
s += '<table width=100% bgcolor=FFF6DD align=center><form method=POST>';
|
s += '<table width=100% bgcolor=FFF6DD align=center><form method=POST>';
|
||||||
s += '<tr><td><input name="friendadd" placeholder="Логин" style="width:105px"> ';
|
s += '<tr><td><input name="friendadd" placeholder="Логин" style="width:105px"> ';
|
||||||
s += '<input name="comment" placeholder="Комментарий" style="width:105px"></td></tr>';
|
s += '<input name="comment" placeholder="Комментарий" style="width:105px"></td></tr>';
|
||||||
s += '<tr><td><input type="submit" value="Добавить запись" style="border:0; vertical-align: middle"><input type="hidden" name="sd4"></td></tr></form></table>';
|
s += '<tr><td><input type="submit" value="Добавить запись"><input type="hidden" name="sd4"></td></tr></form></table>';
|
||||||
s += '</td></tr></table>';
|
s += '</td></tr></table>';
|
||||||
document.getElementById("hint4").innerHTML = s;
|
document.getElementById("hint4").innerHTML = s;
|
||||||
document.getElementById("hint4").style.visibility = "visible";
|
document.getElementById("hint4").style.visibility = "visible";
|
||||||
@ -160,7 +160,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
|||||||
s += '<table width=100% align=center bgcolor=FFF6DD><form method=POST>';
|
s += '<table width=100% align=center bgcolor=FFF6DD><form method=POST>';
|
||||||
s += '<tr><td><input type="hidden" name="sd4">';
|
s += '<tr><td><input type="hidden" name="sd4">';
|
||||||
s += '<input name="friendremove" placeholder="Логин" style="width: 105px">';
|
s += '<input name="friendremove" placeholder="Логин" style="width: 105px">';
|
||||||
s += '<input type="submit" value="Сохранить" style="border:0; vertical-align: middle"></td></tr></form></table>';
|
s += '<input type="submit" value="Удалить"></td></tr></form></table>';
|
||||||
s += '</td></tr></table>';
|
s += '</td></tr></table>';
|
||||||
document.getElementById("hint4").innerHTML = s;
|
document.getElementById("hint4").innerHTML = s;
|
||||||
document.getElementById("hint4").style.visibility = "visible";
|
document.getElementById("hint4").style.visibility = "visible";
|
||||||
|
Loading…
Reference in New Issue
Block a user