$value) { $final_types[$key] = $value->name; } $form['archive_type_filters'] = array( '#type' => 'checkboxes', '#title' => t('Content types available in archive'), '#default_value' => variable_get('archive_type_filters', array()), '#options' => $final_types, '#description' => t('Posts of these types will be displayed in the archive. If you select no types, there will be no type-specific limitations and all types will be displayed in the archive.') ); // PIXTURE STUDIO - start $form['archive_display_block_by_types'] = array( '#type' => 'checkbox', '#title' => t('Display blocks only for the valid content types selected above'), '#default_value' => variable_get('archive_display_block_by_types', 0), ); // PIXTURE STUDIO - end return system_settings_form($form); }