/[drupal]/contributions/modules/textimage/textimage_admin.inc
ViewVC logotype

Diff of /contributions/modules/textimage/textimage_admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.15, Thu May 14 03:53:24 2009 UTC revision 1.16, Thu May 14 12:32:20 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: textimage_admin.inc,v 1.14 2009/05/12 23:45:01 deciphered Exp $  // $Id: textimage_admin.inc,v 1.15 2009/05/14 03:53:24 deciphered Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 125  function textimage_preset_edit(&$form_st Line 125  function textimage_preset_edit(&$form_st
125      '#type' => 'textarea',      '#type' => 'textarea',
126      '#title' => t('Description'),      '#title' => t('Description'),
127      '#description' => t('A short description displayed in the list of presets.'),      '#description' => t('A short description displayed in the list of presets.'),
128      '#default_value' => isset($preset['settings']['description'])      '#default_value' => isset($preset['description'])
129        ? $preset['settings']['description']        ? $preset['description']
130        : '',        : '',
131      '#rows' => 1,      '#rows' => 1,
132    );    );
# Line 162  function textimage_preset_edit(&$form_st Line 162  function textimage_preset_edit(&$form_st
162    // Text settings    // Text settings
163    $form['settings']['font'] = array(    $form['settings']['font'] = array(
164      '#type' => 'fieldset',      '#type' => 'fieldset',
165      '#title' => t('Font Settings'),      '#title' => t('Font settings'),
166      '#collapsible' => TRUE,      '#collapsible' => TRUE,
167      '#collapsed' => FALSE,      '#collapsed' => FALSE,
168    );    );
# Line 178  function textimage_preset_edit(&$form_st Line 178  function textimage_preset_edit(&$form_st
178    );    );
179    $form['settings']['font']['size'] = array(    $form['settings']['font']['size'] = array(
180      '#type' => 'textfield',      '#type' => 'textfield',
181      '#title' => t('Font Size'),      '#title' => t('Size'),
182        '#field_suffix' => t('px'),
183      '#description' => t('Enter the size in pixels of the text to be generated.'),      '#description' => t('Enter the size in pixels of the text to be generated.'),
184      '#default_value' => isset($preset['settings']['font']['size'])      '#default_value' => isset($preset['settings']['font']['size'])
185        ? $preset['settings']['font']['size']        ? $preset['settings']['font']['size']
# Line 216  function textimage_preset_edit(&$form_st Line 217  function textimage_preset_edit(&$form_st
217    
218    $form['settings']['text'] = array(    $form['settings']['text'] = array(
219      '#type' => 'fieldset',      '#type' => 'fieldset',
220      '#title' => t('Text Settings'),      '#title' => t('Text settings'),
221      '#collapsible' => TRUE,      '#collapsible' => TRUE,
222      '#collapsed' => FALSE,      '#collapsed' => FALSE,
223    );    );

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.2