/[drupal]/contributions/modules/og/og_access.module
ViewVC logotype

Diff of /contributions/modules/og/og_access.module

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

revision 1.23, Wed Jul 16 19:40:56 2008 UTC revision 1.24, Fri Aug 1 02:54:34 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: og_access.module,v 1.22 2008/07/15 17:03:45 weitzman Exp $  // $Id: og_access.module,v 1.23 2008/07/16 19:40:56 weitzman Exp $
3    
4  // visibility states for private groups. site admin chooses in og_access_settings()  // visibility states for private groups. site admin chooses in og_access_settings()
5  define('OG_PRIVATE_GROUPS_NEVER', 0);  define('OG_PRIVATE_GROUPS_NEVER', 0);
# Line 161  function og_access_alter_nongroup_form(& Line 161  function og_access_alter_nongroup_form(&
161          $form['og_nodeapi']['visible']['og_public'] = array(          $form['og_nodeapi']['visible']['og_public'] = array(
162            '#type' => 'checkbox',            '#type' => 'checkbox',
163            '#title' => t('Public'),            '#title' => t('Public'),
164            '#default_value' => isset($node->nid) ? $node->og_public : 0,            '#default_value' => isset($node->og_public) ? $node->og_public : 0,
165            '#description' => t('Show this post to everyone, or only to members of the groups checked above. Posts without any groups are always <em>public</em>.'),            '#description' => t('Show this post to everyone, or only to members of the groups checked above. Posts without any groups are always <em>public</em>.'),
166            '#weight' => 2,            '#weight' => 2,
167          );          );

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.2