Multi Page Join Form

So, in order to stop .CN spammers I have set up a 2 page join form. Works great!  I even coded the inc/classes/BxDolProfileFields.php to show 2 different buttons when joining so the customer gets the idea that there's more than one page and a finally (see below).

around 1335 find this

        
            $aInputs[] = array(
            'type'    => 'submit',
            'name'    => 'do_submit',
            'value'   => _t( '_Join now' ),
            'colspan' => false,
        );                   
 

replace it with this!

 

        // add submit button
###
#SteveSoft
#04-28-2012
#               
        if( $aHiddenItems['join_page'] != "done" ){           
            $aInputs[] = array(
            'type'    => 'submit',
            'name'    => 'do_submit',
            'value'   => _t( '_Join Next' ),
            'colspan' => false,
        );                   
        }
        else{        $aInputs[] = array(
            'type'    => 'submit',
            'name'    => 'do_submit',
            'value'   => _t( '_Join Complete' ),
            'colspan' => false,
        );
        }

 

so NOW what I want is the name of the join block to change from Join Now to say Join Page 1 then Join Last Page.

 

i KNOW the variable I can check is $aHiddenItems['join_page'], I just do NOT know where to change the TITLE of the Join block.

Thanks!

http://www.mytikibar.com
Quote · 28 Apr 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.