@@ -4,19 +4,19 @@ |
||
| 4 | 4 | * Implementation of hook_menu_default_menu_custom(). |
| 5 | 5 | */ |
| 6 | 6 | function boinc_standard_menu_default_menu_custom() { |
| 7 | - $menus = array(); |
|
| 7 | + $menus = array(); |
|
| 8 | 8 | |
| 9 | - // Exported menu: menu-footer-links |
|
| 10 | - $menus['menu-footer-links'] = array( |
|
| 9 | + // Exported menu: menu-footer-links |
|
| 10 | + $menus['menu-footer-links'] = array( |
|
| 11 | 11 | 'menu_name' => 'menu-footer-links', |
| 12 | 12 | 'title' => 'Footer links', |
| 13 | 13 | 'description' => 'Auxiliary menu, typically at the bottom of the page in the footer, that includes links to content such as "about us" or "privacy policy" etc.', |
| 14 | - ); |
|
| 15 | - // Translatables |
|
| 16 | - // Title and description for footer menu appears in admin menu: Admin> Site Building> Menus |
|
| 17 | - t('Auxiliary menu, typically at the bottom of the page in the footer, that includes links to content such as "about us" or "privacy policy" etc.'); |
|
| 18 | - t('Footer links'); |
|
| 14 | + ); |
|
| 15 | + // Translatables |
|
| 16 | + // Title and description for footer menu appears in admin menu: Admin> Site Building> Menus |
|
| 17 | + t('Auxiliary menu, typically at the bottom of the page in the footer, that includes links to content such as "about us" or "privacy policy" etc.'); |
|
| 18 | + t('Footer links'); |
|
| 19 | 19 | |
| 20 | 20 | |
| 21 | - return $menus; |
|
| 21 | + return $menus; |
|
| 22 | 22 | } |
@@ -4,18 +4,18 @@ discard block |
||
| 4 | 4 | * Implementation of hook_menu_default_menu_links(). |
| 5 | 5 | */ |
| 6 | 6 | function user_profiles_menu_default_menu_links() { |
| 7 | - $menu_links = array(); |
|
| 7 | + $menu_links = array(); |
|
| 8 | 8 | |
| 9 | - // Exported menu link: primary-links:account/profile |
|
| 10 | - $menu_links['primary-links:account/profile'] = array( |
|
| 9 | + // Exported menu link: primary-links:account/profile |
|
| 10 | + $menu_links['primary-links:account/profile'] = array( |
|
| 11 | 11 | 'menu_name' => 'primary-links', |
| 12 | 12 | 'link_path' => 'account/profile', |
| 13 | 13 | 'router_path' => 'account/profile', |
| 14 | 14 | 'link_title' => 'Profile', |
| 15 | 15 | 'options' => array( |
| 16 | - 'attributes' => array( |
|
| 16 | + 'attributes' => array( |
|
| 17 | 17 | 'title' => '', |
| 18 | - ), |
|
| 18 | + ), |
|
| 19 | 19 | ), |
| 20 | 20 | 'module' => 'menu', |
| 21 | 21 | 'hidden' => '0', |
@@ -24,17 +24,17 @@ discard block |
||
| 24 | 24 | 'expanded' => '0', |
| 25 | 25 | 'weight' => '-49', |
| 26 | 26 | 'parent_path' => 'dashboard', |
| 27 | - ); |
|
| 28 | - // Exported menu link: primary-links:moderate/profiles |
|
| 29 | - $menu_links['primary-links:moderate/profiles'] = array( |
|
| 27 | + ); |
|
| 28 | + // Exported menu link: primary-links:moderate/profiles |
|
| 29 | + $menu_links['primary-links:moderate/profiles'] = array( |
|
| 30 | 30 | 'menu_name' => 'primary-links', |
| 31 | 31 | 'link_path' => 'moderate/profiles', |
| 32 | 32 | 'router_path' => 'moderate/profiles', |
| 33 | 33 | 'link_title' => 'Queue', |
| 34 | 34 | 'options' => array( |
| 35 | - 'attributes' => array( |
|
| 35 | + 'attributes' => array( |
|
| 36 | 36 | 'title' => '', |
| 37 | - ), |
|
| 37 | + ), |
|
| 38 | 38 | ), |
| 39 | 39 | 'module' => 'menu', |
| 40 | 40 | 'hidden' => '0', |
@@ -43,11 +43,11 @@ discard block |
||
| 43 | 43 | 'expanded' => '0', |
| 44 | 44 | 'weight' => '-50', |
| 45 | 45 | 'parent_path' => 'moderate', |
| 46 | - ); |
|
| 47 | - // Translatables |
|
| 48 | - // Use bts() function to translate additional strings. |
|
| 49 | - bts('Queue', array(), NULL, 'boinc:menu-link'); |
|
| 50 | - bts('Profile', array(), NULL, 'boinc:menu-link'); |
|
| 46 | + ); |
|
| 47 | + // Translatables |
|
| 48 | + // Use bts() function to translate additional strings. |
|
| 49 | + bts('Queue', array(), NULL, 'boinc:menu-link'); |
|
| 50 | + bts('Profile', array(), NULL, 'boinc:menu-link'); |
|
| 51 | 51 | |
| 52 | - return $menu_links; |
|
| 52 | + return $menu_links; |
|
| 53 | 53 | } |
@@ -4,19 +4,19 @@ discard block |
||
| 4 | 4 | * Implementation of hook_menu_default_menu_links(). |
| 5 | 5 | */ |
| 6 | 6 | function news_menu_default_menu_links() { |
| 7 | - $menu_links = array(); |
|
| 7 | + $menu_links = array(); |
|
| 8 | 8 | |
| 9 | - // Exported menu link: primary-links:news |
|
| 10 | - $menu_links['primary-links:news'] = array( |
|
| 9 | + // Exported menu link: primary-links:news |
|
| 10 | + $menu_links['primary-links:news'] = array( |
|
| 11 | 11 | 'menu_name' => 'primary-links', |
| 12 | 12 | 'link_path' => 'news', |
| 13 | 13 | 'router_path' => 'news', |
| 14 | 14 | 'link_title' => 'News', |
| 15 | 15 | 'options' => array( |
| 16 | - 'attributes' => array( |
|
| 16 | + 'attributes' => array( |
|
| 17 | 17 | 'title' => '', |
| 18 | - ), |
|
| 19 | - 'alter' => TRUE, |
|
| 18 | + ), |
|
| 19 | + 'alter' => TRUE, |
|
| 20 | 20 | ), |
| 21 | 21 | 'module' => 'menu', |
| 22 | 22 | 'hidden' => '0', |
@@ -24,11 +24,11 @@ discard block |
||
| 24 | 24 | 'has_children' => '0', |
| 25 | 25 | 'expanded' => '1', |
| 26 | 26 | 'weight' => '-48', |
| 27 | - ); |
|
| 28 | - // Translatables |
|
| 29 | - // Use bts() function to translate additional strings. |
|
| 30 | - bts('News', array(), NULL, 'boinc:menu-link'); |
|
| 27 | + ); |
|
| 28 | + // Translatables |
|
| 29 | + // Use bts() function to translate additional strings. |
|
| 30 | + bts('News', array(), NULL, 'boinc:menu-link'); |
|
| 31 | 31 | |
| 32 | 32 | |
| 33 | - return $menu_links; |
|
| 33 | + return $menu_links; |
|
| 34 | 34 | } |
@@ -4,18 +4,18 @@ discard block |
||
| 4 | 4 | * Implementation of hook_menu_default_menu_links(). |
| 5 | 5 | */ |
| 6 | 6 | function boinc_standard_menu_default_menu_links() { |
| 7 | - $menu_links = array(); |
|
| 7 | + $menu_links = array(); |
|
| 8 | 8 | |
| 9 | - // Exported menu link: menu-footer-links:https://boinc.berkeley.edu/ |
|
| 10 | - $menu_links['menu-footer-links:https://boinc.berkeley.edu/'] = array( |
|
| 9 | + // Exported menu link: menu-footer-links:https://boinc.berkeley.edu/ |
|
| 10 | + $menu_links['menu-footer-links:https://boinc.berkeley.edu/'] = array( |
|
| 11 | 11 | 'menu_name' => 'menu-footer-links', |
| 12 | 12 | 'link_path' => 'https://boinc.berkeley.edu/', |
| 13 | 13 | 'router_path' => '', |
| 14 | 14 | 'link_title' => 'BOINC', |
| 15 | 15 | 'options' => array( |
| 16 | - 'attributes' => array( |
|
| 16 | + 'attributes' => array( |
|
| 17 | 17 | 'title' => '', |
| 18 | - ), |
|
| 18 | + ), |
|
| 19 | 19 | ), |
| 20 | 20 | 'module' => 'menu', |
| 21 | 21 | 'hidden' => '0', |
@@ -23,17 +23,17 @@ discard block |
||
| 23 | 23 | 'has_children' => '0', |
| 24 | 24 | 'expanded' => '0', |
| 25 | 25 | 'weight' => '10', |
| 26 | - ); |
|
| 27 | - // Exported menu link: primary-links:<front> |
|
| 28 | - $menu_links['primary-links:<front>'] = array( |
|
| 26 | + ); |
|
| 27 | + // Exported menu link: primary-links:<front> |
|
| 28 | + $menu_links['primary-links:<front>'] = array( |
|
| 29 | 29 | 'menu_name' => 'primary-links', |
| 30 | 30 | 'link_path' => '<front>', |
| 31 | 31 | 'router_path' => '', |
| 32 | 32 | 'link_title' => 'Home', |
| 33 | 33 | 'options' => array( |
| 34 | - 'attributes' => array( |
|
| 34 | + 'attributes' => array( |
|
| 35 | 35 | 'title' => '', |
| 36 | - ), |
|
| 36 | + ), |
|
| 37 | 37 | ), |
| 38 | 38 | 'module' => 'menu', |
| 39 | 39 | 'hidden' => '0', |
@@ -41,17 +41,17 @@ discard block |
||
| 41 | 41 | 'has_children' => '0', |
| 42 | 42 | 'expanded' => '0', |
| 43 | 43 | 'weight' => '-50', |
| 44 | - ); |
|
| 45 | - // Exported menu link: primary-links:dashboard |
|
| 46 | - $menu_links['primary-links:dashboard'] = array( |
|
| 44 | + ); |
|
| 45 | + // Exported menu link: primary-links:dashboard |
|
| 46 | + $menu_links['primary-links:dashboard'] = array( |
|
| 47 | 47 | 'menu_name' => 'primary-links', |
| 48 | 48 | 'link_path' => 'dashboard', |
| 49 | 49 | 'router_path' => 'dashboard', |
| 50 | 50 | 'link_title' => 'Dashboard', |
| 51 | 51 | 'options' => array( |
| 52 | - 'attributes' => array( |
|
| 52 | + 'attributes' => array( |
|
| 53 | 53 | 'title' => '', |
| 54 | - ), |
|
| 54 | + ), |
|
| 55 | 55 | ), |
| 56 | 56 | 'module' => 'menu', |
| 57 | 57 | 'hidden' => '0', |
@@ -60,17 +60,17 @@ discard block |
||
| 60 | 60 | 'expanded' => '0', |
| 61 | 61 | 'weight' => '-50', |
| 62 | 62 | 'parent_path' => 'dashboard', |
| 63 | - ); |
|
| 64 | - // Exported menu link: primary-links:user/me/edit |
|
| 65 | - $menu_links['primary-links:user/me/edit'] = array( |
|
| 63 | + ); |
|
| 64 | + // Exported menu link: primary-links:user/me/edit |
|
| 65 | + $menu_links['primary-links:user/me/edit'] = array( |
|
| 66 | 66 | 'menu_name' => 'primary-links', |
| 67 | 67 | 'link_path' => 'user/me/edit', |
| 68 | 68 | 'router_path' => 'user/%/edit', |
| 69 | 69 | 'link_title' => 'Credentials', |
| 70 | 70 | 'options' => array( |
| 71 | - 'attributes' => array( |
|
| 71 | + 'attributes' => array( |
|
| 72 | 72 | 'title' => '', |
| 73 | - ), |
|
| 73 | + ), |
|
| 74 | 74 | ), |
| 75 | 75 | 'module' => 'menu', |
| 76 | 76 | 'hidden' => '0', |
@@ -79,12 +79,12 @@ discard block |
||
| 79 | 79 | 'expanded' => '0', |
| 80 | 80 | 'weight' => '-48', |
| 81 | 81 | 'parent_path' => 'dashboard', |
| 82 | - ); |
|
| 83 | - // Translatables |
|
| 84 | - // Use bts() function to translate additional strings. |
|
| 85 | - bts('Home', array(), NULL, 'boinc:menu-link'); |
|
| 86 | - bts('Credentials', array(), NULL, 'boinc:menu-link'); |
|
| 87 | - bts('Dashboard', array(), NULL, 'boinc:menu-link'); |
|
| 82 | + ); |
|
| 83 | + // Translatables |
|
| 84 | + // Use bts() function to translate additional strings. |
|
| 85 | + bts('Home', array(), NULL, 'boinc:menu-link'); |
|
| 86 | + bts('Credentials', array(), NULL, 'boinc:menu-link'); |
|
| 87 | + bts('Dashboard', array(), NULL, 'boinc:menu-link'); |
|
| 88 | 88 | |
| 89 | - return $menu_links; |
|
| 89 | + return $menu_links; |
|
| 90 | 90 | } |
@@ -4,48 +4,48 @@ discard block |
||
| 4 | 4 | * Implementation of hook_views_default_views(). |
| 5 | 5 | */ |
| 6 | 6 | function user_preferences_views_default_views() { |
| 7 | - $views = array(); |
|
| 7 | + $views = array(); |
|
| 8 | 8 | |
| 9 | - // Exported view: subscriptions |
|
| 10 | - $view = new view; |
|
| 11 | - $view->name = 'subscriptions'; |
|
| 12 | - $view->description = ''; |
|
| 13 | - $view->tag = ''; |
|
| 14 | - $view->base_table = 'node'; |
|
| 15 | - $view->core = 6; |
|
| 16 | - $view->api_version = '2'; |
|
| 17 | - $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
|
| 18 | - $handler = $view->new_display('default', 'Defaults', 'default'); |
|
| 19 | - $handler->override_option('relationships', array( |
|
| 9 | + // Exported view: subscriptions |
|
| 10 | + $view = new view; |
|
| 11 | + $view->name = 'subscriptions'; |
|
| 12 | + $view->description = ''; |
|
| 13 | + $view->tag = ''; |
|
| 14 | + $view->base_table = 'node'; |
|
| 15 | + $view->core = 6; |
|
| 16 | + $view->api_version = '2'; |
|
| 17 | + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
|
| 18 | + $handler = $view->new_display('default', 'Defaults', 'default'); |
|
| 19 | + $handler->override_option('relationships', array( |
|
| 20 | 20 | 'flag_content_rel' => array( |
| 21 | - 'label' => 'Subscription flag', |
|
| 22 | - 'required' => 1, |
|
| 23 | - 'flag' => 'subscriptions', |
|
| 24 | - 'user_scope' => 'current', |
|
| 25 | - 'id' => 'flag_content_rel', |
|
| 26 | - 'table' => 'node', |
|
| 27 | - 'field' => 'flag_content_rel', |
|
| 28 | - 'relationship' => 'none', |
|
| 21 | + 'label' => 'Subscription flag', |
|
| 22 | + 'required' => 1, |
|
| 23 | + 'flag' => 'subscriptions', |
|
| 24 | + 'user_scope' => 'current', |
|
| 25 | + 'id' => 'flag_content_rel', |
|
| 26 | + 'table' => 'node', |
|
| 27 | + 'field' => 'flag_content_rel', |
|
| 28 | + 'relationship' => 'none', |
|
| 29 | 29 | ), |
| 30 | 30 | 'flag_count_rel' => array( |
| 31 | - 'label' => 'counter', |
|
| 32 | - 'required' => 1, |
|
| 33 | - 'flag' => 'subscriptions', |
|
| 34 | - 'id' => 'flag_count_rel', |
|
| 35 | - 'table' => 'node', |
|
| 36 | - 'field' => 'flag_count_rel', |
|
| 37 | - 'relationship' => 'none', |
|
| 31 | + 'label' => 'counter', |
|
| 32 | + 'required' => 1, |
|
| 33 | + 'flag' => 'subscriptions', |
|
| 34 | + 'id' => 'flag_count_rel', |
|
| 35 | + 'table' => 'node', |
|
| 36 | + 'field' => 'flag_count_rel', |
|
| 37 | + 'relationship' => 'none', |
|
| 38 | 38 | ), |
| 39 | 39 | 'vid' => array( |
| 40 | - 'id' => 'vid', |
|
| 41 | - 'table' => 'term_node', |
|
| 42 | - 'field' => 'vid', |
|
| 40 | + 'id' => 'vid', |
|
| 41 | + 'table' => 'term_node', |
|
| 42 | + 'field' => 'vid', |
|
| 43 | 43 | ), |
| 44 | - )); |
|
| 45 | - $handler->override_option('fields', array( |
|
| 44 | + )); |
|
| 45 | + $handler->override_option('fields', array( |
|
| 46 | 46 | 'title' => array( |
| 47 | - 'label' => 'Page', |
|
| 48 | - 'alter' => array( |
|
| 47 | + 'label' => 'Page', |
|
| 48 | + 'alter' => array( |
|
| 49 | 49 | 'alter_text' => 0, |
| 50 | 50 | 'text' => '', |
| 51 | 51 | 'make_link' => 0, |
@@ -64,21 +64,21 @@ discard block |
||
| 64 | 64 | 'ellipsis' => 1, |
| 65 | 65 | 'html' => 0, |
| 66 | 66 | 'strip_tags' => 0, |
| 67 | - ), |
|
| 68 | - 'empty' => '', |
|
| 69 | - 'hide_empty' => 0, |
|
| 70 | - 'empty_zero' => 0, |
|
| 71 | - 'hide_alter_empty' => 1, |
|
| 72 | - 'link_to_node' => 0, |
|
| 73 | - 'exclude' => 1, |
|
| 74 | - 'id' => 'title', |
|
| 75 | - 'table' => 'node', |
|
| 76 | - 'field' => 'title', |
|
| 77 | - 'relationship' => 'none', |
|
| 67 | + ), |
|
| 68 | + 'empty' => '', |
|
| 69 | + 'hide_empty' => 0, |
|
| 70 | + 'empty_zero' => 0, |
|
| 71 | + 'hide_alter_empty' => 1, |
|
| 72 | + 'link_to_node' => 0, |
|
| 73 | + 'exclude' => 1, |
|
| 74 | + 'id' => 'title', |
|
| 75 | + 'table' => 'node', |
|
| 76 | + 'field' => 'title', |
|
| 77 | + 'relationship' => 'none', |
|
| 78 | 78 | ), |
| 79 | 79 | 'type' => array( |
| 80 | - 'label' => 'Type', |
|
| 81 | - 'alter' => array( |
|
| 80 | + 'label' => 'Type', |
|
| 81 | + 'alter' => array( |
|
| 82 | 82 | 'alter_text' => 0, |
| 83 | 83 | 'text' => '', |
| 84 | 84 | 'make_link' => 0, |
@@ -97,22 +97,22 @@ discard block |
||
| 97 | 97 | 'ellipsis' => 1, |
| 98 | 98 | 'html' => 0, |
| 99 | 99 | 'strip_tags' => 0, |
| 100 | - ), |
|
| 101 | - 'empty' => '', |
|
| 102 | - 'hide_empty' => 0, |
|
| 103 | - 'empty_zero' => 0, |
|
| 104 | - 'hide_alter_empty' => 1, |
|
| 105 | - 'link_to_node' => 0, |
|
| 106 | - 'machine_name' => 0, |
|
| 107 | - 'exclude' => 1, |
|
| 108 | - 'id' => 'type', |
|
| 109 | - 'table' => 'node', |
|
| 110 | - 'field' => 'type', |
|
| 111 | - 'relationship' => 'none', |
|
| 100 | + ), |
|
| 101 | + 'empty' => '', |
|
| 102 | + 'hide_empty' => 0, |
|
| 103 | + 'empty_zero' => 0, |
|
| 104 | + 'hide_alter_empty' => 1, |
|
| 105 | + 'link_to_node' => 0, |
|
| 106 | + 'machine_name' => 0, |
|
| 107 | + 'exclude' => 1, |
|
| 108 | + 'id' => 'type', |
|
| 109 | + 'table' => 'node', |
|
| 110 | + 'field' => 'type', |
|
| 111 | + 'relationship' => 'none', |
|
| 112 | 112 | ), |
| 113 | 113 | 'timestamp' => array( |
| 114 | - 'label' => 'Has new content', |
|
| 115 | - 'alter' => array( |
|
| 114 | + 'label' => 'Has new content', |
|
| 115 | + 'alter' => array( |
|
| 116 | 116 | 'alter_text' => 0, |
| 117 | 117 | 'text' => '', |
| 118 | 118 | 'make_link' => 0, |
@@ -131,22 +131,22 @@ discard block |
||
| 131 | 131 | 'ellipsis' => 1, |
| 132 | 132 | 'html' => 0, |
| 133 | 133 | 'strip_tags' => 0, |
| 134 | - ), |
|
| 135 | - 'empty' => '', |
|
| 136 | - 'hide_empty' => 0, |
|
| 137 | - 'empty_zero' => 0, |
|
| 138 | - 'hide_alter_empty' => 1, |
|
| 139 | - 'link_to_node' => 0, |
|
| 140 | - 'comments' => 1, |
|
| 141 | - 'exclude' => 1, |
|
| 142 | - 'id' => 'timestamp', |
|
| 143 | - 'table' => 'history_user', |
|
| 144 | - 'field' => 'timestamp', |
|
| 145 | - 'relationship' => 'none', |
|
| 134 | + ), |
|
| 135 | + 'empty' => '', |
|
| 136 | + 'hide_empty' => 0, |
|
| 137 | + 'empty_zero' => 0, |
|
| 138 | + 'hide_alter_empty' => 1, |
|
| 139 | + 'link_to_node' => 0, |
|
| 140 | + 'comments' => 1, |
|
| 141 | + 'exclude' => 1, |
|
| 142 | + 'id' => 'timestamp', |
|
| 143 | + 'table' => 'history_user', |
|
| 144 | + 'field' => 'timestamp', |
|
| 145 | + 'relationship' => 'none', |
|
| 146 | 146 | ), |
| 147 | 147 | 'new_comments' => array( |
| 148 | - 'label' => 'New comments', |
|
| 149 | - 'alter' => array( |
|
| 148 | + 'label' => 'New comments', |
|
| 149 | + 'alter' => array( |
|
| 150 | 150 | 'alter_text' => 0, |
| 151 | 151 | 'text' => '', |
| 152 | 152 | 'make_link' => 0, |
@@ -165,30 +165,30 @@ discard block |
||
| 165 | 165 | 'ellipsis' => 1, |
| 166 | 166 | 'html' => 0, |
| 167 | 167 | 'strip_tags' => 0, |
| 168 | - ), |
|
| 169 | - 'empty' => '', |
|
| 170 | - 'hide_empty' => 0, |
|
| 171 | - 'empty_zero' => 0, |
|
| 172 | - 'hide_alter_empty' => 1, |
|
| 173 | - 'set_precision' => FALSE, |
|
| 174 | - 'precision' => 0, |
|
| 175 | - 'decimal' => '.', |
|
| 176 | - 'separator' => ',', |
|
| 177 | - 'format_plural' => 0, |
|
| 178 | - 'format_plural_singular' => '1', |
|
| 179 | - 'format_plural_plural' => '@count', |
|
| 180 | - 'prefix' => '', |
|
| 181 | - 'suffix' => '', |
|
| 182 | - 'link_to_comment' => 1, |
|
| 183 | - 'exclude' => 1, |
|
| 184 | - 'id' => 'new_comments', |
|
| 185 | - 'table' => 'node', |
|
| 186 | - 'field' => 'new_comments', |
|
| 187 | - 'relationship' => 'none', |
|
| 168 | + ), |
|
| 169 | + 'empty' => '', |
|
| 170 | + 'hide_empty' => 0, |
|
| 171 | + 'empty_zero' => 0, |
|
| 172 | + 'hide_alter_empty' => 1, |
|
| 173 | + 'set_precision' => FALSE, |
|
| 174 | + 'precision' => 0, |
|
| 175 | + 'decimal' => '.', |
|
| 176 | + 'separator' => ',', |
|
| 177 | + 'format_plural' => 0, |
|
| 178 | + 'format_plural_singular' => '1', |
|
| 179 | + 'format_plural_plural' => '@count', |
|
| 180 | + 'prefix' => '', |
|
| 181 | + 'suffix' => '', |
|
| 182 | + 'link_to_comment' => 1, |
|
| 183 | + 'exclude' => 1, |
|
| 184 | + 'id' => 'new_comments', |
|
| 185 | + 'table' => 'node', |
|
| 186 | + 'field' => 'new_comments', |
|
| 187 | + 'relationship' => 'none', |
|
| 188 | 188 | ), |
| 189 | 189 | 'name' => array( |
| 190 | - 'label' => 'Term', |
|
| 191 | - 'alter' => array( |
|
| 190 | + 'label' => 'Term', |
|
| 191 | + 'alter' => array( |
|
| 192 | 192 | 'alter_text' => 0, |
| 193 | 193 | 'text' => '', |
| 194 | 194 | 'make_link' => 0, |
@@ -207,21 +207,21 @@ discard block |
||
| 207 | 207 | 'ellipsis' => 1, |
| 208 | 208 | 'html' => 0, |
| 209 | 209 | 'strip_tags' => 0, |
| 210 | - ), |
|
| 211 | - 'empty' => '', |
|
| 212 | - 'hide_empty' => 0, |
|
| 213 | - 'empty_zero' => 0, |
|
| 214 | - 'hide_alter_empty' => 1, |
|
| 215 | - 'link_to_taxonomy' => 0, |
|
| 216 | - 'exclude' => 1, |
|
| 217 | - 'id' => 'name', |
|
| 218 | - 'table' => 'term_data', |
|
| 219 | - 'field' => 'name', |
|
| 220 | - 'relationship' => 'none', |
|
| 210 | + ), |
|
| 211 | + 'empty' => '', |
|
| 212 | + 'hide_empty' => 0, |
|
| 213 | + 'empty_zero' => 0, |
|
| 214 | + 'hide_alter_empty' => 1, |
|
| 215 | + 'link_to_taxonomy' => 0, |
|
| 216 | + 'exclude' => 1, |
|
| 217 | + 'id' => 'name', |
|
| 218 | + 'table' => 'term_data', |
|
| 219 | + 'field' => 'name', |
|
| 220 | + 'relationship' => 'none', |
|
| 221 | 221 | ), |
| 222 | 222 | 'name_1' => array( |
| 223 | - 'label' => 'Vocabulary name', |
|
| 224 | - 'alter' => array( |
|
| 223 | + 'label' => 'Vocabulary name', |
|
| 224 | + 'alter' => array( |
|
| 225 | 225 | 'alter_text' => 0, |
| 226 | 226 | 'text' => '', |
| 227 | 227 | 'make_link' => 0, |
@@ -240,20 +240,20 @@ discard block |
||
| 240 | 240 | 'ellipsis' => 1, |
| 241 | 241 | 'html' => 0, |
| 242 | 242 | 'strip_tags' => 0, |
| 243 | - ), |
|
| 244 | - 'empty' => '', |
|
| 245 | - 'hide_empty' => 0, |
|
| 246 | - 'empty_zero' => 0, |
|
| 247 | - 'hide_alter_empty' => 1, |
|
| 248 | - 'exclude' => 1, |
|
| 249 | - 'id' => 'name_1', |
|
| 250 | - 'table' => 'vocabulary', |
|
| 251 | - 'field' => 'name', |
|
| 252 | - 'relationship' => 'none', |
|
| 243 | + ), |
|
| 244 | + 'empty' => '', |
|
| 245 | + 'hide_empty' => 0, |
|
| 246 | + 'empty_zero' => 0, |
|
| 247 | + 'hide_alter_empty' => 1, |
|
| 248 | + 'exclude' => 1, |
|
| 249 | + 'id' => 'name_1', |
|
| 250 | + 'table' => 'vocabulary', |
|
| 251 | + 'field' => 'name', |
|
| 252 | + 'relationship' => 'none', |
|
| 253 | 253 | ), |
| 254 | 254 | 'phpcode' => array( |
| 255 | - 'label' => 'Page', |
|
| 256 | - 'alter' => array( |
|
| 255 | + 'label' => 'Page', |
|
| 256 | + 'alter' => array( |
|
| 257 | 257 | 'alter_text' => 0, |
| 258 | 258 | 'text' => '', |
| 259 | 259 | 'make_link' => 0, |
@@ -272,12 +272,12 @@ discard block |
||
| 272 | 272 | 'ellipsis' => 1, |
| 273 | 273 | 'html' => 0, |
| 274 | 274 | 'strip_tags' => 0, |
| 275 | - ), |
|
| 276 | - 'empty' => '', |
|
| 277 | - 'hide_empty' => 0, |
|
| 278 | - 'empty_zero' => 0, |
|
| 279 | - 'hide_alter_empty' => 1, |
|
| 280 | - 'value' => '<?php |
|
| 275 | + ), |
|
| 276 | + 'empty' => '', |
|
| 277 | + 'hide_empty' => 0, |
|
| 278 | + 'empty_zero' => 0, |
|
| 279 | + 'hide_alter_empty' => 1, |
|
| 280 | + 'value' => '<?php |
|
| 281 | 281 | $updated = ($data->node_comment_statistics_last_updated > $data->history_user_timestamp) ? TRUE : FALSE; |
| 282 | 282 | $url = "node/{$data->nid}"; |
| 283 | 283 | if ($data->node_new_comments) { |
@@ -288,15 +288,15 @@ discard block |
||
| 288 | 288 | print l($data->node_title, $url); |
| 289 | 289 | print \'</span>\'; |
| 290 | 290 | ?>', |
| 291 | - 'exclude' => 0, |
|
| 292 | - 'id' => 'phpcode', |
|
| 293 | - 'table' => 'customfield', |
|
| 294 | - 'field' => 'phpcode', |
|
| 295 | - 'relationship' => 'none', |
|
| 291 | + 'exclude' => 0, |
|
| 292 | + 'id' => 'phpcode', |
|
| 293 | + 'table' => 'customfield', |
|
| 294 | + 'field' => 'phpcode', |
|
| 295 | + 'relationship' => 'none', |
|
| 296 | 296 | ), |
| 297 | 297 | 'phpcode_1' => array( |
| 298 | - 'label' => '', |
|
| 299 | - 'alter' => array( |
|
| 298 | + 'label' => '', |
|
| 299 | + 'alter' => array( |
|
| 300 | 300 | 'alter_text' => 0, |
| 301 | 301 | 'text' => '', |
| 302 | 302 | 'make_link' => 0, |
@@ -315,12 +315,12 @@ discard block |
||
| 315 | 315 | 'ellipsis' => 1, |
| 316 | 316 | 'html' => 0, |
| 317 | 317 | 'strip_tags' => 0, |
| 318 | - ), |
|
| 319 | - 'empty' => '', |
|
| 320 | - 'hide_empty' => 0, |
|
| 321 | - 'empty_zero' => 0, |
|
| 322 | - 'hide_alter_empty' => 1, |
|
| 323 | - 'value' => '<?php |
|
| 318 | + ), |
|
| 319 | + 'empty' => '', |
|
| 320 | + 'hide_empty' => 0, |
|
| 321 | + 'empty_zero' => 0, |
|
| 322 | + 'hide_alter_empty' => 1, |
|
| 323 | + 'value' => '<?php |
|
| 324 | 324 | if ($data->node_type == \'forum\') { |
| 325 | 325 | print $data->vocabulary_name . \' › \' . $data->term_data_name; |
| 326 | 326 | } |
@@ -328,15 +328,15 @@ discard block |
||
| 328 | 328 | print bts(\'News\', array(), NULL, \'boinc:menu-link\'); |
| 329 | 329 | } |
| 330 | 330 | ?>', |
| 331 | - 'exclude' => 0, |
|
| 332 | - 'id' => 'phpcode_1', |
|
| 333 | - 'table' => 'customfield', |
|
| 334 | - 'field' => 'phpcode', |
|
| 335 | - 'relationship' => 'none', |
|
| 331 | + 'exclude' => 0, |
|
| 332 | + 'id' => 'phpcode_1', |
|
| 333 | + 'table' => 'customfield', |
|
| 334 | + 'field' => 'phpcode', |
|
| 335 | + 'relationship' => 'none', |
|
| 336 | 336 | ), |
| 337 | 337 | 'last_updated' => array( |
| 338 | - 'label' => 'Updated', |
|
| 339 | - 'alter' => array( |
|
| 338 | + 'label' => 'Updated', |
|
| 339 | + 'alter' => array( |
|
| 340 | 340 | 'alter_text' => 0, |
| 341 | 341 | 'text' => '', |
| 342 | 342 | 'make_link' => 0, |
@@ -355,25 +355,25 @@ discard block |
||
| 355 | 355 | 'ellipsis' => 1, |
| 356 | 356 | 'html' => 0, |
| 357 | 357 | 'strip_tags' => 0, |
| 358 | - ), |
|
| 359 | - 'empty' => '', |
|
| 360 | - 'hide_empty' => 0, |
|
| 361 | - 'empty_zero' => 0, |
|
| 362 | - 'hide_alter_empty' => 1, |
|
| 363 | - 'date_format' => 'time ago', |
|
| 364 | - 'custom_date_format' => '', |
|
| 365 | - 'exclude' => 0, |
|
| 366 | - 'id' => 'last_updated', |
|
| 367 | - 'table' => 'node_comment_statistics', |
|
| 368 | - 'field' => 'last_updated', |
|
| 369 | - 'override' => array( |
|
| 358 | + ), |
|
| 359 | + 'empty' => '', |
|
| 360 | + 'hide_empty' => 0, |
|
| 361 | + 'empty_zero' => 0, |
|
| 362 | + 'hide_alter_empty' => 1, |
|
| 363 | + 'date_format' => 'time ago', |
|
| 364 | + 'custom_date_format' => '', |
|
| 365 | + 'exclude' => 0, |
|
| 366 | + 'id' => 'last_updated', |
|
| 367 | + 'table' => 'node_comment_statistics', |
|
| 368 | + 'field' => 'last_updated', |
|
| 369 | + 'override' => array( |
|
| 370 | 370 | 'button' => 'Override', |
| 371 | - ), |
|
| 372 | - 'relationship' => 'none', |
|
| 371 | + ), |
|
| 372 | + 'relationship' => 'none', |
|
| 373 | 373 | ), |
| 374 | 374 | 'ops' => array( |
| 375 | - 'label' => '', |
|
| 376 | - 'alter' => array( |
|
| 375 | + 'label' => '', |
|
| 376 | + 'alter' => array( |
|
| 377 | 377 | 'alter_text' => 0, |
| 378 | 378 | 'text' => '', |
| 379 | 379 | 'make_link' => 0, |
@@ -392,79 +392,79 @@ discard block |
||
| 392 | 392 | 'ellipsis' => 1, |
| 393 | 393 | 'html' => 0, |
| 394 | 394 | 'strip_tags' => 0, |
| 395 | - ), |
|
| 396 | - 'empty' => '', |
|
| 397 | - 'hide_empty' => 0, |
|
| 398 | - 'empty_zero' => 0, |
|
| 399 | - 'hide_alter_empty' => 1, |
|
| 400 | - 'link_type' => '', |
|
| 401 | - 'exclude' => 0, |
|
| 402 | - 'id' => 'ops', |
|
| 403 | - 'table' => 'flag_content', |
|
| 404 | - 'field' => 'ops', |
|
| 405 | - 'relationship' => 'flag_content_rel', |
|
| 395 | + ), |
|
| 396 | + 'empty' => '', |
|
| 397 | + 'hide_empty' => 0, |
|
| 398 | + 'empty_zero' => 0, |
|
| 399 | + 'hide_alter_empty' => 1, |
|
| 400 | + 'link_type' => '', |
|
| 401 | + 'exclude' => 0, |
|
| 402 | + 'id' => 'ops', |
|
| 403 | + 'table' => 'flag_content', |
|
| 404 | + 'field' => 'ops', |
|
| 405 | + 'relationship' => 'flag_content_rel', |
|
| 406 | 406 | ), |
| 407 | - )); |
|
| 408 | - $handler->override_option('access', array( |
|
| 407 | + )); |
|
| 408 | + $handler->override_option('access', array( |
|
| 409 | 409 | 'type' => 'none', |
| 410 | - )); |
|
| 411 | - $handler->override_option('cache', array( |
|
| 410 | + )); |
|
| 411 | + $handler->override_option('cache', array( |
|
| 412 | 412 | 'type' => 'none', |
| 413 | - )); |
|
| 414 | - $handler->override_option('use_pager', '1'); |
|
| 415 | - $handler = $view->new_display('page', 'Page', 'page_1'); |
|
| 416 | - $handler->override_option('style_plugin', 'table'); |
|
| 417 | - $handler->override_option('style_options', array( |
|
| 413 | + )); |
|
| 414 | + $handler->override_option('use_pager', '1'); |
|
| 415 | + $handler = $view->new_display('page', 'Page', 'page_1'); |
|
| 416 | + $handler->override_option('style_plugin', 'table'); |
|
| 417 | + $handler->override_option('style_options', array( |
|
| 418 | 418 | 'grouping' => '', |
| 419 | 419 | 'override' => 1, |
| 420 | 420 | 'sticky' => 0, |
| 421 | 421 | 'order' => 'desc', |
| 422 | 422 | 'summary' => '', |
| 423 | 423 | 'columns' => array( |
| 424 | - 'ops' => 'ops', |
|
| 425 | - 'title' => 'title', |
|
| 426 | - 'type' => 'type', |
|
| 427 | - 'last_updated' => 'last_updated', |
|
| 424 | + 'ops' => 'ops', |
|
| 425 | + 'title' => 'title', |
|
| 426 | + 'type' => 'type', |
|
| 427 | + 'last_updated' => 'last_updated', |
|
| 428 | 428 | ), |
| 429 | 429 | 'info' => array( |
| 430 | - 'ops' => array( |
|
| 430 | + 'ops' => array( |
|
| 431 | 431 | 'separator' => '', |
| 432 | - ), |
|
| 433 | - 'title' => array( |
|
| 432 | + ), |
|
| 433 | + 'title' => array( |
|
| 434 | 434 | 'sortable' => 0, |
| 435 | 435 | 'separator' => '', |
| 436 | - ), |
|
| 437 | - 'type' => array( |
|
| 436 | + ), |
|
| 437 | + 'type' => array( |
|
| 438 | 438 | 'sortable' => 0, |
| 439 | 439 | 'separator' => '', |
| 440 | - ), |
|
| 441 | - 'last_updated' => array( |
|
| 440 | + ), |
|
| 441 | + 'last_updated' => array( |
|
| 442 | 442 | 'sortable' => 0, |
| 443 | 443 | 'separator' => '', |
| 444 | - ), |
|
| 444 | + ), |
|
| 445 | 445 | ), |
| 446 | 446 | 'default' => 'last_updated', |
| 447 | - )); |
|
| 448 | - $handler->override_option('path', 'account/prefs/subscriptions'); |
|
| 449 | - $handler->override_option('menu', array( |
|
| 447 | + )); |
|
| 448 | + $handler->override_option('path', 'account/prefs/subscriptions'); |
|
| 449 | + $handler->override_option('menu', array( |
|
| 450 | 450 | 'type' => 'tab', |
| 451 | 451 | 'title' => bts('Subscriptions', array(), NULL, 'boinc:account-dashboard'), |
| 452 | 452 | 'description' => '', |
| 453 | 453 | 'weight' => '20', |
| 454 | 454 | 'name' => 'primary-links', |
| 455 | - )); |
|
| 456 | - $handler->override_option('tab_options', array( |
|
| 455 | + )); |
|
| 456 | + $handler->override_option('tab_options', array( |
|
| 457 | 457 | 'type' => 'none', |
| 458 | 458 | 'title' => '', |
| 459 | 459 | 'description' => '', |
| 460 | 460 | 'weight' => 0, |
| 461 | 461 | 'name' => 'navigation', |
| 462 | - )); |
|
| 463 | - $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1'); |
|
| 464 | - $handler->override_option('fields', array( |
|
| 462 | + )); |
|
| 463 | + $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1'); |
|
| 464 | + $handler->override_option('fields', array( |
|
| 465 | 465 | 'title' => array( |
| 466 | - 'label' => 'Page', |
|
| 467 | - 'alter' => array( |
|
| 466 | + 'label' => 'Page', |
|
| 467 | + 'alter' => array( |
|
| 468 | 468 | 'alter_text' => 0, |
| 469 | 469 | 'text' => '', |
| 470 | 470 | 'make_link' => 0, |
@@ -483,24 +483,24 @@ discard block |
||
| 483 | 483 | 'ellipsis' => 1, |
| 484 | 484 | 'html' => 0, |
| 485 | 485 | 'strip_tags' => 0, |
| 486 | - ), |
|
| 487 | - 'empty' => '', |
|
| 488 | - 'hide_empty' => 0, |
|
| 489 | - 'empty_zero' => 0, |
|
| 490 | - 'hide_alter_empty' => 1, |
|
| 491 | - 'link_to_node' => 1, |
|
| 492 | - 'exclude' => 1, |
|
| 493 | - 'id' => 'title', |
|
| 494 | - 'table' => 'node', |
|
| 495 | - 'field' => 'title', |
|
| 496 | - 'relationship' => 'none', |
|
| 497 | - 'override' => array( |
|
| 486 | + ), |
|
| 487 | + 'empty' => '', |
|
| 488 | + 'hide_empty' => 0, |
|
| 489 | + 'empty_zero' => 0, |
|
| 490 | + 'hide_alter_empty' => 1, |
|
| 491 | + 'link_to_node' => 1, |
|
| 492 | + 'exclude' => 1, |
|
| 493 | + 'id' => 'title', |
|
| 494 | + 'table' => 'node', |
|
| 495 | + 'field' => 'title', |
|
| 496 | + 'relationship' => 'none', |
|
| 497 | + 'override' => array( |
|
| 498 | 498 | 'button' => 'Use default', |
| 499 | - ), |
|
| 499 | + ), |
|
| 500 | 500 | ), |
| 501 | 501 | 'type' => array( |
| 502 | - 'label' => 'Type', |
|
| 503 | - 'alter' => array( |
|
| 502 | + 'label' => 'Type', |
|
| 503 | + 'alter' => array( |
|
| 504 | 504 | 'alter_text' => 0, |
| 505 | 505 | 'text' => '', |
| 506 | 506 | 'make_link' => 0, |
@@ -519,25 +519,25 @@ discard block |
||
| 519 | 519 | 'ellipsis' => 1, |
| 520 | 520 | 'html' => 0, |
| 521 | 521 | 'strip_tags' => 0, |
| 522 | - ), |
|
| 523 | - 'empty' => '', |
|
| 524 | - 'hide_empty' => 0, |
|
| 525 | - 'empty_zero' => 0, |
|
| 526 | - 'hide_alter_empty' => 1, |
|
| 527 | - 'link_to_node' => 0, |
|
| 528 | - 'machine_name' => 0, |
|
| 529 | - 'exclude' => 1, |
|
| 530 | - 'id' => 'type', |
|
| 531 | - 'table' => 'node', |
|
| 532 | - 'field' => 'type', |
|
| 533 | - 'override' => array( |
|
| 522 | + ), |
|
| 523 | + 'empty' => '', |
|
| 524 | + 'hide_empty' => 0, |
|
| 525 | + 'empty_zero' => 0, |
|
| 526 | + 'hide_alter_empty' => 1, |
|
| 527 | + 'link_to_node' => 0, |
|
| 528 | + 'machine_name' => 0, |
|
| 529 | + 'exclude' => 1, |
|
| 530 | + 'id' => 'type', |
|
| 531 | + 'table' => 'node', |
|
| 532 | + 'field' => 'type', |
|
| 533 | + 'override' => array( |
|
| 534 | 534 | 'button' => 'Use default', |
| 535 | - ), |
|
| 536 | - 'relationship' => 'none', |
|
| 535 | + ), |
|
| 536 | + 'relationship' => 'none', |
|
| 537 | 537 | ), |
| 538 | 538 | 'timestamp' => array( |
| 539 | - 'label' => 'Has new content', |
|
| 540 | - 'alter' => array( |
|
| 539 | + 'label' => 'Has new content', |
|
| 540 | + 'alter' => array( |
|
| 541 | 541 | 'alter_text' => 0, |
| 542 | 542 | 'text' => '', |
| 543 | 543 | 'make_link' => 0, |
@@ -556,25 +556,25 @@ discard block |
||
| 556 | 556 | 'ellipsis' => 1, |
| 557 | 557 | 'html' => 0, |
| 558 | 558 | 'strip_tags' => 0, |
| 559 | - ), |
|
| 560 | - 'empty' => '', |
|
| 561 | - 'hide_empty' => 0, |
|
| 562 | - 'empty_zero' => 0, |
|
| 563 | - 'hide_alter_empty' => 1, |
|
| 564 | - 'link_to_node' => 0, |
|
| 565 | - 'comments' => 1, |
|
| 566 | - 'exclude' => 1, |
|
| 567 | - 'id' => 'timestamp', |
|
| 568 | - 'table' => 'history_user', |
|
| 569 | - 'field' => 'timestamp', |
|
| 570 | - 'relationship' => 'none', |
|
| 571 | - 'override' => array( |
|
| 559 | + ), |
|
| 560 | + 'empty' => '', |
|
| 561 | + 'hide_empty' => 0, |
|
| 562 | + 'empty_zero' => 0, |
|
| 563 | + 'hide_alter_empty' => 1, |
|
| 564 | + 'link_to_node' => 0, |
|
| 565 | + 'comments' => 1, |
|
| 566 | + 'exclude' => 1, |
|
| 567 | + 'id' => 'timestamp', |
|
| 568 | + 'table' => 'history_user', |
|
| 569 | + 'field' => 'timestamp', |
|
| 570 | + 'relationship' => 'none', |
|
| 571 | + 'override' => array( |
|
| 572 | 572 | 'button' => 'Use default', |
| 573 | - ), |
|
| 573 | + ), |
|
| 574 | 574 | ), |
| 575 | 575 | 'new_comments' => array( |
| 576 | - 'label' => 'New comments', |
|
| 577 | - 'alter' => array( |
|
| 576 | + 'label' => 'New comments', |
|
| 577 | + 'alter' => array( |
|
| 578 | 578 | 'alter_text' => 0, |
| 579 | 579 | 'text' => '', |
| 580 | 580 | 'make_link' => 0, |
@@ -593,33 +593,33 @@ discard block |
||
| 593 | 593 | 'ellipsis' => 1, |
| 594 | 594 | 'html' => 0, |
| 595 | 595 | 'strip_tags' => 0, |
| 596 | - ), |
|
| 597 | - 'empty' => '', |
|
| 598 | - 'hide_empty' => 0, |
|
| 599 | - 'empty_zero' => 0, |
|
| 600 | - 'hide_alter_empty' => 1, |
|
| 601 | - 'set_precision' => FALSE, |
|
| 602 | - 'precision' => 0, |
|
| 603 | - 'decimal' => '.', |
|
| 604 | - 'separator' => ',', |
|
| 605 | - 'format_plural' => 0, |
|
| 606 | - 'format_plural_singular' => '1', |
|
| 607 | - 'format_plural_plural' => '@count', |
|
| 608 | - 'prefix' => '', |
|
| 609 | - 'suffix' => '', |
|
| 610 | - 'link_to_comment' => 1, |
|
| 611 | - 'exclude' => 1, |
|
| 612 | - 'id' => 'new_comments', |
|
| 613 | - 'table' => 'node', |
|
| 614 | - 'field' => 'new_comments', |
|
| 615 | - 'relationship' => 'none', |
|
| 616 | - 'override' => array( |
|
| 596 | + ), |
|
| 597 | + 'empty' => '', |
|
| 598 | + 'hide_empty' => 0, |
|
| 599 | + 'empty_zero' => 0, |
|
| 600 | + 'hide_alter_empty' => 1, |
|
| 601 | + 'set_precision' => FALSE, |
|
| 602 | + 'precision' => 0, |
|
| 603 | + 'decimal' => '.', |
|
| 604 | + 'separator' => ',', |
|
| 605 | + 'format_plural' => 0, |
|
| 606 | + 'format_plural_singular' => '1', |
|
| 607 | + 'format_plural_plural' => '@count', |
|
| 608 | + 'prefix' => '', |
|
| 609 | + 'suffix' => '', |
|
| 610 | + 'link_to_comment' => 1, |
|
| 611 | + 'exclude' => 1, |
|
| 612 | + 'id' => 'new_comments', |
|
| 613 | + 'table' => 'node', |
|
| 614 | + 'field' => 'new_comments', |
|
| 615 | + 'relationship' => 'none', |
|
| 616 | + 'override' => array( |
|
| 617 | 617 | 'button' => 'Use default', |
| 618 | - ), |
|
| 618 | + ), |
|
| 619 | 619 | ), |
| 620 | 620 | 'name' => array( |
| 621 | - 'label' => 'Term', |
|
| 622 | - 'alter' => array( |
|
| 621 | + 'label' => 'Term', |
|
| 622 | + 'alter' => array( |
|
| 623 | 623 | 'alter_text' => 0, |
| 624 | 624 | 'text' => '', |
| 625 | 625 | 'make_link' => 0, |
@@ -638,24 +638,24 @@ discard block |
||
| 638 | 638 | 'ellipsis' => 1, |
| 639 | 639 | 'html' => 0, |
| 640 | 640 | 'strip_tags' => 0, |
| 641 | - ), |
|
| 642 | - 'empty' => '', |
|
| 643 | - 'hide_empty' => 0, |
|
| 644 | - 'empty_zero' => 0, |
|
| 645 | - 'hide_alter_empty' => 1, |
|
| 646 | - 'link_to_taxonomy' => 0, |
|
| 647 | - 'exclude' => 1, |
|
| 648 | - 'id' => 'name', |
|
| 649 | - 'table' => 'term_data', |
|
| 650 | - 'field' => 'name', |
|
| 651 | - 'override' => array( |
|
| 641 | + ), |
|
| 642 | + 'empty' => '', |
|
| 643 | + 'hide_empty' => 0, |
|
| 644 | + 'empty_zero' => 0, |
|
| 645 | + 'hide_alter_empty' => 1, |
|
| 646 | + 'link_to_taxonomy' => 0, |
|
| 647 | + 'exclude' => 1, |
|
| 648 | + 'id' => 'name', |
|
| 649 | + 'table' => 'term_data', |
|
| 650 | + 'field' => 'name', |
|
| 651 | + 'override' => array( |
|
| 652 | 652 | 'button' => 'Use default', |
| 653 | - ), |
|
| 654 | - 'relationship' => 'none', |
|
| 653 | + ), |
|
| 654 | + 'relationship' => 'none', |
|
| 655 | 655 | ), |
| 656 | 656 | 'name_1' => array( |
| 657 | - 'label' => 'Vocabulary name', |
|
| 658 | - 'alter' => array( |
|
| 657 | + 'label' => 'Vocabulary name', |
|
| 658 | + 'alter' => array( |
|
| 659 | 659 | 'alter_text' => 0, |
| 660 | 660 | 'text' => '', |
| 661 | 661 | 'make_link' => 0, |
@@ -674,23 +674,23 @@ discard block |
||
| 674 | 674 | 'ellipsis' => 1, |
| 675 | 675 | 'html' => 0, |
| 676 | 676 | 'strip_tags' => 0, |
| 677 | - ), |
|
| 678 | - 'empty' => '', |
|
| 679 | - 'hide_empty' => 0, |
|
| 680 | - 'empty_zero' => 0, |
|
| 681 | - 'hide_alter_empty' => 1, |
|
| 682 | - 'exclude' => 1, |
|
| 683 | - 'id' => 'name_1', |
|
| 684 | - 'table' => 'vocabulary', |
|
| 685 | - 'field' => 'name', |
|
| 686 | - 'override' => array( |
|
| 677 | + ), |
|
| 678 | + 'empty' => '', |
|
| 679 | + 'hide_empty' => 0, |
|
| 680 | + 'empty_zero' => 0, |
|
| 681 | + 'hide_alter_empty' => 1, |
|
| 682 | + 'exclude' => 1, |
|
| 683 | + 'id' => 'name_1', |
|
| 684 | + 'table' => 'vocabulary', |
|
| 685 | + 'field' => 'name', |
|
| 686 | + 'override' => array( |
|
| 687 | 687 | 'button' => 'Use default', |
| 688 | - ), |
|
| 689 | - 'relationship' => 'none', |
|
| 688 | + ), |
|
| 689 | + 'relationship' => 'none', |
|
| 690 | 690 | ), |
| 691 | 691 | 'phpcode' => array( |
| 692 | - 'label' => 'Page', |
|
| 693 | - 'alter' => array( |
|
| 692 | + 'label' => 'Page', |
|
| 693 | + 'alter' => array( |
|
| 694 | 694 | 'alter_text' => 0, |
| 695 | 695 | 'text' => '', |
| 696 | 696 | 'make_link' => 0, |
@@ -709,12 +709,12 @@ discard block |
||
| 709 | 709 | 'ellipsis' => 1, |
| 710 | 710 | 'html' => 0, |
| 711 | 711 | 'strip_tags' => 0, |
| 712 | - ), |
|
| 713 | - 'empty' => '', |
|
| 714 | - 'hide_empty' => 0, |
|
| 715 | - 'empty_zero' => 0, |
|
| 716 | - 'hide_alter_empty' => 1, |
|
| 717 | - 'value' => '<?php |
|
| 712 | + ), |
|
| 713 | + 'empty' => '', |
|
| 714 | + 'hide_empty' => 0, |
|
| 715 | + 'empty_zero' => 0, |
|
| 716 | + 'hide_alter_empty' => 1, |
|
| 717 | + 'value' => '<?php |
|
| 718 | 718 | $updated = ($data->node_comment_statistics_last_updated > $data->history_user_timestamp) ? TRUE : FALSE; |
| 719 | 719 | $url = "node/{$data->nid}"; |
| 720 | 720 | if ($data->node_new_comments) { |
@@ -725,18 +725,18 @@ discard block |
||
| 725 | 725 | print l($data->node_title, $url); |
| 726 | 726 | print \'</span>\'; |
| 727 | 727 | ?>', |
| 728 | - 'exclude' => 0, |
|
| 729 | - 'id' => 'phpcode', |
|
| 730 | - 'table' => 'customfield', |
|
| 731 | - 'field' => 'phpcode', |
|
| 732 | - 'override' => array( |
|
| 728 | + 'exclude' => 0, |
|
| 729 | + 'id' => 'phpcode', |
|
| 730 | + 'table' => 'customfield', |
|
| 731 | + 'field' => 'phpcode', |
|
| 732 | + 'override' => array( |
|
| 733 | 733 | 'button' => 'Use default', |
| 734 | - ), |
|
| 735 | - 'relationship' => 'none', |
|
| 734 | + ), |
|
| 735 | + 'relationship' => 'none', |
|
| 736 | 736 | ), |
| 737 | 737 | 'phpcode_1' => array( |
| 738 | - 'label' => '', |
|
| 739 | - 'alter' => array( |
|
| 738 | + 'label' => '', |
|
| 739 | + 'alter' => array( |
|
| 740 | 740 | 'alter_text' => 0, |
| 741 | 741 | 'text' => '', |
| 742 | 742 | 'make_link' => 0, |
@@ -755,12 +755,12 @@ discard block |
||
| 755 | 755 | 'ellipsis' => 1, |
| 756 | 756 | 'html' => 0, |
| 757 | 757 | 'strip_tags' => 0, |
| 758 | - ), |
|
| 759 | - 'empty' => '', |
|
| 760 | - 'hide_empty' => 0, |
|
| 761 | - 'empty_zero' => 0, |
|
| 762 | - 'hide_alter_empty' => 1, |
|
| 763 | - 'value' => '<?php |
|
| 758 | + ), |
|
| 759 | + 'empty' => '', |
|
| 760 | + 'hide_empty' => 0, |
|
| 761 | + 'empty_zero' => 0, |
|
| 762 | + 'hide_alter_empty' => 1, |
|
| 763 | + 'value' => '<?php |
|
| 764 | 764 | if ($data->node_type == \'forum\') { |
| 765 | 765 | print $data->vocabulary_name . \' › \' . $data->term_data_name; |
| 766 | 766 | } |
@@ -768,18 +768,18 @@ discard block |
||
| 768 | 768 | print bts(\'News\', array(), NULL, \'boinc:menu-link\'); |
| 769 | 769 | } |
| 770 | 770 | ?>', |
| 771 | - 'exclude' => 0, |
|
| 772 | - 'id' => 'phpcode_1', |
|
| 773 | - 'table' => 'customfield', |
|
| 774 | - 'field' => 'phpcode', |
|
| 775 | - 'override' => array( |
|
| 771 | + 'exclude' => 0, |
|
| 772 | + 'id' => 'phpcode_1', |
|
| 773 | + 'table' => 'customfield', |
|
| 774 | + 'field' => 'phpcode', |
|
| 775 | + 'override' => array( |
|
| 776 | 776 | 'button' => 'Use default', |
| 777 | - ), |
|
| 778 | - 'relationship' => 'none', |
|
| 777 | + ), |
|
| 778 | + 'relationship' => 'none', |
|
| 779 | 779 | ), |
| 780 | 780 | 'last_updated' => array( |
| 781 | - 'label' => bts('Updated', array(), NULL, 'boinc:account-dashboard'), |
|
| 782 | - 'alter' => array( |
|
| 781 | + 'label' => bts('Updated', array(), NULL, 'boinc:account-dashboard'), |
|
| 782 | + 'alter' => array( |
|
| 783 | 783 | 'alter_text' => 0, |
| 784 | 784 | 'text' => '', |
| 785 | 785 | 'make_link' => 0, |
@@ -798,25 +798,25 @@ discard block |
||
| 798 | 798 | 'ellipsis' => 1, |
| 799 | 799 | 'html' => 0, |
| 800 | 800 | 'strip_tags' => 0, |
| 801 | - ), |
|
| 802 | - 'empty' => '', |
|
| 803 | - 'hide_empty' => 0, |
|
| 804 | - 'empty_zero' => 0, |
|
| 805 | - 'hide_alter_empty' => 1, |
|
| 806 | - 'date_format' => 'time ago', |
|
| 807 | - 'custom_date_format' => '', |
|
| 808 | - 'exclude' => 0, |
|
| 809 | - 'id' => 'last_updated', |
|
| 810 | - 'table' => 'node_comment_statistics', |
|
| 811 | - 'field' => 'last_updated', |
|
| 812 | - 'override' => array( |
|
| 801 | + ), |
|
| 802 | + 'empty' => '', |
|
| 803 | + 'hide_empty' => 0, |
|
| 804 | + 'empty_zero' => 0, |
|
| 805 | + 'hide_alter_empty' => 1, |
|
| 806 | + 'date_format' => 'time ago', |
|
| 807 | + 'custom_date_format' => '', |
|
| 808 | + 'exclude' => 0, |
|
| 809 | + 'id' => 'last_updated', |
|
| 810 | + 'table' => 'node_comment_statistics', |
|
| 811 | + 'field' => 'last_updated', |
|
| 812 | + 'override' => array( |
|
| 813 | 813 | 'button' => 'Use default', |
| 814 | - ), |
|
| 815 | - 'relationship' => 'none', |
|
| 814 | + ), |
|
| 815 | + 'relationship' => 'none', |
|
| 816 | 816 | ), |
| 817 | 817 | 'ops' => array( |
| 818 | - 'label' => '', |
|
| 819 | - 'alter' => array( |
|
| 818 | + 'label' => '', |
|
| 819 | + 'alter' => array( |
|
| 820 | 820 | 'alter_text' => 0, |
| 821 | 821 | 'text' => '', |
| 822 | 822 | 'make_link' => 0, |
@@ -835,66 +835,66 @@ discard block |
||
| 835 | 835 | 'ellipsis' => 1, |
| 836 | 836 | 'html' => 0, |
| 837 | 837 | 'strip_tags' => 0, |
| 838 | - ), |
|
| 839 | - 'empty' => '', |
|
| 840 | - 'hide_empty' => 0, |
|
| 841 | - 'empty_zero' => 0, |
|
| 842 | - 'hide_alter_empty' => 1, |
|
| 843 | - 'link_type' => '', |
|
| 844 | - 'exclude' => 1, |
|
| 845 | - 'id' => 'ops', |
|
| 846 | - 'table' => 'flag_content', |
|
| 847 | - 'field' => 'ops', |
|
| 848 | - 'relationship' => 'flag_content_rel', |
|
| 849 | - 'override' => array( |
|
| 838 | + ), |
|
| 839 | + 'empty' => '', |
|
| 840 | + 'hide_empty' => 0, |
|
| 841 | + 'empty_zero' => 0, |
|
| 842 | + 'hide_alter_empty' => 1, |
|
| 843 | + 'link_type' => '', |
|
| 844 | + 'exclude' => 1, |
|
| 845 | + 'id' => 'ops', |
|
| 846 | + 'table' => 'flag_content', |
|
| 847 | + 'field' => 'ops', |
|
| 848 | + 'relationship' => 'flag_content_rel', |
|
| 849 | + 'override' => array( |
|
| 850 | 850 | 'button' => 'Use default', |
| 851 | - ), |
|
| 851 | + ), |
|
| 852 | 852 | ), |
| 853 | - )); |
|
| 854 | - $handler->override_option('title', 'Subscriptions'); |
|
| 855 | - $handler->override_option('items_per_page', 5); |
|
| 856 | - $handler->override_option('use_pager', '0'); |
|
| 857 | - $handler->override_option('use_more', 1); |
|
| 858 | - $handler->override_option('use_more_always', 1); |
|
| 859 | - $handler->override_option('style_plugin', 'table'); |
|
| 860 | - $handler->override_option('style_options', array( |
|
| 853 | + )); |
|
| 854 | + $handler->override_option('title', 'Subscriptions'); |
|
| 855 | + $handler->override_option('items_per_page', 5); |
|
| 856 | + $handler->override_option('use_pager', '0'); |
|
| 857 | + $handler->override_option('use_more', 1); |
|
| 858 | + $handler->override_option('use_more_always', 1); |
|
| 859 | + $handler->override_option('style_plugin', 'table'); |
|
| 860 | + $handler->override_option('style_options', array( |
|
| 861 | 861 | 'grouping' => '', |
| 862 | 862 | 'override' => 1, |
| 863 | 863 | 'sticky' => 0, |
| 864 | 864 | 'order' => 'desc', |
| 865 | 865 | 'summary' => '', |
| 866 | 866 | 'columns' => array( |
| 867 | - 'title' => 'title', |
|
| 868 | - 'type' => 'type', |
|
| 869 | - 'ops' => 'ops', |
|
| 870 | - 'last_updated' => 'last_updated', |
|
| 867 | + 'title' => 'title', |
|
| 868 | + 'type' => 'type', |
|
| 869 | + 'ops' => 'ops', |
|
| 870 | + 'last_updated' => 'last_updated', |
|
| 871 | 871 | ), |
| 872 | 872 | 'info' => array( |
| 873 | - 'title' => array( |
|
| 873 | + 'title' => array( |
|
| 874 | 874 | 'sortable' => 0, |
| 875 | 875 | 'separator' => '', |
| 876 | - ), |
|
| 877 | - 'type' => array( |
|
| 876 | + ), |
|
| 877 | + 'type' => array( |
|
| 878 | 878 | 'sortable' => 0, |
| 879 | 879 | 'separator' => '', |
| 880 | - ), |
|
| 881 | - 'ops' => array( |
|
| 880 | + ), |
|
| 881 | + 'ops' => array( |
|
| 882 | 882 | 'separator' => '', |
| 883 | - ), |
|
| 884 | - 'last_updated' => array( |
|
| 883 | + ), |
|
| 884 | + 'last_updated' => array( |
|
| 885 | 885 | 'sortable' => 0, |
| 886 | 886 | 'separator' => '', |
| 887 | - ), |
|
| 887 | + ), |
|
| 888 | 888 | ), |
| 889 | 889 | 'default' => 'last_updated', |
| 890 | - )); |
|
| 891 | - $handler->override_option('pane_title', ''); |
|
| 892 | - $handler->override_option('pane_description', ''); |
|
| 893 | - $handler->override_option('pane_category', array( |
|
| 890 | + )); |
|
| 891 | + $handler->override_option('pane_title', ''); |
|
| 892 | + $handler->override_option('pane_description', ''); |
|
| 893 | + $handler->override_option('pane_category', array( |
|
| 894 | 894 | 'name' => 'View panes', |
| 895 | 895 | 'weight' => 0, |
| 896 | - )); |
|
| 897 | - $handler->override_option('allow', array( |
|
| 896 | + )); |
|
| 897 | + $handler->override_option('allow', array( |
|
| 898 | 898 | 'use_pager' => FALSE, |
| 899 | 899 | 'items_per_page' => FALSE, |
| 900 | 900 | 'offset' => FALSE, |
@@ -904,12 +904,12 @@ discard block |
||
| 904 | 904 | 'title_override' => FALSE, |
| 905 | 905 | 'exposed_form' => FALSE, |
| 906 | 906 | 'fields_override' => FALSE, |
| 907 | - )); |
|
| 908 | - $handler->override_option('argument_input', array()); |
|
| 909 | - $handler->override_option('link_to_view', 0); |
|
| 910 | - $handler->override_option('inherit_panels_path', 0); |
|
| 907 | + )); |
|
| 908 | + $handler->override_option('argument_input', array()); |
|
| 909 | + $handler->override_option('link_to_view', 0); |
|
| 910 | + $handler->override_option('inherit_panels_path', 0); |
|
| 911 | 911 | |
| 912 | - $views[$view->name] = $view; |
|
| 912 | + $views[$view->name] = $view; |
|
| 913 | 913 | |
| 914 | - return $views; |
|
| 914 | + return $views; |
|
| 915 | 915 | } |
@@ -4,18 +4,18 @@ discard block |
||
| 4 | 4 | * Implementation of hook_menu_default_menu_links(). |
| 5 | 5 | */ |
| 6 | 6 | function user_preferences_menu_default_menu_links() { |
| 7 | - $menu_links = array(); |
|
| 7 | + $menu_links = array(); |
|
| 8 | 8 | |
| 9 | - // Exported menu link: primary-links:account/prefs |
|
| 10 | - $menu_links['primary-links:account/prefs'] = array( |
|
| 9 | + // Exported menu link: primary-links:account/prefs |
|
| 10 | + $menu_links['primary-links:account/prefs'] = array( |
|
| 11 | 11 | 'menu_name' => 'primary-links', |
| 12 | 12 | 'link_path' => 'account/prefs', |
| 13 | 13 | 'router_path' => 'account/prefs', |
| 14 | 14 | 'link_title' => 'Preferences', |
| 15 | 15 | 'options' => array( |
| 16 | - 'attributes' => array( |
|
| 16 | + 'attributes' => array( |
|
| 17 | 17 | 'title' => '', |
| 18 | - ), |
|
| 18 | + ), |
|
| 19 | 19 | ), |
| 20 | 20 | 'module' => 'menu', |
| 21 | 21 | 'hidden' => '0', |
@@ -24,13 +24,13 @@ discard block |
||
| 24 | 24 | 'expanded' => '0', |
| 25 | 25 | 'weight' => '-47', |
| 26 | 26 | 'parent_path' => 'dashboard', |
| 27 | - ); |
|
| 28 | - // Translatables |
|
| 29 | - // Use bts() function to translate additional strings. |
|
| 30 | - bts('Preferences', array(), NULL, 'boinc:menu-link'); |
|
| 31 | - bts('Community', array(), NULL, 'boinc:menu-link'); |
|
| 32 | - bts('Privacy', array(), NULL, 'boinc:menu-link'); |
|
| 33 | - bts('Subscriptions', array(), NULL, 'boinc:menu-link:-1:ignoreoverwrite'); |
|
| 27 | + ); |
|
| 28 | + // Translatables |
|
| 29 | + // Use bts() function to translate additional strings. |
|
| 30 | + bts('Preferences', array(), NULL, 'boinc:menu-link'); |
|
| 31 | + bts('Community', array(), NULL, 'boinc:menu-link'); |
|
| 32 | + bts('Privacy', array(), NULL, 'boinc:menu-link'); |
|
| 33 | + bts('Subscriptions', array(), NULL, 'boinc:menu-link:-1:ignoreoverwrite'); |
|
| 34 | 34 | |
| 35 | - return $menu_links; |
|
| 35 | + return $menu_links; |
|
| 36 | 36 | } |
@@ -7,48 +7,48 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | function boinc_solr_comments_form(&$form_state) { |
| 10 | - $form = array(); |
|
| 10 | + $form = array(); |
|
| 11 | 11 | |
| 12 | - $form['config'] = array( |
|
| 12 | + $form['config'] = array( |
|
| 13 | 13 | '#type' => 'fieldset', |
| 14 | 14 | '#title' => t('Configuration'), |
| 15 | 15 | '#collapsible' => TRUE, |
| 16 | - ); |
|
| 16 | + ); |
|
| 17 | 17 | |
| 18 | - $options = array(); |
|
| 19 | - foreach (content_types() as $key => $info) { |
|
| 18 | + $options = array(); |
|
| 19 | + foreach (content_types() as $key => $info) { |
|
| 20 | 20 | // Exclude node types profile, team, and panel |
| 21 | 21 | switch ($key) { |
| 22 | - case 'profile': |
|
| 22 | + case 'profile': |
|
| 23 | 23 | case 'team': |
| 24 | 24 | case 'panel': |
| 25 | 25 | continue 2; |
| 26 | 26 | }// switch key |
| 27 | 27 | $options[$key] = $info['name']; |
| 28 | - } |
|
| 29 | - asort($options); |
|
| 28 | + } |
|
| 29 | + asort($options); |
|
| 30 | 30 | |
| 31 | - // Form defaults |
|
| 32 | - $default = array( |
|
| 31 | + // Form defaults |
|
| 32 | + $default = array( |
|
| 33 | 33 | 'boinc_solr_comments_nodetypes' => variable_get('boinc_solr_comments_nodetypes', ''), |
| 34 | - ); |
|
| 35 | - if (empty($default['boinc_solr_comments_nodetypes'])) { |
|
| 34 | + ); |
|
| 35 | + if (empty($default['boinc_solr_comments_nodetypes'])) { |
|
| 36 | 36 | $default['boinc_solr_comments_nodetypes'] = array('forum','team_forum','news','page','story'); |
| 37 | - } |
|
| 37 | + } |
|
| 38 | 38 | |
| 39 | - // Define the form |
|
| 40 | - $form['config']['nodes'] = array( |
|
| 39 | + // Define the form |
|
| 40 | + $form['config']['nodes'] = array( |
|
| 41 | 41 | '#type' => 'markup', |
| 42 | 42 | '#value' => bts('Select the content types where the comments are indexed by Apace Solr. Your content must be re-indexed after changing this configuration.', array(), NULL, 'boinc:admin-solr-search-comments-option'), |
| 43 | - ); |
|
| 43 | + ); |
|
| 44 | 44 | |
| 45 | - $form['config']['boinc_solr_comments_nodetypes'] = array( |
|
| 45 | + $form['config']['boinc_solr_comments_nodetypes'] = array( |
|
| 46 | 46 | '#type' => 'checkboxes', |
| 47 | 47 | '#title' => 'node', |
| 48 | 48 | '#options' => $options, |
| 49 | 49 | '#default_value' => $default['boinc_solr_comments_nodetypes'], |
| 50 | - ); |
|
| 50 | + ); |
|
| 51 | 51 | |
| 52 | - return system_settings_form($form); |
|
| 52 | + return system_settings_form($form); |
|
| 53 | 53 | } |
| 54 | 54 | |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | echo 'Hint: Example greps: "RESULT#106876", "26fe99aa_25636_00119.wu_1", "WU#8152", "too many errors", "2003-07-17", "CRITICAL" <br>'; |
| 61 | 61 | |
| 62 | 62 | if (strlen($f)) { |
| 63 | - $f = "../log*/". $f; |
|
| 63 | + $f = "../log*/". $f; |
|
| 64 | 64 | } else { |
| 65 | 65 | $f = "../log*/*.log"; |
| 66 | 66 | } |
@@ -4,33 +4,33 @@ discard block |
||
| 4 | 4 | * Implementation of hook_default_panels_mini(). |
| 5 | 5 | */ |
| 6 | 6 | function user_account_project_list_default_panels_mini() { |
| 7 | - $export = array(); |
|
| 7 | + $export = array(); |
|
| 8 | 8 | |
| 9 | - $mini = new stdClass; |
|
| 10 | - $mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */ |
|
| 11 | - $mini->api_version = 1; |
|
| 12 | - $mini->name = 'user_project_list'; |
|
| 13 | - $mini->category = 'BOINC'; |
|
| 14 | - $mini->admin_title = 'User project list'; |
|
| 15 | - $mini->admin_description = 'A list of all BOINC projects in which a user is participating'; |
|
| 16 | - $mini->requiredcontexts = array(); |
|
| 17 | - $mini->contexts = array(); |
|
| 18 | - $mini->relationships = array(); |
|
| 19 | - $display = new panels_display; |
|
| 20 | - $display->layout = 'onecol'; |
|
| 21 | - $display->layout_settings = array(); |
|
| 22 | - $display->panel_settings = array( |
|
| 9 | + $mini = new stdClass; |
|
| 10 | + $mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */ |
|
| 11 | + $mini->api_version = 1; |
|
| 12 | + $mini->name = 'user_project_list'; |
|
| 13 | + $mini->category = 'BOINC'; |
|
| 14 | + $mini->admin_title = 'User project list'; |
|
| 15 | + $mini->admin_description = 'A list of all BOINC projects in which a user is participating'; |
|
| 16 | + $mini->requiredcontexts = array(); |
|
| 17 | + $mini->contexts = array(); |
|
| 18 | + $mini->relationships = array(); |
|
| 19 | + $display = new panels_display; |
|
| 20 | + $display->layout = 'onecol'; |
|
| 21 | + $display->layout_settings = array(); |
|
| 22 | + $display->panel_settings = array( |
|
| 23 | 23 | 'style_settings' => array( |
| 24 | - 'default' => NULL, |
|
| 25 | - 'middle' => NULL, |
|
| 24 | + 'default' => NULL, |
|
| 25 | + 'middle' => NULL, |
|
| 26 | 26 | ), |
| 27 | - ); |
|
| 28 | - $display->cache = array(); |
|
| 29 | - $display->title = ''; |
|
| 30 | - $display->storage_type = 'panels_mini'; |
|
| 31 | - $display->storage_id = 'user_project_list'; |
|
| 32 | - $display->content = array(); |
|
| 33 | - $display->panels = array(); |
|
| 27 | + ); |
|
| 28 | + $display->cache = array(); |
|
| 29 | + $display->title = ''; |
|
| 30 | + $display->storage_type = 'panels_mini'; |
|
| 31 | + $display->storage_id = 'user_project_list'; |
|
| 32 | + $display->content = array(); |
|
| 33 | + $display->panels = array(); |
|
| 34 | 34 | $pane = new stdClass; |
| 35 | 35 | $pane->pid = 'new-1'; |
| 36 | 36 | $pane->panel = 'middle'; |
@@ -39,25 +39,25 @@ discard block |
||
| 39 | 39 | $pane->shown = TRUE; |
| 40 | 40 | $pane->access = array(); |
| 41 | 41 | $pane->configuration = array( |
| 42 | - 'admin_title' => 'Dashboard project table', |
|
| 43 | - 'title' => bts('Projects', array(), NULL, 'boinc:account-dashboard'), |
|
| 44 | - 'body' => '<?php echo boincuser_get_projects_table(); ?>', |
|
| 45 | - 'format' => '3', |
|
| 46 | - 'substitute' => TRUE, |
|
| 42 | + 'admin_title' => 'Dashboard project table', |
|
| 43 | + 'title' => bts('Projects', array(), NULL, 'boinc:account-dashboard'), |
|
| 44 | + 'body' => '<?php echo boincuser_get_projects_table(); ?>', |
|
| 45 | + 'format' => '3', |
|
| 46 | + 'substitute' => TRUE, |
|
| 47 | 47 | ); |
| 48 | 48 | $pane->cache = array(); |
| 49 | 49 | $pane->style = array( |
| 50 | - 'settings' => NULL, |
|
| 50 | + 'settings' => NULL, |
|
| 51 | 51 | ); |
| 52 | 52 | $pane->css = array(); |
| 53 | 53 | $pane->extras = array(); |
| 54 | 54 | $pane->position = 0; |
| 55 | 55 | $display->content['new-1'] = $pane; |
| 56 | 56 | $display->panels['middle'][0] = 'new-1'; |
| 57 | - $display->hide_title = PANELS_TITLE_FIXED; |
|
| 58 | - $display->title_pane = 'new-1'; |
|
| 59 | - $mini->display = $display; |
|
| 60 | - $export['user_project_list'] = $mini; |
|
| 57 | + $display->hide_title = PANELS_TITLE_FIXED; |
|
| 58 | + $display->title_pane = 'new-1'; |
|
| 59 | + $mini->display = $display; |
|
| 60 | + $export['user_project_list'] = $mini; |
|
| 61 | 61 | |
| 62 | - return $export; |
|
| 62 | + return $export; |
|
| 63 | 63 | } |