Browse Source

modifying package: drupal-6.2 20080516 again

Ralf S. Engelschall 17 years ago
parent
commit
f5ea6a89f1
1 changed files with 35 additions and 1 deletions
  1. 35 1
      drupal/drupal.patch

+ 35 - 1
drupal/drupal.patch

@@ -330,7 +330,7 @@ Index: sites/all/modules/img_assist/img_assist_popup.js
 --- /dev/null	2008-05-02 21:08:21 +0200
 +++ sites/all/modules/img_assist/img_assist_popup.js	2008-05-02 21:05:56 +0200
 @@ -0,0 +1,20 @@
-+/* $Id: drupal.patch,v 1.8 2008/05/09 12:12:24 rse Exp $ */
++/* $Id: drupal.patch,v 1.9 2008/05/16 18:12:17 rse Exp $ */
 +
 +function launch_popup(nid, mw, mh) {
 +	var ox = mw;
@@ -425,3 +425,37 @@ Index: install.php
      '#weight' => 15,
    );
 
+-----------------------------------------------------------------------------
+
+No need to always expand the "Menu settings" on node edit pages.
+
+Index: modules/menu/menu.module
+--- modules/menu/menu.module.orig	2008-04-09 23:11:48 +0200
++++ modules/menu/menu.module	2008-05-16 20:03:48 +0200
+@@ -366,7 +366,7 @@
+       '#title' => t('Menu settings'),
+       '#access' => user_access('administer menu'),
+       '#collapsible' => TRUE,
+-      '#collapsed' => FALSE,
++      '#collapsed' => TRUE,
+       '#tree' => TRUE,
+       '#weight' => -2,
+       '#attributes' => array('class' => 'menu-item-form'),
+
+-----------------------------------------------------------------------------
+
+Use a larger text-area on node edit pages.
+
+Index: modules/node/node.pages.inc
+--- modules/node/node.pages.inc.orig	2008-02-27 20:44:44 +0100
++++ modules/node/node.pages.inc	2008-05-16 20:06:45 +0200
+@@ -287,7 +287,8 @@
+     '#type' => 'textarea',
+     '#title' => check_plain($label),
+     '#default_value' => $include ? $node->body : ($node->teaser . $node->body),
+-    '#rows' => 20,
++    '#rows' => 30,
++    '#cols' => 80,
+     '#required' => ($word_count > 0),
+   );
+