@@ -4,8 +4,8 @@ |
||
| 4 | 4 | * Implementation of hook_ctools_plugin_api(). |
| 5 | 5 | */ |
| 6 | 6 | function global_search_ctools_plugin_api() { |
| 7 | - list($module, $api) = func_get_args(); |
|
| 8 | - if ($module == "strongarm" && $api == "strongarm") { |
|
| 7 | + list($module, $api) = func_get_args(); |
|
| 8 | + if ($module == "strongarm" && $api == "strongarm") { |
|
| 9 | 9 | return array("version" => 1); |
| 10 | - } |
|
| 10 | + } |
|
| 11 | 11 | } |
@@ -4,17 +4,17 @@ |
||
| 4 | 4 | * Implementation of hook_ctools_plugin_api(). |
| 5 | 5 | */ |
| 6 | 6 | function stats_charts_ctools_plugin_api() { |
| 7 | - list($module, $api) = func_get_args(); |
|
| 8 | - if ($module == "panels_mini" && $api == "panels_default") { |
|
| 7 | + list($module, $api) = func_get_args(); |
|
| 8 | + if ($module == "panels_mini" && $api == "panels_default") { |
|
| 9 | 9 | return array("version" => 1); |
| 10 | - } |
|
| 10 | + } |
|
| 11 | 11 | } |
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * Implementation of hook_views_api(). |
| 15 | 15 | */ |
| 16 | 16 | function stats_charts_views_api() { |
| 17 | - return array( |
|
| 17 | + return array( |
|
| 18 | 18 | 'api' => '2', |
| 19 | - ); |
|
| 19 | + ); |
|
| 20 | 20 | } |
@@ -4,8 +4,8 @@ |
||
| 4 | 4 | * Implementation of hook_ctools_plugin_api(). |
| 5 | 5 | */ |
| 6 | 6 | function mobilemenu_ctools_plugin_api() { |
| 7 | - list($module, $api) = func_get_args(); |
|
| 8 | - if ($module == "strongarm" && $api == "strongarm") { |
|
| 7 | + list($module, $api) = func_get_args(); |
|
| 8 | + if ($module == "strongarm" && $api == "strongarm") { |
|
| 9 | 9 | return array("version" => 1); |
| 10 | - } |
|
| 10 | + } |
|
| 11 | 11 | } |
@@ -4,12 +4,12 @@ discard block |
||
| 4 | 4 | * Implementation of hook_default_fe_block_settings(). |
| 5 | 5 | */ |
| 6 | 6 | function mobilemenu_default_fe_block_settings() { |
| 7 | - $export = array(); |
|
| 7 | + $export = array(); |
|
| 8 | 8 | |
| 9 | - // boinc |
|
| 10 | - $theme = array(); |
|
| 9 | + // boinc |
|
| 10 | + $theme = array(); |
|
| 11 | 11 | |
| 12 | - $theme['mobile_menu_toggle-0'] = array( |
|
| 12 | + $theme['mobile_menu_toggle-0'] = array( |
|
| 13 | 13 | 'module' => 'mobile_menu_toggle', |
| 14 | 14 | 'delta' => '0', |
| 15 | 15 | 'theme' => 'boinc', |
@@ -22,14 +22,14 @@ discard block |
||
| 22 | 22 | 'pages' => '', |
| 23 | 23 | 'title' => '<none>', |
| 24 | 24 | 'cache' => '1', |
| 25 | - ); |
|
| 25 | + ); |
|
| 26 | 26 | |
| 27 | - $export['boinc'] = $theme; |
|
| 27 | + $export['boinc'] = $theme; |
|
| 28 | 28 | |
| 29 | - // einstein |
|
| 30 | - $theme = array(); |
|
| 29 | + // einstein |
|
| 30 | + $theme = array(); |
|
| 31 | 31 | |
| 32 | - $theme['mobile_menu_toggle-0'] = array( |
|
| 32 | + $theme['mobile_menu_toggle-0'] = array( |
|
| 33 | 33 | 'module' => 'mobile_menu_toggle', |
| 34 | 34 | 'delta' => '0', |
| 35 | 35 | 'theme' => 'einstein', |
@@ -42,14 +42,14 @@ discard block |
||
| 42 | 42 | 'pages' => '', |
| 43 | 43 | 'title' => '<none>', |
| 44 | 44 | 'cache' => '1', |
| 45 | - ); |
|
| 45 | + ); |
|
| 46 | 46 | |
| 47 | - $export['einstein'] = $theme; |
|
| 47 | + $export['einstein'] = $theme; |
|
| 48 | 48 | |
| 49 | - // garland |
|
| 50 | - $theme = array(); |
|
| 49 | + // garland |
|
| 50 | + $theme = array(); |
|
| 51 | 51 | |
| 52 | - $theme['mobile_menu_toggle-0'] = array( |
|
| 52 | + $theme['mobile_menu_toggle-0'] = array( |
|
| 53 | 53 | 'module' => 'mobile_menu_toggle', |
| 54 | 54 | 'delta' => '0', |
| 55 | 55 | 'theme' => 'garland', |
@@ -62,16 +62,16 @@ discard block |
||
| 62 | 62 | 'pages' => '', |
| 63 | 63 | 'title' => '<none>', |
| 64 | 64 | 'cache' => '1', |
| 65 | - ); |
|
| 65 | + ); |
|
| 66 | 66 | |
| 67 | - $export['garland'] = $theme; |
|
| 67 | + $export['garland'] = $theme; |
|
| 68 | 68 | |
| 69 | - $theme_default = variable_get('theme_default', 'garland'); |
|
| 70 | - $themes = list_themes(); |
|
| 71 | - foreach ($export as $theme_key => $settings) { |
|
| 69 | + $theme_default = variable_get('theme_default', 'garland'); |
|
| 70 | + $themes = list_themes(); |
|
| 71 | + foreach ($export as $theme_key => $settings) { |
|
| 72 | 72 | if ($theme_key != $theme_default && empty($themes[$theme_key]->status)) { |
| 73 | - unset($export[$theme_key]); |
|
| 73 | + unset($export[$theme_key]); |
|
| 74 | 74 | } |
| 75 | - } |
|
| 76 | - return $export; |
|
| 75 | + } |
|
| 76 | + return $export; |
|
| 77 | 77 | } |
@@ -4,79 +4,79 @@ |
||
| 4 | 4 | * Implementation of hook_strongarm(). |
| 5 | 5 | */ |
| 6 | 6 | function mobilemenu_strongarm() { |
| 7 | - $export = array(); |
|
| 7 | + $export = array(); |
|
| 8 | 8 | |
| 9 | - $strongarm = new stdClass; |
|
| 10 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 11 | - $strongarm->api_version = 1; |
|
| 12 | - $strongarm->name = 'dhtml_menu_settings'; |
|
| 13 | - $strongarm->value = array( |
|
| 9 | + $strongarm = new stdClass; |
|
| 10 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 11 | + $strongarm->api_version = 1; |
|
| 12 | + $strongarm->name = 'dhtml_menu_settings'; |
|
| 13 | + $strongarm->value = array( |
|
| 14 | 14 | 'nav' => 'none', |
| 15 | 15 | 'animation' => array( |
| 16 | - 'effects' => array( |
|
| 16 | + 'effects' => array( |
|
| 17 | 17 | 'height' => 'height', |
| 18 | 18 | 'opacity' => 'opacity', |
| 19 | 19 | 'width' => 0, |
| 20 | - ), |
|
| 21 | - 'speed' => '500', |
|
| 20 | + ), |
|
| 21 | + 'speed' => '500', |
|
| 22 | 22 | ), |
| 23 | 23 | 'effects' => array( |
| 24 | - 'siblings' => 'close-same-tree', |
|
| 25 | - 'children' => 'none', |
|
| 26 | - 'remember' => '0', |
|
| 24 | + 'siblings' => 'close-same-tree', |
|
| 25 | + 'children' => 'none', |
|
| 26 | + 'remember' => '0', |
|
| 27 | 27 | ), |
| 28 | 28 | 'filter' => array( |
| 29 | - 'type' => 'whitelist', |
|
| 30 | - 'list' => array( |
|
| 29 | + 'type' => 'whitelist', |
|
| 30 | + 'list' => array( |
|
| 31 | 31 | 'primary-links' => 'primary-links', |
| 32 | 32 | 'devel' => 0, |
| 33 | 33 | 'menu-footer-links' => 0, |
| 34 | 34 | 'navigation' => 0, |
| 35 | - ), |
|
| 35 | + ), |
|
| 36 | 36 | ), |
| 37 | - ); |
|
| 38 | - $export['dhtml_menu_settings'] = $strongarm; |
|
| 37 | + ); |
|
| 38 | + $export['dhtml_menu_settings'] = $strongarm; |
|
| 39 | 39 | |
| 40 | - $strongarm = new stdClass; |
|
| 41 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 42 | - $strongarm->api_version = 1; |
|
| 43 | - $strongarm->name = 'dhtml_menu_theme'; |
|
| 44 | - $strongarm->value = array( |
|
| 40 | + $strongarm = new stdClass; |
|
| 41 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 42 | + $strongarm->api_version = 1; |
|
| 43 | + $strongarm->name = 'dhtml_menu_theme'; |
|
| 44 | + $strongarm->value = array( |
|
| 45 | 45 | 'garland' => array( |
| 46 | - 'menu_item' => 'theme_menu_item', |
|
| 47 | - 'menu_item_link' => 'theme_menu_item_link', |
|
| 46 | + 'menu_item' => 'theme_menu_item', |
|
| 47 | + 'menu_item_link' => 'theme_menu_item_link', |
|
| 48 | 48 | ), |
| 49 | 49 | 'einstein' => array( |
| 50 | - 'menu_item' => 'theme_menu_item', |
|
| 51 | - 'menu_item_link' => 'zen_menu_item_link', |
|
| 50 | + 'menu_item' => 'theme_menu_item', |
|
| 51 | + 'menu_item_link' => 'zen_menu_item_link', |
|
| 52 | 52 | ), |
| 53 | 53 | 'boinc' => array( |
| 54 | - 'menu_item' => 'theme_menu_item', |
|
| 55 | - 'menu_item_link' => 'zen_menu_item_link', |
|
| 54 | + 'menu_item' => 'theme_menu_item', |
|
| 55 | + 'menu_item_link' => 'zen_menu_item_link', |
|
| 56 | 56 | ), |
| 57 | - ); |
|
| 58 | - $export['dhtml_menu_theme'] = $strongarm; |
|
| 57 | + ); |
|
| 58 | + $export['dhtml_menu_theme'] = $strongarm; |
|
| 59 | 59 | |
| 60 | - $strongarm = new stdClass; |
|
| 61 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 62 | - $strongarm->api_version = 1; |
|
| 63 | - $strongarm->name = 'mobile_menu_block'; |
|
| 64 | - $strongarm->value = 0; |
|
| 65 | - $export['mobile_menu_block'] = $strongarm; |
|
| 60 | + $strongarm = new stdClass; |
|
| 61 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 62 | + $strongarm->api_version = 1; |
|
| 63 | + $strongarm->name = 'mobile_menu_block'; |
|
| 64 | + $strongarm->value = 0; |
|
| 65 | + $export['mobile_menu_block'] = $strongarm; |
|
| 66 | 66 | |
| 67 | - $strongarm = new stdClass; |
|
| 68 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 69 | - $strongarm->api_version = 1; |
|
| 70 | - $strongarm->name = 'mobile_menu_css'; |
|
| 71 | - $strongarm->value = '#navigation-mmt'; |
|
| 72 | - $export['mobile_menu_css'] = $strongarm; |
|
| 67 | + $strongarm = new stdClass; |
|
| 68 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 69 | + $strongarm->api_version = 1; |
|
| 70 | + $strongarm->name = 'mobile_menu_css'; |
|
| 71 | + $strongarm->value = '#navigation-mmt'; |
|
| 72 | + $export['mobile_menu_css'] = $strongarm; |
|
| 73 | 73 | |
| 74 | - $strongarm = new stdClass; |
|
| 75 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 76 | - $strongarm->api_version = 1; |
|
| 77 | - $strongarm->name = 'mobile_menu_menu'; |
|
| 78 | - $strongarm->value = 'primary-links'; |
|
| 79 | - $export['mobile_menu_menu'] = $strongarm; |
|
| 74 | + $strongarm = new stdClass; |
|
| 75 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 76 | + $strongarm->api_version = 1; |
|
| 77 | + $strongarm->name = 'mobile_menu_menu'; |
|
| 78 | + $strongarm->value = 'primary-links'; |
|
| 79 | + $export['mobile_menu_menu'] = $strongarm; |
|
| 80 | 80 | |
| 81 | - return $export; |
|
| 81 | + return $export; |
|
| 82 | 82 | } |
@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | $export = array(); |
| 8 | 8 | |
| 9 | 9 | $strongarm = new stdClass; |
| 10 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 10 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 11 | 11 | $strongarm->api_version = 1; |
| 12 | 12 | $strongarm->name = 'dhtml_menu_settings'; |
| 13 | 13 | $strongarm->value = array( |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | $export['dhtml_menu_settings'] = $strongarm; |
| 39 | 39 | |
| 40 | 40 | $strongarm = new stdClass; |
| 41 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 41 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 42 | 42 | $strongarm->api_version = 1; |
| 43 | 43 | $strongarm->name = 'dhtml_menu_theme'; |
| 44 | 44 | $strongarm->value = array( |
@@ -58,21 +58,21 @@ discard block |
||
| 58 | 58 | $export['dhtml_menu_theme'] = $strongarm; |
| 59 | 59 | |
| 60 | 60 | $strongarm = new stdClass; |
| 61 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 61 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 62 | 62 | $strongarm->api_version = 1; |
| 63 | 63 | $strongarm->name = 'mobile_menu_block'; |
| 64 | 64 | $strongarm->value = 0; |
| 65 | 65 | $export['mobile_menu_block'] = $strongarm; |
| 66 | 66 | |
| 67 | 67 | $strongarm = new stdClass; |
| 68 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 68 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 69 | 69 | $strongarm->api_version = 1; |
| 70 | 70 | $strongarm->name = 'mobile_menu_css'; |
| 71 | 71 | $strongarm->value = '#navigation-mmt'; |
| 72 | 72 | $export['mobile_menu_css'] = $strongarm; |
| 73 | 73 | |
| 74 | 74 | $strongarm = new stdClass; |
| 75 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 75 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 76 | 76 | $strongarm->api_version = 1; |
| 77 | 77 | $strongarm->name = 'mobile_menu_menu'; |
| 78 | 78 | $strongarm->value = 'primary-links'; |
@@ -4,12 +4,12 @@ discard block |
||
| 4 | 4 | * Implementation of hook_default_fe_block_settings(). |
| 5 | 5 | */ |
| 6 | 6 | function news_default_fe_block_settings() { |
| 7 | - $export = array(); |
|
| 7 | + $export = array(); |
|
| 8 | 8 | |
| 9 | - // boinc |
|
| 10 | - $theme = array(); |
|
| 9 | + // boinc |
|
| 10 | + $theme = array(); |
|
| 11 | 11 | |
| 12 | - $theme['node_comment_block-node_comments'] = array( |
|
| 12 | + $theme['node_comment_block-node_comments'] = array( |
|
| 13 | 13 | 'module' => 'node_comment_block', |
| 14 | 14 | 'delta' => 'node_comments', |
| 15 | 15 | 'theme' => 'boinc', |
@@ -38,14 +38,14 @@ discard block |
||
| 38 | 38 | ?>', |
| 39 | 39 | 'title' => '', |
| 40 | 40 | 'cache' => '1', |
| 41 | - ); |
|
| 41 | + ); |
|
| 42 | 42 | |
| 43 | - $export['boinc'] = $theme; |
|
| 43 | + $export['boinc'] = $theme; |
|
| 44 | 44 | |
| 45 | - // einstein |
|
| 46 | - $theme = array(); |
|
| 45 | + // einstein |
|
| 46 | + $theme = array(); |
|
| 47 | 47 | |
| 48 | - $theme['node_comment_block-node_comments'] = array( |
|
| 48 | + $theme['node_comment_block-node_comments'] = array( |
|
| 49 | 49 | 'module' => 'node_comment_block', |
| 50 | 50 | 'delta' => 'node_comments', |
| 51 | 51 | 'theme' => 'einstein', |
@@ -74,14 +74,14 @@ discard block |
||
| 74 | 74 | ?>', |
| 75 | 75 | 'title' => '', |
| 76 | 76 | 'cache' => '1', |
| 77 | - ); |
|
| 77 | + ); |
|
| 78 | 78 | |
| 79 | - $export['einstein'] = $theme; |
|
| 79 | + $export['einstein'] = $theme; |
|
| 80 | 80 | |
| 81 | - // garland |
|
| 82 | - $theme = array(); |
|
| 81 | + // garland |
|
| 82 | + $theme = array(); |
|
| 83 | 83 | |
| 84 | - $theme['node_comment_block-node_comments'] = array( |
|
| 84 | + $theme['node_comment_block-node_comments'] = array( |
|
| 85 | 85 | 'module' => 'node_comment_block', |
| 86 | 86 | 'delta' => 'node_comments', |
| 87 | 87 | 'theme' => 'garland', |
@@ -110,16 +110,16 @@ discard block |
||
| 110 | 110 | ?>', |
| 111 | 111 | 'title' => '', |
| 112 | 112 | 'cache' => '1', |
| 113 | - ); |
|
| 113 | + ); |
|
| 114 | 114 | |
| 115 | - $export['garland'] = $theme; |
|
| 115 | + $export['garland'] = $theme; |
|
| 116 | 116 | |
| 117 | - $theme_default = variable_get('theme_default', 'garland'); |
|
| 118 | - $themes = list_themes(); |
|
| 119 | - foreach ($export as $theme_key => $settings) { |
|
| 117 | + $theme_default = variable_get('theme_default', 'garland'); |
|
| 118 | + $themes = list_themes(); |
|
| 119 | + foreach ($export as $theme_key => $settings) { |
|
| 120 | 120 | if ($theme_key != $theme_default && empty($themes[$theme_key]->status)) { |
| 121 | - unset($export[$theme_key]); |
|
| 121 | + unset($export[$theme_key]); |
|
| 122 | 122 | } |
| 123 | - } |
|
| 124 | - return $export; |
|
| 123 | + } |
|
| 124 | + return $export; |
|
| 125 | 125 | } |
@@ -4,40 +4,40 @@ |
||
| 4 | 4 | * Implementation of hook_ctools_plugin_api(). |
| 5 | 5 | */ |
| 6 | 6 | function news_ctools_plugin_api() { |
| 7 | - list($module, $api) = func_get_args(); |
|
| 8 | - if ($module == "context" && $api == "context") { |
|
| 7 | + list($module, $api) = func_get_args(); |
|
| 8 | + if ($module == "context" && $api == "context") { |
|
| 9 | 9 | return array("version" => 3); |
| 10 | - } |
|
| 11 | - elseif ($module == "strongarm" && $api == "strongarm") { |
|
| 10 | + } |
|
| 11 | + elseif ($module == "strongarm" && $api == "strongarm") { |
|
| 12 | 12 | return array("version" => 1); |
| 13 | - } |
|
| 13 | + } |
|
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Implementation of hook_node_info(). |
| 18 | 18 | */ |
| 19 | 19 | function news_node_info() { |
| 20 | - $items = array( |
|
| 20 | + $items = array( |
|
| 21 | 21 | 'news' => array( |
| 22 | - 'name' => t('News item'), |
|
| 23 | - 'module' => 'features', |
|
| 24 | - 'description' => t('News items are bits of information and current events relevant to a BOINC project that are to be published to the website and RSS feeds.'), |
|
| 25 | - 'has_title' => '1', |
|
| 26 | - 'title_label' => t('Title'), |
|
| 27 | - 'has_body' => '1', |
|
| 28 | - 'body_label' => t('Body'), |
|
| 29 | - 'min_word_count' => '0', |
|
| 30 | - 'help' => '', |
|
| 22 | + 'name' => t('News item'), |
|
| 23 | + 'module' => 'features', |
|
| 24 | + 'description' => t('News items are bits of information and current events relevant to a BOINC project that are to be published to the website and RSS feeds.'), |
|
| 25 | + 'has_title' => '1', |
|
| 26 | + 'title_label' => t('Title'), |
|
| 27 | + 'has_body' => '1', |
|
| 28 | + 'body_label' => t('Body'), |
|
| 29 | + 'min_word_count' => '0', |
|
| 30 | + 'help' => '', |
|
| 31 | 31 | ), |
| 32 | - ); |
|
| 33 | - return $items; |
|
| 32 | + ); |
|
| 33 | + return $items; |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Implementation of hook_views_api(). |
| 38 | 38 | */ |
| 39 | 39 | function news_views_api() { |
| 40 | - return array( |
|
| 40 | + return array( |
|
| 41 | 41 | 'api' => '2', |
| 42 | - ); |
|
| 42 | + ); |
|
| 43 | 43 | } |
@@ -7,8 +7,7 @@ |
||
| 7 | 7 | list($module, $api) = func_get_args(); |
| 8 | 8 | if ($module == "context" && $api == "context") { |
| 9 | 9 | return array("version" => 3); |
| 10 | - } |
|
| 11 | - elseif ($module == "strongarm" && $api == "strongarm") { |
|
| 10 | + } elseif ($module == "strongarm" && $api == "strongarm") { |
|
| 12 | 11 | return array("version" => 1); |
| 13 | 12 | } |
| 14 | 13 | } |
@@ -4,25 +4,25 @@ |
||
| 4 | 4 | * Implementation of hook_user_default_permissions(). |
| 5 | 5 | */ |
| 6 | 6 | function news_user_default_permissions() { |
| 7 | - $permissions = array(); |
|
| 7 | + $permissions = array(); |
|
| 8 | 8 | |
| 9 | - // Exported permission: create news content |
|
| 10 | - $permissions['create news content'] = array( |
|
| 9 | + // Exported permission: create news content |
|
| 10 | + $permissions['create news content'] = array( |
|
| 11 | 11 | 'name' => 'create news content', |
| 12 | 12 | 'roles' => array( |
| 13 | - '0' => 'administrator', |
|
| 14 | - '1' => 'content editor', |
|
| 13 | + '0' => 'administrator', |
|
| 14 | + '1' => 'content editor', |
|
| 15 | 15 | ), |
| 16 | - ); |
|
| 16 | + ); |
|
| 17 | 17 | |
| 18 | - // Exported permission: edit any news content |
|
| 19 | - $permissions['edit any news content'] = array( |
|
| 18 | + // Exported permission: edit any news content |
|
| 19 | + $permissions['edit any news content'] = array( |
|
| 20 | 20 | 'name' => 'edit any news content', |
| 21 | 21 | 'roles' => array( |
| 22 | - '0' => 'administrator', |
|
| 23 | - '1' => 'content editor', |
|
| 22 | + '0' => 'administrator', |
|
| 23 | + '1' => 'content editor', |
|
| 24 | 24 | ), |
| 25 | - ); |
|
| 25 | + ); |
|
| 26 | 26 | |
| 27 | - return $permissions; |
|
| 27 | + return $permissions; |
|
| 28 | 28 | } |
@@ -4,87 +4,87 @@ |
||
| 4 | 4 | * Implementation of hook_strongarm(). |
| 5 | 5 | */ |
| 6 | 6 | function news_strongarm() { |
| 7 | - $export = array(); |
|
| 7 | + $export = array(); |
|
| 8 | 8 | |
| 9 | - $strongarm = new stdClass; |
|
| 10 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 11 | - $strongarm->api_version = 1; |
|
| 12 | - $strongarm->name = 'comment_anonymous_news'; |
|
| 13 | - $strongarm->value = 0; |
|
| 14 | - $export['comment_anonymous_news'] = $strongarm; |
|
| 9 | + $strongarm = new stdClass; |
|
| 10 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 11 | + $strongarm->api_version = 1; |
|
| 12 | + $strongarm->name = 'comment_anonymous_news'; |
|
| 13 | + $strongarm->value = 0; |
|
| 14 | + $export['comment_anonymous_news'] = $strongarm; |
|
| 15 | 15 | |
| 16 | - $strongarm = new stdClass; |
|
| 17 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 18 | - $strongarm->api_version = 1; |
|
| 19 | - $strongarm->name = 'comment_controls_news'; |
|
| 20 | - $strongarm->value = '3'; |
|
| 21 | - $export['comment_controls_news'] = $strongarm; |
|
| 16 | + $strongarm = new stdClass; |
|
| 17 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 18 | + $strongarm->api_version = 1; |
|
| 19 | + $strongarm->name = 'comment_controls_news'; |
|
| 20 | + $strongarm->value = '3'; |
|
| 21 | + $export['comment_controls_news'] = $strongarm; |
|
| 22 | 22 | |
| 23 | - $strongarm = new stdClass; |
|
| 24 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 25 | - $strongarm->api_version = 1; |
|
| 26 | - $strongarm->name = 'comment_default_mode_news'; |
|
| 27 | - $strongarm->value = '2'; |
|
| 28 | - $export['comment_default_mode_news'] = $strongarm; |
|
| 23 | + $strongarm = new stdClass; |
|
| 24 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 25 | + $strongarm->api_version = 1; |
|
| 26 | + $strongarm->name = 'comment_default_mode_news'; |
|
| 27 | + $strongarm->value = '2'; |
|
| 28 | + $export['comment_default_mode_news'] = $strongarm; |
|
| 29 | 29 | |
| 30 | - $strongarm = new stdClass; |
|
| 31 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 32 | - $strongarm->api_version = 1; |
|
| 33 | - $strongarm->name = 'comment_default_order_news'; |
|
| 34 | - $strongarm->value = '2'; |
|
| 35 | - $export['comment_default_order_news'] = $strongarm; |
|
| 30 | + $strongarm = new stdClass; |
|
| 31 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 32 | + $strongarm->api_version = 1; |
|
| 33 | + $strongarm->name = 'comment_default_order_news'; |
|
| 34 | + $strongarm->value = '2'; |
|
| 35 | + $export['comment_default_order_news'] = $strongarm; |
|
| 36 | 36 | |
| 37 | - $strongarm = new stdClass; |
|
| 38 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 39 | - $strongarm->api_version = 1; |
|
| 40 | - $strongarm->name = 'comment_default_per_page_news'; |
|
| 41 | - $strongarm->value = '50'; |
|
| 42 | - $export['comment_default_per_page_news'] = $strongarm; |
|
| 37 | + $strongarm = new stdClass; |
|
| 38 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 39 | + $strongarm->api_version = 1; |
|
| 40 | + $strongarm->name = 'comment_default_per_page_news'; |
|
| 41 | + $strongarm->value = '50'; |
|
| 42 | + $export['comment_default_per_page_news'] = $strongarm; |
|
| 43 | 43 | |
| 44 | - $strongarm = new stdClass; |
|
| 45 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 46 | - $strongarm->api_version = 1; |
|
| 47 | - $strongarm->name = 'comment_form_location_news'; |
|
| 48 | - $strongarm->value = '1'; |
|
| 49 | - $export['comment_form_location_news'] = $strongarm; |
|
| 44 | + $strongarm = new stdClass; |
|
| 45 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 46 | + $strongarm->api_version = 1; |
|
| 47 | + $strongarm->name = 'comment_form_location_news'; |
|
| 48 | + $strongarm->value = '1'; |
|
| 49 | + $export['comment_form_location_news'] = $strongarm; |
|
| 50 | 50 | |
| 51 | - $strongarm = new stdClass; |
|
| 52 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 53 | - $strongarm->api_version = 1; |
|
| 54 | - $strongarm->name = 'comment_news'; |
|
| 55 | - $strongarm->value = '2'; |
|
| 56 | - $export['comment_news'] = $strongarm; |
|
| 51 | + $strongarm = new stdClass; |
|
| 52 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 53 | + $strongarm->api_version = 1; |
|
| 54 | + $strongarm->name = 'comment_news'; |
|
| 55 | + $strongarm->value = '2'; |
|
| 56 | + $export['comment_news'] = $strongarm; |
|
| 57 | 57 | |
| 58 | - $strongarm = new stdClass; |
|
| 59 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 60 | - $strongarm->api_version = 1; |
|
| 61 | - $strongarm->name = 'comment_preview_news'; |
|
| 62 | - $strongarm->value = '0'; |
|
| 63 | - $export['comment_preview_news'] = $strongarm; |
|
| 58 | + $strongarm = new stdClass; |
|
| 59 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 60 | + $strongarm->api_version = 1; |
|
| 61 | + $strongarm->name = 'comment_preview_news'; |
|
| 62 | + $strongarm->value = '0'; |
|
| 63 | + $export['comment_preview_news'] = $strongarm; |
|
| 64 | 64 | |
| 65 | - $strongarm = new stdClass; |
|
| 66 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 67 | - $strongarm->api_version = 1; |
|
| 68 | - $strongarm->name = 'comment_subject_field_news'; |
|
| 69 | - $strongarm->value = '1'; |
|
| 70 | - $export['comment_subject_field_news'] = $strongarm; |
|
| 65 | + $strongarm = new stdClass; |
|
| 66 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 67 | + $strongarm->api_version = 1; |
|
| 68 | + $strongarm->name = 'comment_subject_field_news'; |
|
| 69 | + $strongarm->value = '1'; |
|
| 70 | + $export['comment_subject_field_news'] = $strongarm; |
|
| 71 | 71 | |
| 72 | - $strongarm = new stdClass; |
|
| 73 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 74 | - $strongarm->api_version = 1; |
|
| 75 | - $strongarm->name = 'language_content_type_news'; |
|
| 76 | - $strongarm->value = '0'; |
|
| 77 | - $export['language_content_type_news'] = $strongarm; |
|
| 72 | + $strongarm = new stdClass; |
|
| 73 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 74 | + $strongarm->api_version = 1; |
|
| 75 | + $strongarm->name = 'language_content_type_news'; |
|
| 76 | + $strongarm->value = '0'; |
|
| 77 | + $export['language_content_type_news'] = $strongarm; |
|
| 78 | 78 | |
| 79 | - $strongarm = new stdClass; |
|
| 80 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 81 | - $strongarm->api_version = 1; |
|
| 82 | - $strongarm->name = 'node_options_news'; |
|
| 83 | - $strongarm->value = array( |
|
| 79 | + $strongarm = new stdClass; |
|
| 80 | + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 81 | + $strongarm->api_version = 1; |
|
| 82 | + $strongarm->name = 'node_options_news'; |
|
| 83 | + $strongarm->value = array( |
|
| 84 | 84 | 0 => 'status', |
| 85 | 85 | 1 => 'promote', |
| 86 | - ); |
|
| 87 | - $export['node_options_news'] = $strongarm; |
|
| 86 | + ); |
|
| 87 | + $export['node_options_news'] = $strongarm; |
|
| 88 | 88 | |
| 89 | - return $export; |
|
| 89 | + return $export; |
|
| 90 | 90 | } |
@@ -7,77 +7,77 @@ |
||
| 7 | 7 | $export = array(); |
| 8 | 8 | |
| 9 | 9 | $strongarm = new stdClass; |
| 10 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 10 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 11 | 11 | $strongarm->api_version = 1; |
| 12 | 12 | $strongarm->name = 'comment_anonymous_news'; |
| 13 | 13 | $strongarm->value = 0; |
| 14 | 14 | $export['comment_anonymous_news'] = $strongarm; |
| 15 | 15 | |
| 16 | 16 | $strongarm = new stdClass; |
| 17 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 17 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 18 | 18 | $strongarm->api_version = 1; |
| 19 | 19 | $strongarm->name = 'comment_controls_news'; |
| 20 | 20 | $strongarm->value = '3'; |
| 21 | 21 | $export['comment_controls_news'] = $strongarm; |
| 22 | 22 | |
| 23 | 23 | $strongarm = new stdClass; |
| 24 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 24 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 25 | 25 | $strongarm->api_version = 1; |
| 26 | 26 | $strongarm->name = 'comment_default_mode_news'; |
| 27 | 27 | $strongarm->value = '2'; |
| 28 | 28 | $export['comment_default_mode_news'] = $strongarm; |
| 29 | 29 | |
| 30 | 30 | $strongarm = new stdClass; |
| 31 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 31 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 32 | 32 | $strongarm->api_version = 1; |
| 33 | 33 | $strongarm->name = 'comment_default_order_news'; |
| 34 | 34 | $strongarm->value = '2'; |
| 35 | 35 | $export['comment_default_order_news'] = $strongarm; |
| 36 | 36 | |
| 37 | 37 | $strongarm = new stdClass; |
| 38 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 38 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 39 | 39 | $strongarm->api_version = 1; |
| 40 | 40 | $strongarm->name = 'comment_default_per_page_news'; |
| 41 | 41 | $strongarm->value = '50'; |
| 42 | 42 | $export['comment_default_per_page_news'] = $strongarm; |
| 43 | 43 | |
| 44 | 44 | $strongarm = new stdClass; |
| 45 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 45 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 46 | 46 | $strongarm->api_version = 1; |
| 47 | 47 | $strongarm->name = 'comment_form_location_news'; |
| 48 | 48 | $strongarm->value = '1'; |
| 49 | 49 | $export['comment_form_location_news'] = $strongarm; |
| 50 | 50 | |
| 51 | 51 | $strongarm = new stdClass; |
| 52 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 52 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 53 | 53 | $strongarm->api_version = 1; |
| 54 | 54 | $strongarm->name = 'comment_news'; |
| 55 | 55 | $strongarm->value = '2'; |
| 56 | 56 | $export['comment_news'] = $strongarm; |
| 57 | 57 | |
| 58 | 58 | $strongarm = new stdClass; |
| 59 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 59 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 60 | 60 | $strongarm->api_version = 1; |
| 61 | 61 | $strongarm->name = 'comment_preview_news'; |
| 62 | 62 | $strongarm->value = '0'; |
| 63 | 63 | $export['comment_preview_news'] = $strongarm; |
| 64 | 64 | |
| 65 | 65 | $strongarm = new stdClass; |
| 66 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 66 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 67 | 67 | $strongarm->api_version = 1; |
| 68 | 68 | $strongarm->name = 'comment_subject_field_news'; |
| 69 | 69 | $strongarm->value = '1'; |
| 70 | 70 | $export['comment_subject_field_news'] = $strongarm; |
| 71 | 71 | |
| 72 | 72 | $strongarm = new stdClass; |
| 73 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 73 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 74 | 74 | $strongarm->api_version = 1; |
| 75 | 75 | $strongarm->name = 'language_content_type_news'; |
| 76 | 76 | $strongarm->value = '0'; |
| 77 | 77 | $export['language_content_type_news'] = $strongarm; |
| 78 | 78 | |
| 79 | 79 | $strongarm = new stdClass; |
| 80 | - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 80 | + $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */ |
|
| 81 | 81 | $strongarm->api_version = 1; |
| 82 | 82 | $strongarm->name = 'node_options_news'; |
| 83 | 83 | $strongarm->value = array( |