CC-2718: Changes to the support page
- stroing and retreving new value "privact" to DB - Displaying "Terms and Condition" link when user agrees it
This commit is contained in:
parent
6c2f94dec7
commit
3e3391dfba
8 changed files with 86 additions and 44 deletions
|
@ -8,10 +8,15 @@ class Application_Form_RegisterAirtime extends Zend_Form
|
|||
$this->setAction('/Nowplaying');
|
||||
$this->setMethod('post');
|
||||
|
||||
$country_list = Application_Model_Preference::GetCountryList();
|
||||
|
||||
$country_list = Application_Model_Preference::GetCountryList();
|
||||
|
||||
$privacyChecked = false;
|
||||
if(Application_Model_Preference::GetPrivacyPolicyCheck() == 1){
|
||||
$privacyChecked = true;
|
||||
}
|
||||
|
||||
$this->setDecorators(array(
|
||||
array('ViewScript', array('viewScript' => 'form/register-dialog.phtml')),
|
||||
array('ViewScript', array('viewScript' => 'form/register-dialog.phtml', 'privacyChecked'=>$privacyChecked)),
|
||||
array('File', array('viewScript' => 'form/register-dialog.phtml', 'placement' => false)))
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue