Use the function:
//
before each line of code. This is what the file looks like now and it worked for me.
if ($bAddFlags /* array_search($iBlockId, array_keys($this->aBlocks)) != 0 */) {
// create input for "online only"
//$aInputs[] = array(
//'type' => 'checkbox',
//'name' => 'online_only',
//'label' => _t('_online only'),
//'checked' => $aDefaultParams['online_only'] == 'on',
//);
// create input for "with photos only"
//$aInputs[] = array(
//'type' => 'checkbox',
//'name' => 'photos_only',
//'label' => _t('_With photos only'),
//'checked' => $aDefaultParams['photos_only'] == 'on',
//);
}