Edit

Drupal Reading/setting Drupal config variables

Subject to

<?php
function organic_context_config_page(){
    $form = array();
    $form['onthisdate_maxdisp'] = array(
        '#type' => 'textfield',
        '#title' => t('Maximum number of links'),
        '#default_value' => variable_get('onthisdate_maxdisp', 3),
        '#size' => 2,
        '#maxlength' => 2,
        '#description' => t("The maximum number of links to display in the block."),
        '#required' => TRUE,
    );
    return system_settings_form($form);
}
?>