Commit 8c538bd6 authored by Dries's avatar Dries

- Patch #1261926 by droplet: remove duplicated CSS.

parent d577495f
......@@ -1475,12 +1475,6 @@ function system_site_information_settings() {
'#type' => 'fieldset',
'#title' => t('Front page'),
);
$form['front_page']['default_nodes_main'] = array(
'#type' => 'select', '#title' => t('Number of posts on front page'),
'#default_value' => variable_get('default_nodes_main', 10),
'#options' => drupal_map_assoc(array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30)),
'#description' => t('The maximum number of posts displayed on overview pages such as the front page.')
);
$form['front_page']['site_frontpage'] = array(
'#type' => 'textfield',
'#title' => t('Default front page'),
......@@ -1489,6 +1483,13 @@ function system_site_information_settings() {
'#description' => t('Optionally, specify a relative URL to display as the front page. Leave blank to display the default content feed.'),
'#field_prefix' => url(NULL, array('absolute' => TRUE)) . (variable_get('clean_url', 0) ? '' : '?q='),
);
$form['front_page']['default_nodes_main'] = array(
'#type' => 'select', '#title' => t('Number of posts on front page'),
'#default_value' => variable_get('default_nodes_main', 10),
'#options' => drupal_map_assoc(array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30)),
'#description' => t('The maximum number of posts displayed on overview pages such as the front page.'),
'#access' => (variable_get('site_frontpage')=='node'),
);
$form['error_page'] = array(
'#type' => 'fieldset',
'#title' => t('Error pages'),
......@@ -3130,4 +3131,4 @@ function system_action_delete_orphans_post($orphaned) {
function system_actions_remove_orphans() {
actions_synchronize(TRUE);
drupal_goto('admin/config/system/actions/manage');
}
}
\ No newline at end of file
......@@ -459,10 +459,6 @@ h1#site-name {
#main-menu {
clear: both;
}
#main-menu-links a {
color: #d9d9d9;
padding: 0.6em 1em 0.4em;
}
#main-menu-links {
font-size: 0.929em;
margin: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment