/[drupal]/contributions/modules/creativecommons/creativecommons.module
ViewVC logotype

Diff of /contributions/modules/creativecommons/creativecommons.module

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

revision 1.9.2.61, Tue Oct 13 18:37:54 2009 UTC revision 1.9.2.62, Wed Nov 4 08:14:54 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: creativecommons.module,v 1.9.2.60 2009/09/01 01:31:50 turadg Exp $  // $Id: creativecommons.module,v 1.9.2.61 2009/10/13 18:37:54 balleyne Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 207  function creativecommons_settings() { Line 207  function creativecommons_settings() {
207      '#description' => t('Attach machine-readable license information as RDF/XML within the HTML of a node to let visitors know what license applies to your works.'),      '#description' => t('Attach machine-readable license information as RDF/XML within the HTML of a node to let visitors know what license applies to your works.'),
208    );    );
209    
210      // TODO: 2.x license text for all licenses should be configurable
211      $form['creativecommons_display']['creativecommons_arr_text'] = array(
212        '#type' => 'textarea',
213        '#title' => t('All Rights Reserved Text'),
214        '#default_value' => variable_get('creativecommons_arr_text', NULL),
215        '#cols' => 60,
216        '#rows' => 3,
217        '#description' => t('This text will be displayed for content which has no license specified (i.e. all rights reserved).'),
218        '#attributes' => NULL,
219        '#required' => NULL,
220      );
221    
222    // This if should only wrap the search option when other options are included here    // This if should only wrap the search option when other options are included here
223    if (module_exists('search')) {    if (module_exists('search')) {
224      $form['creativecommons_advanced'] = array(      $form['creativecommons_advanced'] = array(
# Line 293  function creativecommons_site_defaults() Line 305  function creativecommons_site_defaults()
305    $form['creativecommons_default_license']['creativecommons_default_jurisdiction'] = array(    $form['creativecommons_default_license']['creativecommons_default_jurisdiction'] = array(
306      '#type' => 'select',      '#type' => 'select',
307      '#title' => t('Default jurisdiction'),      '#title' => t('Default jurisdiction'),
308      '#description' => t($q['jurisdiction']['description']),  i    '#description' => t($q['jurisdiction']['description']),
309      '#options' => creativecommons_format_jurisdiction_array($q['jurisdiction']['answers']),      '#options' => creativecommons_format_jurisdiction_array($q['jurisdiction']['answers']),
310      '#default_value' => variable_get('creativecommons_default_jurisdiction', ''),      '#default_value' => variable_get('creativecommons_default_jurisdiction', ''),
311    );    );

Legend:
Removed from v.1.9.2.61  
changed lines
  Added in v.1.9.2.62

  ViewVC Help
Powered by ViewVC 1.1.2