Dries Buytaert
c64db1da29
- Patch #80952 by earl, webchick, neclimdul et al: .info files
2006-08-31 20:22:37 +00:00
Dries Buytaert
5524604a95
- Patch #68418 by Moshe et al: clean up node submit hooks.
2006-08-29 18:43:26 +00:00
Neil Drumm
055844e74f
#4074 by riccardoR, save the book weights if they aren't editable.
2006-08-23 06:38:49 +00:00
Dries Buytaert
7de41539df
- Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model.
2006-08-18 18:58:47 +00:00
Steven Wittens
81938a3cdc
#76802 : Introduce placeholder magic into t()
...
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Neil Drumm
0c64b251c4
#39124 by dww. Don't default the log message to the last log message.
2006-08-17 09:08:16 +00:00
Neil Drumm
3cc2b1e3d7
#77183 by m3avrck and timcn, split up drupal.css by module.
2006-08-14 07:14:50 +00:00
Dries Buytaert
ce85b7c7f8
- Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing.
...
Once again, we're paving the path for CCK in core ... :)
2006-08-10 15:42:33 +00:00
Dries Buytaert
9700fa0c0b
- Patch #72343 by dww: removed stray status message.
2006-08-07 19:29:38 +00:00
Dries Buytaert
729fa6c11b
- Patch #77422 by timcn: corrected various paths in the documentation.
2006-08-07 15:04:16 +00:00
Neil Drumm
129c8eb18c
#62340 by chx, webchick, Jaza, Eaton, mathieu, and myself. Configurable node types.
2006-08-06 23:00:42 +00:00
Neil Drumm
cd430165d7
#73884 by RobRoy, various code cleanup.
2006-08-05 00:26:36 +00:00
Dries Buytaert
b138793b68
- Patch #72079 by Earl et al: give Drupal an overall administration page ... :-)
2006-07-31 11:25:55 +00:00
Neil Drumm
c11c1c2800
#73605 by RobRoy, make hook_link() implementations consistent with documentation.
2006-07-19 07:15:35 +00:00
Dries Buytaert
d3e8a43d4f
- Patch #72343 by Chris Johnson: removed checks for the moderate-flag from the SQL queries.
2006-07-10 08:05:15 +00:00
Dries Buytaert
e93f8be871
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
2006-07-05 11:45:51 +00:00
Neil Drumm
59aa2ae8e8
#71925 by Steven, remove # prefix from link array keys.
2006-07-04 08:59:05 +00:00
Dries Buytaert
b1869f6131
- Patch #71014 by fgm: fixed the parent navigation link.
2006-07-03 13:51:50 +00:00
Neil Drumm
c50d7bcbc8
#71613 by keve, fixing some PHP notices in the book module.
2006-07-02 20:36:57 +00:00
Dries Buytaert
b859406290
- Patch #69151 by flanker: make exported book pages themeable.
2006-06-25 14:27:12 +00:00
Dries Buytaert
32b4c92952
- Patch #67229 by chx: cleaned up book_load().
2006-06-05 09:00:22 +00:00
Dries Buytaert
cd85ca192b
- Patch #66991 by dww and killes: infinite recursion in book_location_down() when there are multiple revisions.
2006-06-05 08:57:29 +00:00
Dries Buytaert
c08eafe0ee
- Patch #46290 by Neil, Egon, et al: when deleting a book page under 'orphan pages' we are returned to the homepage.
2006-05-24 11:19:00 +00:00
Dries Buytaert
1b291a2917
- Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules
2006-05-18 14:58:57 +00:00
Dries Buytaert
21649210f3
- Patch #60224 by rkerr: one page book showing another book in navigation links.
2006-05-13 10:02:54 +00:00
Neil Drumm
9cff02e91b
#61802 by Zen, Double spaced sentences clean up
2006-05-07 00:08:36 +00:00
Neil Drumm
781880deaa
#61696 by Zen, book module: Missing t()
2006-05-04 09:11:43 +00:00
Dries Buytaert
d071f99172
- Removing trailing whitespace.
2006-04-17 20:48:26 +00:00
Gerhard Killesreiter
b61d9c3e7b
#58539 , removed duplicate menu item, patch by Markus Petrux
2006-04-13 15:10:23 +00:00
Gerhard Killesreiter
002fee7aae
#56105 , remove title validation, already enforced by #required, patch by Moshe
2006-03-27 18:02:48 +00:00
Gerhard Killesreiter
3052c49e09
#53826 , Book export: db_rewrite breaks sql query., patch by puregin
2006-03-26 19:35:05 +00:00
Gerhard Killesreiter
4a689a99b9
#55493 , Editing an existing book page kills Drupal, patch by chx
2006-03-23 21:20:59 +00:00
Gerhard Killesreiter
5cfdac2448
#54565 , cannot remove pages from book outline. Patch by Zen.
2006-03-18 13:09:56 +00:00
Steven Wittens
729c464d00
#50987 : book next link breaks with php 5.1
2006-03-14 15:43:49 +00:00
Steven Wittens
e74aa7eeb6
#53956 : Don't allow moving away top-level book pages if you cannot move them back.
2006-03-14 15:36:25 +00:00
Gerhard Killesreiter
0e3f8f97eb
#11206 , Editing a top level book page inadvertently changes parent, patch by chx.
2006-03-14 09:21:49 +00:00
Dries Buytaert
edce458e2f
- Patch #50821 by Zen/merlinofchaos: convert book.module to form API so the forms can be altered/themed.
2006-03-02 08:44:52 +00:00
Steven Wittens
514b12c427
- #47844 : Book module doesn't delete table entry for nodes added to outline.
2006-03-01 19:19:05 +00:00
Dries Buytaert
3603fe1bd8
- Patch #49912 : www.drupal.org -> drupal.org. (Today's critical bugfix #5.)
2006-02-21 18:46:54 +00:00
Dries Buytaert
7f299b7a9b
- Patch #49131 by puregin: refine book permissions.
2006-02-14 19:25:02 +00:00
Dries Buytaert
3b27048623
- Patch #47098 by JonBob: fixed book navigation divs when book has no child pages.
2006-02-09 07:27:11 +00:00
Dries Buytaert
1f206ca2fe
- Patch #47066 by Zen: removed dead code.
2006-02-01 14:40:20 +00:00
Dries Buytaert
15ff8c8e32
- Patch #46827 by wulff: fixed incorrect links.
2006-01-29 07:50:45 +00:00
Dries Buytaert
30d59fd52c
- Patch #46400 by m3avrck: clean up book navigation markup + UI improvements. (Hint: the forum module has previous and next links too.)
2006-01-27 18:57:13 +00:00
Dries Buytaert
3c6066cffa
- Patch #45706 by markus: keep up with CSS improvements.
2006-01-24 08:22:12 +00:00
Dries Buytaert
4267ab5ea9
- Patch #45706 by markus: keeping up with CSS improvements.
2006-01-22 07:32:55 +00:00
Dries Buytaert
8c02d4ec93
- Patch #45530 by Morbus: filter_form shouldn't default to #weight 0
...
When a form element doesn't specify a #weight, it is assumed internally as #weight 0. However, to ensure that our form elements display visually *as they were defined in the array* we, in form_builder, count the number of elements, divide by 1000, and set that as the weight:
# Assign a decimal placeholder weight to preserve original array order
if (!isset($form[$key]['#weight'])) {
$form[$key]['#weight'] = $count/1000;
}
The above code will set the #weights of elements that have not defined a weight to something like 0 (first element in array definition), 0.001, 0.002, and so on. However, anytime a form element *explicitly* defines a #weight of 0, that #weight is kept at exactly 0, which would cause that form element to appear BEFORE the elements that didn't have a #weight defined (and thus received a #weight such as 0.002).
Consider the following pseudo example:
$form['game_title'] = array(
'#type' => 'textfield',
...
);
$form['game_description'] = array(
'#type' => 'textarea',
...
);
$form['game_format'] = filter_form(variable_get('game_format', NULL));
return $form;
Here, we're not definiing weights on our two textfields. We then add an filter_form. The second parameter of the filter_form is $weight, which defaults to 0. After this $form hits form_builder, we have weights 0 (game_title), 0.001 (game_description), and 0 (filter_form) respectively. This is then sorted by weight, which causes filter_form (the third element in the array) to appear BEFORE game_description (0 is lighter than 0.001).
The short lesson is: explicitly defining #weight 0 for a form element is probably a bad idea. This patch changes the default #weight of filter_form to NULL, instead of 0, and also removes any other explicit setting of #weight to 0 in core.
2006-01-20 09:04:34 +00:00
Dries Buytaert
e84a98a22b
- Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API.
2006-01-19 08:54:41 +00:00
Dries Buytaert
52507806eb
- Patch #45301 by Morbus: corrected the weight of form item titles of nodes.
2006-01-18 19:29:17 +00:00
Dries Buytaert
4e35060451
- Patch 42591 by Simon/me: fixed problem with deleting forum and book revisions.
2005-12-31 13:04:40 +00:00