Comisariatul General pentru Protectia Consumatorilor Cluj

Cotita 2
Ap. 8
Cluj-Napoca

Comisariatul General pentru Protectia Consumatorilor Cluj

Government Office
/** * Implementation of hook_views_default_views(). */ function dataexport_views_default_views() { /* * View 'maps' */ $view = new view; $view->name = 'maps'; $view->description = 'List of Open Green Maps'; $view->tag = 'maps'; $view->base_table = 'node'; $view->core = 0; $view->api_version = '2'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('fields', array( 'title' => array( 'label' => 'Map', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'field_country_value' => array( 'label' => 'Country', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_country_value', 'table' => 'node_data_field_country', 'field' => 'field_country_value', 'relationship' => 'none', ), 'post_count' => array( 'label' => 'Number of Sites', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'set_precision' => FALSE, 'precision' => 0, 'decimal' => '.', 'separator' => ',', 'prefix' => '', 'suffix' => '', 'exclude' => 0, 'id' => 'post_count', 'table' => 'og', 'field' => 'post_count', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'status' => array( 'id' => 'status', 'table' => 'node', 'field' => 'status', ), )); $handler->override_option('filters', array( 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', ), 'type' => array( 'operator' => 'in', 'value' => array( 'green_map' => 'green_map', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'private' => array( 'operator' => '=', 'value' => '0', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'private', 'table' => 'og', 'field' => 'private', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Maps with PDF'); $handler->override_option('header', 'Select a map from this list to explore. To see the Open Green Maps listed in a different order, click the tabs above, or use the Search on the right to find maps you are interested in. There are dozens more Open Green Maps in progress that will soon be made public, so check back often.'); $handler->override_option('header_format', '1'); $handler->override_option('header_empty', 0); $handler->override_option('footer_format', '1'); $handler->override_option('footer_empty', 0); $handler->override_option('empty', 'There are no maps at the moment.'); $handler->override_option('empty_format', '1'); $handler->override_option('items_per_page', 25); $handler->override_option('use_pager', '1'); $handler->override_option('use_more', 0); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'asc', 'columns' => array( 'title' => 'title', 'field_country_value' => 'field_country_value', 'post_count' => 'post_count', ), 'info' => array( 'title' => array( 'sortable' => 0, 'separator' => '', ), 'field_country_value' => array( 'sortable' => 0, 'separator' => '', ), 'post_count' => array( 'sortable' => 0, 'separator' => '', ), ), 'default' => '-1', )); $handler = $view->new_display('page', 'Newest', 'page_1'); $handler->override_option('sorts', array( 'created' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'created', 'table' => 'node', 'field' => 'created', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Newest Open Green Maps'); $handler->override_option('header', 'Select a map from this list to explore. The newest map is at the top. Click the tabs above to see the Open Green Maps listed in a different order, or use the Search on the right to find maps you are interested in. There are dozens more Open Green Maps in progress that will soon be made public, so check back often.'); $handler->override_option('path', 'maps/newest'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Newest', 'description' => 'Newest Open Green Maps', 'weight' => '0', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'normal', 'title' => 'Open Green Maps', 'description' => '', 'weight' => '0', 'name' => 'navigation', )); $handler = $view->new_display('page', 'Alpha', 'page_2'); $handler->override_option('sorts', array( 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Open Green Maps, from A to Z'); $handler->override_option('header', 'Select a map from this list to explore. They are organized by the map name, from A to Z. Numbers and special characters come first. To see the Open Green Maps listed in a different order, click the tabs above, or use the Search on the right to find maps you are interested in. There are dozens more Open Green Maps in progress that will soon be made public, so check back often.'); $handler->override_option('path', 'maps/alpha'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Alphabetical', 'description' => 'Open Green Maps, from A to Z', 'weight' => '1', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler = $view->new_display('page', 'Country', 'page_3'); $handler->override_option('sorts', array( 'field_country_value' => array( 'order' => 'ASC', 'delta' => -1, 'id' => 'field_country_value', 'table' => 'node_data_field_country', 'field' => 'field_country_value', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Open Green Maps sorted by Country'); $handler->override_option('header', 'Select a map from this list to explore. They are organized by the country, from A to Z. Click the tabs above to see the Open Green Maps listed in a different order, or use the Search on the right to find maps you are interested in. There are dozens more Open Green Maps in progress that will soon be made public, so check back often.'); $handler->override_option('path', 'maps/country'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Country', 'description' => 'Open Green Maps sorted by Country', 'weight' => '2', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler = $view->new_display('page', 'Mapmakers', 'page_4'); $handler->override_option('fields', array( 'name' => array( 'label' => 'Green Mapmaker', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_user' => 1, 'overwrite_anonymous' => 0, 'anonymous_text' => '', 'exclude' => 0, 'id' => 'name', 'table' => 'users', 'field' => 'name', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_country_value' => array( 'label' => 'Country', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_country_value', 'table' => 'node_data_field_country', 'field' => 'field_country_value', 'relationship' => 'none', ), 'title' => array( 'label' => 'Map', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'post_count' => array( 'label' => 'Number of Sites', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'set_precision' => FALSE, 'precision' => 0, 'decimal' => '.', 'separator' => ',', 'prefix' => '', 'suffix' => '', 'exclude' => 0, 'id' => 'post_count', 'table' => 'og', 'field' => 'post_count', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'name' => array( 'order' => 'ASC', 'id' => 'name', 'table' => 'users', 'field' => 'name', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'field_country_value' => array( 'order' => 'ASC', 'delta' => -1, 'id' => 'field_country_value', 'table' => 'node_data_field_country', 'field' => 'field_country_value', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Mapmakers & Open Green Maps, from A to Z'); $handler->override_option('path', 'maps/mapmakers'); $handler->override_option('menu', array( 'type' => 'tab', 'title' => 'Mapmaker', 'description' => 'Mapmakers & Open Green Maps, from A to Z', 'weight' => '3', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler = $view->new_display('feed', 'Newest Feed', 'feed_1'); $handler->override_option('sorts', array( 'status' => array( 'order' => 'ASC', 'id' => 'status', 'table' => 'node', 'field' => 'status', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Recent Maps'); $handler->override_option('style_plugin', 'rss'); $handler->override_option('style_options', array( 'mission_description' => FALSE, 'description' => '', )); $handler->override_option('row_plugin', 'node_rss'); $handler->override_option('row_options', array( 'relationship' => 'none', 'item_length' => 'default', )); $handler->override_option('path', 'maps/newest/feed'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('displays', array( 'page_1' => 'page_1', 'page_2' => 'page_2', 'page_3' => 'page_3', 'page_4' => 'page_4', 'page_6' => 'page_6', 'default' => 0, 'block_1' => 0, 'page_5' => 0, 'block_2' => 0, )); $handler->override_option('sitename_title', FALSE); $handler = $view->new_display('block', 'Recent Maps (block)', 'block_1'); $handler->override_option('fields', array( 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'created' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'created', 'table' => 'node', 'field' => 'created', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Recent Maps'); $handler->override_option('header', ''); $handler->override_option('items_per_page', 3); $handler->override_option('use_pager', 0); $handler->override_option('style_plugin', 'list'); $handler->override_option('style_options', array( 'grouping' => '', 'type' => 'ul', )); $handler->override_option('block_description', 'Maps (recent)'); $handler->override_option('block_caching', -1); $handler = $view->new_display('page', 'By Mapmaker (page)', 'page_5'); $handler->override_option('fields', array( 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), )); $handler->override_option('sorts', array( 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'uid' => array( 'default_action' => 'not found', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => 'All Maps by %1', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'user', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 0, 'id' => 'uid', 'table' => 'users', 'field' => 'uid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( 2 => 0, 3 => 0, 6 => 0, 4 => 0, 5 => 0, 7 => 0, 8 => 0, ), 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'poll' => 0, 'faq' => 0, 'admin_message' => 0, 'green_map' => 0, 'green_site' => 0, 'impact' => 0, 'mapmaker_profile' => 0, 'page' => 0, 'photo' => 0, 'poly' => 0, 'story' => 0, 'testimonial' => 0, 'transport_direction' => 0, 'video' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( 2 => 0, 3 => 0, 1 => 0, 5 => 0, 4 => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_is_member' => 0, 'validate_argument_php' => '', ), 'nid' => array( 'default_action' => 'ignore', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'node', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 1, 'id' => 'nid', 'table' => 'node', 'field' => 'nid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( 2 => 0, 3 => 0, 6 => 0, 4 => 0, 5 => 0, 7 => 0, 8 => 0, ), 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'poll' => 0, 'faq' => 0, 'admin_message' => 0, 'green_map' => 0, 'green_site' => 0, 'impact' => 0, 'mapmaker_profile' => 0, 'page' => 0, 'photo' => 0, 'poly' => 0, 'story' => 0, 'testimonial' => 0, 'transport_direction' => 0, 'video' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( 2 => 0, 3 => 0, 1 => 0, 5 => 0, 4 => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_is_member' => 0, 'validate_argument_php' => '', ), )); $handler->override_option('header', ''); $handler->override_option('items_per_page', 10); $handler->override_option('style_plugin', 'list'); $handler->override_option('style_options', array( 'grouping' => '', 'type' => 'ul', )); $handler->override_option('path', 'greenmap/list_mapmaker_maps/%'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler = $view->new_display('block', 'By Mapmaker (block)', 'block_2'); $handler->override_option('fields', array( 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), )); $handler->override_option('sorts', array( 'title' => array( 'order' => 'ASC', 'id' => 'title', 'table' => 'node', 'field' => 'title', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'uid' => array( 'default_action' => 'not found', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 0, 'id' => 'uid', 'table' => 'users', 'field' => 'uid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( 2 => 0, 3 => 0, 6 => 0, 4 => 0, 5 => 0, 7 => 0, 8 => 0, ), 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'poll' => 0, 'faq' => 0, 'admin_message' => 0, 'green_map' => 0, 'green_site' => 0, 'impact' => 0, 'mapmaker_profile' => 0, 'page' => 0, 'photo' => 0, 'poly' => 0, 'story' => 0, 'testimonial' => 0, 'transport_direction' => 0, 'video' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( 2 => 0, 3 => 0, 1 => 0, 5 => 0, 4 => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_node_flag_name' => '*relationship*', 'validate_argument_node_flag_test' => 'flaggable', 'validate_argument_node_flag_id_type' => 'id', 'validate_argument_user_flag_name' => '*relationship*', 'validate_argument_user_flag_test' => 'flaggable', 'validate_argument_user_flag_id_type' => 'id', 'validate_argument_is_member' => 0, 'validate_argument_php' => '', ), )); $handler->override_option('header', ''); $handler->override_option('items_per_page', 5); $handler->override_option('use_more', 1); $handler->override_option('link_display', 'page_5'); $handler->override_option('block_description', 'Maps (mapmaker)'); $handler->override_option('block_caching', -1); $handler = $view->new_display('page', 'Recently Updated', 'page_6'); $handler->override_option('sorts', array( 'changed' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'changed', 'table' => 'node', 'field' => 'changed', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('title', 'Open Green Maps'); $handler->override_option('header', 'Ready to explore? Select a map from this list. The most recently updated map is at the top. Click the tabs above to see the Open Green Maps listed in a different order, or use the Search on the right to find maps you are interested in. There are dozens more Open Green Maps in progress that will soon be made public, so check back often.'); $handler->override_option('path', 'maps/recent'); $handler->override_option('menu', array( 'type' => 'default tab', 'title' => 'Recent', 'description' => 'Open Green Maps', 'weight' => '-1', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'normal', 'title' => 'Open Green Maps', 'description' => '', 'weight' => '0', 'name' => 'navigation', )); $handler = $view->new_display('feed', 'PDF Feed', 'feed_2'); $handler->override_option('style_plugin', 'rss'); $handler->override_option('style_options', array( 'mission_description' => FALSE, 'description' => '', )); $handler->override_option('row_plugin', 'node_rss'); $handler->override_option('row_options', array( 'relationship' => 'none', 'item_length' => 'default', )); $handler->override_option('path', 'maps/newest/pdf/feed'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('displays', array( 'default' => 0, 'page_1' => 0, 'page_2' => 0, 'page_3' => 0, 'page_4' => 0, 'block_1' => 0, 'page_5' => 0, 'block_2' => 0, 'page_6' => 0, )); $handler->override_option('sitename_title', 0); $handler = $view->new_display('feed', 'Feed', 'feed_3'); $handler->override_option('sorts', array( 'status' => array( 'id' => 'status', 'table' => 'node', 'field' => 'status', ), 'changed' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'changed', 'table' => 'node', 'field' => 'changed', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('style_plugin', 'rss'); $handler->override_option('style_options', array( 'mission_description' => FALSE, 'description' => '', )); $handler->override_option('row_plugin', 'node_rss'); $handler->override_option('path', 'maps/updated/feed'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('displays', array()); $handler->override_option('sitename_title', FALSE); $views[$view->name] = $view; /* * View 'private_maps' */ $view = new view; $view->name = 'private_maps'; $view->description = 'List of Open Green Maps marked private'; $view->tag = 'maps'; $view->base_table = 'node'; $view->core = 0; $view->api_version = '2'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('fields', array( 'title' => array( 'label' => 'Map', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'field_country_value' => array( 'label' => 'Country', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'link_to_node' => 0, 'label_type' => 'widget', 'format' => 'default', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_country_value', 'table' => 'node_data_field_country', 'field' => 'field_country_value', 'relationship' => 'none', ), 'post_count' => array( 'label' => 'Number of Sites', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'set_precision' => FALSE, 'precision' => 0, 'decimal' => '.', 'separator' => ',', 'prefix' => '', 'suffix' => '', 'exclude' => 0, 'id' => 'post_count', 'table' => 'og', 'field' => 'post_count', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', ), 'type' => array( 'operator' => 'in', 'value' => array( 'green_map' => 'green_map', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'private' => array( 'operator' => '=', 'value' => '0', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'private', 'table' => 'og', 'field' => 'private', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Maps Marked as Private'); $handler->override_option('header', 'Select a map from this list to explore. To see the Open Green Maps listed in a different order, click the tabs above, or use the Search on the right to find maps you are interested in. There are dozens more Open Green Maps in progress that will soon be made public, so check back often.'); $handler->override_option('header_format', '1'); $handler->override_option('header_empty', 0); $handler->override_option('footer_format', '1'); $handler->override_option('footer_empty', 0); $handler->override_option('empty', 'There are no maps at the moment.'); $handler->override_option('empty_format', '1'); $handler->override_option('items_per_page', 25); $handler->override_option('use_pager', '1'); $handler->override_option('use_more', 0); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 1, 'order' => 'asc', 'columns' => array( 'title' => 'title', 'field_country_value' => 'field_country_value', 'post_count' => 'post_count', ), 'info' => array( 'title' => array( 'sortable' => 0, 'separator' => '', ), 'field_country_value' => array( 'sortable' => 0, 'separator' => '', ), 'post_count' => array( 'sortable' => 0, 'separator' => '', ), ), 'default' => '-1', )); $handler = $view->new_display('page', 'Private maps view for admin', 'page_6'); $handler->override_option('sorts', array( 'changed' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'changed', 'table' => 'node', 'field' => 'changed', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'green_map' => 'green_map', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'private' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'private', 'table' => 'og', 'field' => 'private', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), 'status_extra' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status_extra', 'table' => 'node', 'field' => 'status_extra', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'role', 'role' => array( 3 => 3, ), )); $handler->override_option('title', 'Private Open Green Maps'); $handler->override_option('header', 'Ready to explore? Select a map from this list. The most recently updated map is at the top. Click the tabs above to see the Open Green Maps listed in a different order, or use the Search on the right to find maps you are interested in. There are dozens more Open Green Maps in progress that will soon be made public, so check back often. And, everyone will be able to add sites to the World View Map when this website is officially launched in spring 2009.'); $handler->override_option('path', 'maps/private'); $handler->override_option('menu', array( 'type' => 'none', 'title' => 'Recent', 'description' => 'Open Green Maps', 'weight' => '-1', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'normal', 'title' => 'Open Green Maps', 'description' => '', 'weight' => '0', 'name' => 'navigation', )); $handler = $view->new_display('page', 'My Private Maps', 'page_7'); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'green_map' => 'green_map', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'private' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'private', 'table' => 'og', 'field' => 'private', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), 'uid_current' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'uid_current', 'table' => 'users', 'field' => 'uid_current', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'role', 'role' => array( 4 => 4, ), )); $handler->override_option('path', 'maps/private'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $views[$view->name] = $view; return $views; }

Rezumat

Nu există voturi încă

Autoritatea nationala pentru protectia consumatorilor

0264/406.396
Part of a community map.

Location:

Javascript este necesar pentru a vizualiza harta.

Comentarii

Conexiuni

Compare related sites, explore the related maps, find out about volunteering, how to get here and more. Soon, you will find ways to share this map here, too.

Getting Here

Contacts

Every site using the same primary Icon on Open Green Map is automatically linked here. You can compare different approaches and solutions on this map and others around the world.
Related Sites Worldwide
Choose a connections category from the list on the left.

Multimedia

Registered users can post photos, videos, and documents here.

Impact

No impacts have been left for this site yet - be the first!

Donate to GreenMaps