@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_topics.features.taxonomy.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_topics.features.taxonomy.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_taxonomy_default_vocabularies(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Code for the Commons Topics feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the Commons Topics feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'commons_topics.features.inc'; |
| 8 | 8 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | $commons_topics_entity_types = commons_topics_get_entity_types_with_topics(); |
| 20 | 20 | if (!empty($commons_topics_entity_types)) { |
| 21 | 21 | foreach ($commons_topics_entity_types as $entity_type => $bundles) { |
| 22 | - foreach(array_keys($bundles) as $bundle) { |
|
| 22 | + foreach (array_keys($bundles) as $bundle) { |
|
| 23 | 23 | $info['features']['field_instance'][] = "$entity_type-$bundle-field_topics"; |
| 24 | 24 | } |
| 25 | 25 | } |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_topics.features.field_instance.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_topics.features.field_instance.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_instances(). |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | $commons_groups_entity_types = commons_topics_get_entity_types_with_topics(); |
| 15 | 15 | if (!empty($commons_groups_entity_types)) { |
| 16 | 16 | foreach ($commons_groups_entity_types as $entity_type => $bundles) { |
| 17 | - foreach(array_keys($bundles) as $bundle) { |
|
| 17 | + foreach (array_keys($bundles) as $bundle) { |
|
| 18 | 18 | commons_topics_field_definition($field_instances, $entity_type, $bundle); |
| 19 | 19 | } |
| 20 | 20 | } |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Code for the Commons Site Homepage feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the Commons Site Homepage feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'commons_site_homepage.features.inc'; |
| 8 | 8 | |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $form['sort_by']['#title'] = t('sorted by'); |
| 27 | 27 | foreach ($form['type']['#options'] as $type => $name) { |
| 28 | 28 | if ($type != 'All') { |
| 29 | - $form['type']['#options'][$type] = t(strtolower(substr($name, 0, 1)) . substr($name,1) . 's'); |
|
| 29 | + $form['type']['#options'][$type] = t(strtolower(substr($name, 0, 1)) . substr($name, 1) . 's'); |
|
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 | } |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_site_homepage.strongarm.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_site_homepage.strongarm.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_strongarm(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_site_homepage.features.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_site_homepage.features.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_ctools_plugin_api(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_site_homepage.pages_default.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_site_homepage.pages_default.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_default_page_manager_pages(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Commons module integration for the Commons Posts module. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Commons module integration for the Commons Posts module. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_commons_entity_integration(). |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | function commons_posts_commons_bw_create_all_widget($group) { |
| 41 | 41 | if (og_user_access('node', $group->nid, 'create post content')) { |
| 42 | - $link = l(t('Create a post'),'node/add/post', |
|
| 42 | + $link = l(t('Create a post'), 'node/add/post', |
|
| 43 | 43 | array('attributes' => array('class' => 'commons-posts-create'), 'query' => array('og_group_ref' => $group->nid)) |
| 44 | 44 | ); |
| 45 | 45 | return array( |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_posts.features.user_permission.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_posts.features.user_permission.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_user_default_permissions(). |