Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ajax at Step 5
#1
Exclamation 
Im trying to translate the 5 steps of the order plans, at the step 5, tht uses ajax to fill the html div with the error that users did at step 3, something like 'Human test failed!'...

where are the files that specify what ajax will put in that div? i really need to find them! so i can translate all my tht to the language i need, can someone help me please?
Reply
#2
Search for that (using your editor's Find feature) in ajax.php
Kevin Mark - TheHostingTool Lead Developer
Reply
#3
(05-13-2013, 12:07 AM)Kevin Wrote: Search for that (using your editor's Find feature) in ajax.php

Yes i did!, is the first thing i did, but nothing found Sad, atleast not in the includes/ajax.php file

if you search "human" this is what you get:
PHP Code:
//Basic captcha check... thanks http://frikk.tk!
    
public function humancheck() {
        global 
$main;
        if(
$main->getvar['human'] != $_SESSION["pass"]) {
            
$_SESSION['check']['human'] = false;
            echo 
0;
        } else {
            
$_SESSION['check']['human'] = true;
            echo 
1;
        }
    } 
Reply
#4
I did a quick grep search on the source and I believe the string exists in class_server.php
Kevin Mark - TheHostingTool Lead Developer
Reply
#5
nice one!! thank you very much buddy!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)