diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-05 05:28:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-05 05:28:28 +0000 |
commit | 5e1904569024cf5a3de810b645a71e8b11de5727 (patch) | |
tree | e769344570cff64a3b273267cb1fa42a676830a2 /modules/system/system.admin.inc | |
parent | 0de72ee48438140ad16d15e5b4819bdc0d3ab995 (diff) | |
download | brdo-5e1904569024cf5a3de810b645a71e8b11de5727.tar.gz brdo-5e1904569024cf5a3de810b645a71e8b11de5727.tar.bz2 |
- Patch #361277 by michaelfavia, Brandonian, catch, et al: remove the 'post settings' admin screen and relocate options.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 6fd477674..1ff8bdf9e 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1213,6 +1213,12 @@ function system_site_information_settings() { '#field_prefix' => url(NULL, array('absolute' => TRUE)) . (variable_get('clean_url', 0) ? '' : '?q='), '#required' => TRUE, ); + $form['default_nodes_main'] = array( + '#type' => 'select', '#title' => t('Number of posts on front page'), + '#default_value' => 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 per page to display on overview pages like the front page above.') + ); $form['site_403'] = array( '#type' => 'textfield', '#title' => t('Default 403 (access denied) page'), |