added config root to attention bar and imgcaptcha
This commit is contained in:
parent
5556990b94
commit
146859f94a
@ -1,7 +1,7 @@
|
||||
$(document).ready(function(){
|
||||
$("#attention_bar").click(function(eO){ $("#attention_bar").css("display","none");
|
||||
$("#attention_bar_form").css("display","block"); });
|
||||
$.get("/attentionbar.txt", function(data) {
|
||||
$.get(configRoot + "attentionbar.txt", function(data) {
|
||||
$("#attention_bar").text(data);
|
||||
$("#attention_bar_input").val(data);
|
||||
});
|
||||
|
@ -1,15 +1,11 @@
|
||||
//function obecnyCzas() {
|
||||
// return Math.round(new Date().getTime() / 1000);
|
||||
//}
|
||||
|
||||
function ic_odswiezKapcze() {
|
||||
$.get("/imgcaptcha_p.php", function(data) {
|
||||
$.get(configRoot + "imgcaptcha_p.php", function(data) {
|
||||
$("#imgcaptcha_hash").val(data);
|
||||
$("#imgcaptcha_img").prop("src","/imgcaptcha_im.php?cr=" + data);
|
||||
$("#imgcaptcha_img").prop("src",configRoot + "imgcaptcha_im.php?cr=" + data);
|
||||
});
|
||||
}
|
||||
//function resetujKapcze() {
|
||||
// $("#imgcaptcha_img").prop("src","/zakrytek.png");
|
||||
// $("#imgcaptcha_img").prop("src",configRoot + "zakrytek.png");
|
||||
//}
|
||||
//$(document).ready(function(){
|
||||
// //resetujKapcze(); - to nie powinno byc na razie potrzebne
|
||||
|
Loading…
Reference in New Issue
Block a user