297 lines
10 KiB
PHP
297 lines
10 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* admin.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function admin_strongarm() {
|
|
$export = array();
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'adminimal_admin_menu_toolbar-disabled';
|
|
$strongarm->value = TRUE;
|
|
$export['adminimal_admin_menu_toolbar-disabled'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_devel_modules_skip';
|
|
$strongarm->value = array(
|
|
'devel' => 0,
|
|
'devel_node_access' => 0,
|
|
'views_ui' => 0,
|
|
);
|
|
$export['admin_menu_devel_modules_skip'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_display';
|
|
$strongarm->value = 'plid';
|
|
$export['admin_menu_display'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_margin_top';
|
|
$strongarm->value = 1;
|
|
$export['admin_menu_margin_top'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_position_fixed';
|
|
$strongarm->value = 0;
|
|
$export['admin_menu_position_fixed'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_show_all';
|
|
$strongarm->value = 0;
|
|
$export['admin_menu_show_all'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_source_settings';
|
|
$strongarm->value = array(
|
|
1 => array(
|
|
'source' => '',
|
|
),
|
|
2 => array(
|
|
'source' => '',
|
|
),
|
|
3 => array(
|
|
'source' => 'navigation',
|
|
),
|
|
4 => array(
|
|
'source' => '',
|
|
),
|
|
);
|
|
$export['admin_menu_source_settings'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_tweak_modules';
|
|
$strongarm->value = 0;
|
|
$export['admin_menu_tweak_modules'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_tweak_permissions';
|
|
$strongarm->value = 0;
|
|
$export['admin_menu_tweak_permissions'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_menu_tweak_tabs';
|
|
$strongarm->value = 0;
|
|
$export['admin_menu_tweak_tabs'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_theme';
|
|
$strongarm->value = 'adminimal';
|
|
$export['admin_theme'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_theme_admin_theme_batch';
|
|
$strongarm->value = 1;
|
|
$export['admin_theme_admin_theme_batch'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_theme_admin_theme_devel';
|
|
$strongarm->value = 1;
|
|
$export['admin_theme_admin_theme_devel'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_theme_path';
|
|
$strongarm->value = '';
|
|
$export['admin_theme_path'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_theme_path_disallow';
|
|
$strongarm->value = '';
|
|
$export['admin_theme_path_disallow'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'admin_toolbar';
|
|
$strongarm->value = array(
|
|
'layout' => 'vertical',
|
|
'position' => 'nw',
|
|
'behavior' => 'df',
|
|
'blocks' => array(
|
|
'admin-devel' => -1,
|
|
'locale-language' => -1,
|
|
'user-online' => -1,
|
|
),
|
|
);
|
|
$export['admin_toolbar'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'node_admin_theme';
|
|
$strongarm->value = 1;
|
|
$export['node_admin_theme'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'theme_adaptivetheme_admin_settings';
|
|
$strongarm->value = array(
|
|
'toggle_name' => 1,
|
|
'toggle_favicon' => 1,
|
|
'toggle_main_menu' => 1,
|
|
'toggle_secondary_menu' => 1,
|
|
'default_favicon' => 1,
|
|
'favicon_path' => '',
|
|
'favicon_upload' => '',
|
|
'layout_width' => '1260px',
|
|
'layout_sidebar_first_width' => '240',
|
|
'layout_sidebar_last_width' => '240',
|
|
'layout_method' => '2',
|
|
'layout_enable_settings' => 'on',
|
|
'breadcrumb_display' => 'yes',
|
|
'breadcrumb_separator' => ' » ',
|
|
'breadcrumb_home' => 1,
|
|
'search_snippet' => 1,
|
|
'search_info_type' => 1,
|
|
'search_info_user' => 1,
|
|
'search_info_date' => 1,
|
|
'search_info_comment' => 1,
|
|
'search_info_upload' => 1,
|
|
'search_info_separator' => ' - ',
|
|
'horizontal_login_block' => 1,
|
|
'extra_page_classes' => 0,
|
|
'extra_article_classes' => 0,
|
|
'extra_comment_classes' => 0,
|
|
'extra_block_classes' => 0,
|
|
'extra_menu_classes' => 0,
|
|
'extra_item_list_classes' => 0,
|
|
'menu_item_span_elements' => 0,
|
|
'at__active_tab' => 'edit-page-layout',
|
|
);
|
|
$export['theme_adaptivetheme_admin_settings'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'theme_adaptivetheme_gui_admin_settings';
|
|
$strongarm->value = array(
|
|
'toggle_name' => 1,
|
|
'toggle_favicon' => 1,
|
|
'toggle_main_menu' => 1,
|
|
'toggle_secondary_menu' => 1,
|
|
'default_favicon' => 1,
|
|
'favicon_path' => '',
|
|
'favicon_upload' => '',
|
|
'layout_width' => '1260px',
|
|
'layout_sidebar_first_width' => '240',
|
|
'layout_sidebar_last_width' => '240',
|
|
'layout_method' => '1',
|
|
'layout_enable_settings' => 'on',
|
|
'breadcrumb_display' => 'yes',
|
|
'breadcrumb_separator' => ' » ',
|
|
'breadcrumb_home' => 1,
|
|
'search_snippet' => 1,
|
|
'search_info_type' => 1,
|
|
'search_info_user' => 1,
|
|
'search_info_date' => 1,
|
|
'search_info_comment' => 1,
|
|
'search_info_upload' => 1,
|
|
'search_info_separator' => ' - ',
|
|
'horizontal_login_block' => 0,
|
|
'extra_page_classes' => 0,
|
|
'extra_article_classes' => 0,
|
|
'extra_comment_classes' => 0,
|
|
'extra_block_classes' => 0,
|
|
'extra_menu_classes' => 0,
|
|
'extra_item_list_classes' => 0,
|
|
'menu_item_span_elements' => 0,
|
|
'at__active_tab' => 'edit-page-layout',
|
|
);
|
|
$export['theme_adaptivetheme_gui_admin_settings'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'user_admin_role';
|
|
$strongarm->value = '4';
|
|
$export['user_admin_role'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'user_mail_register_admin_created_body';
|
|
$strongarm->value = '[user:name],
|
|
|
|
A site administrator at [site:name] has created an account for you. You may now log in by clicking this link or copying and pasting it to your browser:
|
|
|
|
[user:one-time-login-url]
|
|
|
|
This link can only be used once to log in and will lead you to a page where you can set your password.
|
|
|
|
After setting your password, you will be able to log in at [site:login-url] in the future using:
|
|
|
|
username: [user:name]
|
|
password: Your password
|
|
|
|
-- [site:name] team';
|
|
$export['user_mail_register_admin_created_body'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'user_mail_register_admin_created_subject';
|
|
$strongarm->value = 'An administrator created an account for you at [site:name]';
|
|
$export['user_mail_register_admin_created_subject'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'workflow_access_priority';
|
|
$strongarm->value = '0';
|
|
$export['workflow_access_priority'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'workflow_chapitre';
|
|
$strongarm->value = array(
|
|
0 => 'node',
|
|
);
|
|
$export['workflow_chapitre'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'workflow_page';
|
|
$strongarm->value = array(
|
|
0 => 'node',
|
|
);
|
|
$export['workflow_page'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|