Changeset 28

Show
Ignore:
Timestamp:
12/22/08 12:25:02 (2 years ago)
Author:
matthew
Message:

Notes section now included!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • drupal/modules/iutilities/trunk/iutilities.module

    r27 r28  
    99        $form['i_general'] = array( 
    1010                '#type' => 'fieldset', 
    11                 '#title' => 'General Settings', 
     11                '#title' => 'General', 
    1212                '#description' => 'The settings apply to all the utilities below.', 
    1313        ); 
     
    2020                '#description' => t("The role entered here here will receive warning messages by email."), 
    2121                '#required' => TRUE, 
     22        ); 
     23        $form['i-general']['illuminate_notes'] = array( 
     24                '#type' => 'textarea', 
     25                '#title' => 'Notes', 
     26                '#default_value' => variable_get('illuminate_notes','Type any notes about this contract in this box.'), 
     27                '#description' => 'Any notes relating to this contract can go in here.', 
     28                '#rows' => 4, 
     29                '#resizable' => TRUE, 
    2230        ); 
    2331        $form['i_diskspace'] = array( 
     
    95103                '#options' => $hosting_term_period, 
    96104                '#description' => t(""), 
     105                '#required' => TRUE, 
     106        ); 
     107        $form['i_hostingcost'] = array( 
     108                '#type' => 'fieldset', 
     109                '#title' => 'Hosting cost settings', 
     110                '#description' => 'These settings apply to the cost of hosting contracts.', 
     111        ); 
     112        $form['i_hostingcost']['hosting_cost'] = array( 
     113                '#type' => 'textfield', 
     114                '#title' => t('Yearly hosting costs'), 
     115                '#default_value' => variable_get('hosting_cost', 240), 
     116                '#size' => 5, 
     117                '#maxlength' => 4, 
     118                '#field_prefix' => t('£'), 
     119                '#description' => t("This is the yearly cost of hosting for this website."), 
    97120                '#required' => TRUE, 
    98121        );