original_string: public function installationFormInit(FormDefaultSettings $form)
      {
          $form->addElement('checkbox', 'do_not_track', null,
              array(
                  'content' => '<div class="form-help">' . Piwik::translate('PrivacyManager_DoNotTrack_EnabledMoreInfo') . '</div> &nbsp;&nbsp;' . Piwik::translate('PrivacyManager_DoNotTrack_Enable')
              ));
          $form->addElement('checkbox', 'anonymise_ip', null,
              array(
                  'content' => '<div class="form-help">' . Piwik::translate('PrivacyManager_AnonymizeIpExtendedHelp', array('213.34.51.91', '213.34.0.0')) . '</div> &nbsp;&nbsp;' . Piwik::translate('PrivacyManager_AnonymizeIpInlineHelp')
              ));
  
          // default values
          $form->addDataSource(new HTML_QuickForm2_DataSource_Array(array(
              'do_not_track' => $this->dntChecker->isActive(),
              'anonymise_ip' => IPAnonymizer::isActive(),
          )));
      }
code: public function installationFormInit(FormDefaultSettings $form)
      {
          $form->addElement('checkbox', 'do_not_track', null,
              array(
                  'content' => '<div class="form-help">' . Piwik::translate('PrivacyManager_DoNotTrack_EnabledMoreInfo') . '</div> &nbsp;&nbsp;' . Piwik::translate('PrivacyManager_DoNotTrack_Enable')
              ));
          $form->addElement('checkbox', 'anonymise_ip', null,
              array(
                  'content' => '<div class="form-help">' . Piwik::translate('PrivacyManager_AnonymizeIpExtendedHelp', array('213.34.51.91', '213.34.0.0')) . '</div> &nbsp;&nbsp;' . Piwik::translate('PrivacyManager_AnonymizeIpInlineHelp')
              ));
  
          // default values
          $form->addDataSource(new HTML_QuickForm2_DataSource_Array(array(
              'do_not_track' => $this->dntChecker->isActive(),
              'anonymise_ip' => IPAnonymizer::isActive(),
          )));
      }
code_tokens: public function installationFormInit ( FormDefaultSettings $ form ) { $ form -> addElement ( 'checkbox' , 'do_not_track' , null , array ( 'content' => '<div class="form-help">' . Piwik :: translate ( 'PrivacyManager_DoNotTrack_EnabledMoreInfo' ) . '</div> &nbsp;&nbsp;' . Piwik :: translate ( 'PrivacyManager_DoNotTrack_Enable' ) ) ) ; $ form -> addElement ( 'checkbox' , 'anonymise_ip' , null , array ( 'content' => '<div class="form-help">' . Piwik :: translate ( 'PrivacyManager_AnonymizeIpExtendedHelp' , array ( '213.34.51.91' , '213.34.0.0' ) ) . '</div> &nbsp;&nbsp;' . Piwik :: translate ( 'PrivacyManager_AnonymizeIpInlineHelp' ) ) ) ; // default values $ form -> addDataSource ( new HTML_QuickForm2_DataSource_Array ( array ( 'do_not_track' => $ this -> dntChecker -> isActive ( ) , 'anonymise_ip' => IPAnonymizer :: isActive ( ) , ) ) ) ; }
docstring: Customize the Installation "default settings" form.
  
  @param FormDefaultSettings $form
docstring_tokens: Customize the Installation default settings form .