/[drupal]/contributions/modules/captcha/image_captcha/image_captcha.admin.inc
ViewVC logotype

Diff of /contributions/modules/captcha/image_captcha/image_captcha.admin.inc

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

revision 1.27, Wed Sep 23 20:43:53 2009 UTC revision 1.28, Wed Sep 23 21:23:00 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: image_captcha.admin.inc,v 1.26 2009/09/22 22:51:00 soxofaan Exp $  // $Id: image_captcha.admin.inc,v 1.27 2009/09/23 20:43:53 soxofaan Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 92  function image_captcha_settings_form() { Line 92  function image_captcha_settings_form() {
92      '#type' => 'select',      '#type' => 'select',
93      '#title' => t('Font'),      '#title' => t('Font'),
94      '#default_value' => $default_font,      '#default_value' => $default_font,
95      '#description' => t('Select the font to use for the text in the image CAPTCHA. Apart from the provided defaults, you can also use your own TrueType font: put a TrueType font file (filename extension .ttf) in the "fonts" directory of the image CAPTCHA module (directory "%fontsdir") or in the Drupal "files" directory (directory "%filesdir").',      '#description' => t('Select the font to use for the text in the image CAPTCHA. Apart from the provided defaults, you can also use your own TrueType fonts (filename extension .ttf) by putting them in the Drupal "files" directory (directory %filesdir), %fonts_library_general or %fonts_library_specific.',
96        array('%fontsdir' => drupal_get_path('module', 'image_captcha') .'/fonts',        array('%filesdir' => file_directory_path(),
97          '%filesdir' => file_directory_path())          '%fonts_library_general' => 'sites/all/libraries/fonts',
98            '%fonts_library_specific' => conf_path() .'/libraries/fonts',
99          )
100      ),      ),
101      '#options' => $available_fonts,      '#options' => $available_fonts,
102    );    );

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.2