mirror of
https://github.com/openvk/openvk
synced 2025-07-07 08:19:49 +03:00
Update openvk.cls.js
This commit is contained in:
parent
24e5dc2be5
commit
23c6e121c3
1 changed files with 6 additions and 2 deletions
|
@ -110,7 +110,11 @@ document.addEventListener("DOMContentLoaded", function() { //BEGIN
|
|||
u("#_newPicture").on("click", function(e) {
|
||||
MessageBox(tr('new_photo'),
|
||||
"<form id='tmpPhDelF' action='" + u(this).attr("href") + "' method='POST' enctype='multipart/form-data'>"+
|
||||
"<div id='tmpdd' style='text-align:center'>"+tr('real_photo')+"<br><br>"+tr('formats')+"<br><br>"+"<input type='file' accept='image/*' name='blob' value='"+tr('select_file')+"'><br><br>"+tr('upload_problems')+"<br></div>"+
|
||||
"<div id='tmpdd' style='text-align:center'>"+tr('formats')+"<br><br>"+
|
||||
"<label class=\"button\" style=\"\">"+tr('browse')+
|
||||
"<input type=\"file\" id=\"blob\" name=\"blob\" style=\"display: none;\" onchange=\"filename.innerHTML=blob.files[0].name\" /></label>"+
|
||||
"<div id=\"filename\" style=\"margin-top: 10px;\"></div>"+
|
||||
"<br><br>"+tr('upload_problems')+"<br></div>"+
|
||||
//"<p><input type='checkbox' name='makeAvatarPost'>"+tr('leave_photo')+"</p>"+
|
||||
"<input type='hidden' name='hash' value='" + u("meta[name=csrf]").attr("value") + "' />"+
|
||||
"</form>", [
|
||||
|
|
Loading…
Reference in a new issue