Steven Wittens
da6983ca2a
- #40515 : Make utf-8 update PHP5 compatible
2006-01-21 11:55:53 +00:00
Dries Buytaert
4be34db2c1
- Patch #45228 by m3avrck: fixed aggregator CSS.
2006-01-21 08:29:28 +00:00
Dries Buytaert
4da4f4c1af
- Patch #44379 by Moshe: code improvements: always grant the 'authenticated user' role to authenticated users. Fixed glitch with udpate path.
2006-01-21 08:28:55 +00:00
Steven Wittens
7914ad0f3f
- #40515 : Ensure UTF-8 character set on the database side (and include upgrade path for incorrectly set up databases)
2006-01-21 01:42:52 +00:00
Dries Buytaert
0ff0c4beaa
- Patch #42137 by Richard: deleting non existent user blocks the whole drupal site.
2006-01-20 09:37:00 +00:00
Dries Buytaert
4da1540a9f
- Patch #45380 by Neil: usability improvement: disable anonymous commenting options when anonymous people can't comment.
2006-01-20 09:33:03 +00:00
Dries Buytaert
55c88ae09c
- Added .
2006-01-20 09:30:12 +00:00
Dries Buytaert
e38f0403a3
- Patch #45451 by wtanaka: added explanation for the red star.
2006-01-20 09:19:21 +00:00
Dries Buytaert
a177c29622
- Patch #40849 by wtanaka and Richard: killed some menu.inc warnings/notices.
2006-01-20 09:12:26 +00:00
Dries Buytaert
9c4d4fe7b2
- Patch #45228 and patch #45025 by m3avrck and Uwe: aggregator module HTML/CSS cleanups.
2006-01-20 09:09:18 +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
4a7abb95b6
- Patch #45312 by Robin and Zen: made theme_user_list() more like theme_item_list(), made it robust for empty lists.
2006-01-20 08:58:09 +00:00
Dries Buytaert
56d0d76f0f
- Patch #27884 by gordon: js addLoadEvent not working.
2006-01-20 08:54:07 +00:00
Dries Buytaert
10d7f7731b
- Patch #45281 by chx: made categories with forum topics work again.
2006-01-19 17:55:54 +00:00
Dries Buytaert
616544667f
- Patch #45281 by flevour/chx: fixed problem with categories not being set properly validated.
2006-01-19 17:53:53 +00:00
Dries Buytaert
630e820ed0
- Patch #45446 by jakeg: don't generate empty >>
2006-01-19 10:29:12 +00:00
Dries Buytaert
4c1522e962
- Patch #45336 by Ber: bugfix: removed obsolete check_plain() check causing & problems.
2006-01-19 09:26:15 +00:00
Dries Buytaert
7b87ff1a6f
- Patch #45365 by chx: critical bugfix: Fix and simplify selection options.
2006-01-19 09:22:16 +00:00
Dries Buytaert
f828c0ade2
- Patch #39430 by Jaza and Richard: code improvements: improved separation between UI and logic.
2006-01-19 08:58:00 +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
Steven Wittens
ecd26ac8ae
- #42277 : Make node search indexing more robust against bad nodes and timeouts.
2006-01-18 21:31:40 +00:00
Dries Buytaert
9528c30037
- Patch #45281 by flevour/chx: fixed problem with categories not being set properly on editing.
2006-01-18 19:46:57 +00:00
Dries Buytaert
5f829187e6
- Patch #45209 by markus et al: added some missing t() functions.
2006-01-18 19:40:18 +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
ffc7c5c3c6
- Patch #44011 by Souvent22 et al: critical bugfix: make private downloads work again.
2006-01-18 19:18:30 +00:00
Dries Buytaert
2220c03633
- Patch #45206 by markus: attempt at making the node filters somewhat translatable.
2006-01-18 19:09:46 +00:00
Dries Buytaert
a35ca55bbf
- Patch #45224 by jvandyk: improved PHPdoc comments. Corrected spelling, improved grammar.
2006-01-18 19:04:12 +00:00
Dries Buytaert
6048d282cc
- Modified patch #45214 by markus: don't generate empty breadcrumb div.
2006-01-18 19:02:34 +00:00
Dries Buytaert
47dd0142e6
- Patch #43325 by chx/drumm/merlinofchaos: critical bugfix: made editing comments work.
2006-01-18 15:09:39 +00:00
Dries Buytaert
46913a7efd
- Patch #45259 by chx/drumm: cast to object required.
2006-01-18 14:30:42 +00:00
Dries Buytaert
186ebd18da
- Patch #42072 by m3avrck: more improvements to the node revesion overview screen.
2006-01-17 21:19:43 +00:00
Dries Buytaert
baaf319c59
- Patch #42072 by m3avrck: improved the revision overview screen.
2006-01-17 19:26:49 +00:00
Dries Buytaert
e828470b15
- Patch #42088 by Cvbge: fixed problem with input formats gettin lost when upgrading.
2006-01-17 18:46:16 +00:00
Dries Buytaert
df631e3c7f
- Patch #45041 by markus: rand() -> mt_rand() + removed deprecated comments.
2006-01-17 18:32:33 +00:00
Dries Buytaert
cb45cf58fb
- Patch #40755 by wtanaka: make the comment block themable.
2006-01-17 18:02:23 +00:00
Dries Buytaert
51d2ac2b9e
- Critical feature #40670 : made the form array accessible.
2006-01-17 17:42:29 +00:00
Dries Buytaert
e145866243
- Patch #44136 by riccardoR: can't enable more than one language.
2006-01-17 17:35:47 +00:00
Dries Buytaert
e41e8acda3
- Patch #45107 by chx: minor code speedups.
2006-01-17 15:39:07 +00:00
Dries Buytaert
a50eb34bda
- Patch #44381 by gerhard: improved consistency of API. Always pass an array.
2006-01-17 09:23:38 +00:00
Dries Buytaert
8b5175a983
- Patch #44754 by Zen: fixed "Who's new" block inaccuracy.
2006-01-17 09:04:20 +00:00
Steven Wittens
67fc0913ac
- #44992 : ./ prefix for conf file include (faster)
2006-01-17 06:17:29 +00:00
Steven Wittens
c5eeccb43d
Code style
2006-01-17 05:42:21 +00:00
Dries Buytaert
1d9b81d3b8
- Patch #44976 by m3avrck: cleaned up some CSS.
2006-01-16 20:57:53 +00:00
Dries Buytaert
da4f856ad8
- Patch #44964 by Eaton: remove comment moderation tables.
2006-01-16 18:33:30 +00:00
Steven Wittens
efd634ac15
- Fix Safari alert when no autocomplete matches are returned.
2006-01-16 16:31:49 +00:00
Dries Buytaert
b7a993639b
- Patch #9477 by Neil and Richard: fixed inconsistent behavior of user-specified paths.
2006-01-16 08:45:30 +00:00
Dries Buytaert
54b8ad6550
- Patch #22035 by Matt: fixed problem with alias table getting corrupted.
2006-01-16 08:34:45 +00:00
Dries Buytaert
0ddfd29cfd
- Patch #44286 by Neil, Zen, et al: a couple fixes to the upgrade path.
2006-01-15 17:13:30 +00:00
Dries Buytaert
ae84e469b0
- Patch #39329 by markus: order sources in aggregator.
2006-01-15 17:03:34 +00:00
Dries Buytaert
f649b42d9c
- Patch #44767 by jvandyk: small (code) improvements
2006-01-15 16:57:56 +00:00