/[drupal]/contributions/modules/nodereferrer_create/admin.php
ViewVC logotype

Diff of /contributions/modules/nodereferrer_create/admin.php

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

revision 1.1.2.2, Tue Sep 9 11:11:13 2008 UTC revision 1.1.2.3, Fri Oct 10 13:02:52 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: admin.php,v 1.1.2.2 2008/09/09 11:11:13 anselmheaton Exp $
3    
4  /**  /**
5   * Implementation of hook_menu() for admin pages   * Implementation of hook_menu() for admin pages
# Line 57  function nodereferrer_create_callback_ad Line 57  function nodereferrer_create_callback_ad
57      '#default_value' => variable_get('nodereferrer_create_javascript', 1),      '#default_value' => variable_get('nodereferrer_create_javascript', 1),
58    );    );
59    
60      /* Access settings */
61      $form['nodereferrer_create_access_group'] = array(
62        '#type' => 'fieldset',
63        '#collapsible' => true,
64        '#collapsed' => true,
65        '#title' => t('Access settings'),
66      );
67    
68      $form['nodereferrer_create_access_group']['nodereferrer_create_access_if_local_node'] = array(
69        '#type' => 'checkbox',
70        '#title' => t('Only show menus if user can edit current node'),
71        '#description' => t('By default, Nodereferrer Create will show \'create related content\' menus if the
72                             user has the access rights to create the related content - regardless of the user\'s
73                             access rights to the current node. If this is checked, Nodereferrer Create will
74                             only show the \'create related content\' menus if the user has the access rights
75                             to the related content AND to the current node. This is cosmetic only - the user
76                             can always create the related content some other way.'),
77        '#default_value' => variable_get('nodereferrer_create_access_if_local_node', 0),
78      );
79    
80    /* Syncronisation settings */    /* Syncronisation settings */
81    
82    $form['nodereferrer_create_sync_group'] = array(    $form['nodereferrer_create_sync_group'] = array(

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2