thumbs above captcha
This commit is contained in:
parent
60282fb046
commit
4d3eeb0285
@ -1297,7 +1297,7 @@
|
||||
return;
|
||||
}
|
||||
c = QR.captcha.challenge;
|
||||
return $('img', qr).src = "http://www.google.com/recaptcha/api/image?c=" + c;
|
||||
return $('#captcha img', qr).src = "http://www.google.com/recaptcha/api/image?c=" + c;
|
||||
},
|
||||
captchaPush: function(el) {
|
||||
var captcha, captchas;
|
||||
@ -1414,7 +1414,7 @@
|
||||
QR.qr = qr = ui.dialog('qr', {
|
||||
top: '0',
|
||||
left: '0'
|
||||
}, " <a class=close>X</a> <input type=checkbox id=autohide title=autohide> <div class=move> <span class=click> <button>File</button> <span><input form=qr_form name=sub placeholder=Subject><span>Subject</span></span> <span><input form=qr_form name=name placeholder=Name><span>Name</span></span> <span><input form=qr_form name=email placeholder=Email><span>Email</span></span> </span> </div> <form enctype=multipart/form-data method=post action=http://sys.4chan.org/" + g.BOARD + "/post target=iframe id=qr_form> <div hidden> <input name=resto value=" + tid + "> <input name=mode value=regist> <input name=recaptcha_challenge_field id=challenge> <input name=recaptcha_response_field id=response> <input type=file name=upfile> </div> <textarea placeholder=Comment name=com></textarea> <div><img></div> <div id=captcha> <span id=cl>120 Captchas</span> <input id=recaptcha_response_field> </div> <div id=thumbs></div> <div> <button>Submit</button> <input type=checkbox id=autopost title=autopost> <a class=error>Derp</span> </div> </form> ");
|
||||
}, " <a class=close>X</a> <input type=checkbox id=autohide title=autohide> <div class=move> <span class=click> <button>File</button> <span><input form=qr_form name=sub placeholder=Subject><span>Subject</span></span> <span><input form=qr_form name=name placeholder=Name><span>Name</span></span> <span><input form=qr_form name=email placeholder=Email><span>Email</span></span> </span> </div> <form enctype=multipart/form-data method=post action=http://sys.4chan.org/" + g.BOARD + "/post target=iframe id=qr_form> <div hidden> <input name=resto value=" + tid + "> <input name=mode value=regist> <input name=recaptcha_challenge_field id=challenge> <input name=recaptcha_response_field id=response> <input type=file name=upfile> </div> <textarea placeholder=Comment name=com></textarea> <div id=thumbs></div> <div id=captcha> <div><img></div> <span id=cl>120 Captchas</span> <input id=recaptcha_response_field> </div> <div> <button>Submit</button> <input type=checkbox id=autopost title=autopost> <a class=error>Derp</span> </div> </form> ");
|
||||
c = d.cookie;
|
||||
$('[name=name]', qr).value = (m = c.match(/4chan_name=([^;]+)/)) ? decodeURIComponent(m[1]) : '';
|
||||
$('[name=email]', qr).value = (m = c.match(/4chan_email=([^;]+)/)) ? decodeURIComponent(m[1]) : '';
|
||||
|
||||
@ -1013,7 +1013,7 @@ QR =
|
||||
{qr} = QR
|
||||
return unless qr
|
||||
c = QR.captcha.challenge
|
||||
$('img', qr).src = "http://www.google.com/recaptcha/api/image?c=#{c}"
|
||||
$('#captcha img', qr).src = "http://www.google.com/recaptcha/api/image?c=#{c}"
|
||||
captchaPush: (el) ->
|
||||
{captcha} = QR
|
||||
captcha.response = el.value
|
||||
@ -1115,12 +1115,12 @@ QR =
|
||||
<input type=file name=upfile>
|
||||
</div>
|
||||
<textarea placeholder=Comment name=com></textarea>
|
||||
<div><img></div>
|
||||
<div id=thumbs></div>
|
||||
<div id=captcha>
|
||||
<div><img></div>
|
||||
<span id=cl>120 Captchas</span>
|
||||
<input id=recaptcha_response_field>
|
||||
</div>
|
||||
<div id=thumbs></div>
|
||||
<div>
|
||||
<button>Submit</button>
|
||||
<input type=checkbox id=autopost title=autopost>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user