- 01 Nov, 2005 1 commit
-
-
Dries authored
-
- 31 Oct, 2005 2 commits
-
-
Dries authored
-
- 22 Oct, 2005 1 commit
-
-
Dries authored
-
- 11 Oct, 2005 1 commit
-
-
Dries authored
-
- 08 Oct, 2005 1 commit
-
-
Dries authored
* Default form value * Leftover debug function in form.inc * PHP5 issue with comment date (I got this patch from another issue) * Validation error fix (was calling legacy form validate) * Lots o' warnings on comment preview * Filter tips plus argument (gremlins. I swear this was not there.) * Message to clear what's going on with system settings * Non-freetagging taxonomies fixed
-
- 07 Oct, 2005 1 commit
-
-
Dries authored
TODO: + The contact.module was broken; a new patch for contact.module is needed. + Documentation is needed. + The most important modules need to be updated ASAP.
-
- 27 Sep, 2005 1 commit
-
-
Dries authored
(Modified the form a bit.)
-
- 17 Sep, 2005 1 commit
-
-
Dries authored
chx: it can be "form API"-ied now. :)
-
- 25 Aug, 2005 1 commit
-
-
Dries authored
-
- 14 Aug, 2005 2 commits
- 29 Jul, 2005 1 commit
-
-
Steven Wittens authored
-
- 29 Jun, 2005 1 commit
-
-
Dries authored
-
- 27 Jun, 2005 1 commit
-
-
Dries authored
TODO: document the defaults in the PHPdoc comments.
-
- 21 Jun, 2005 1 commit
-
-
Dries authored
NOTE: this patch works well, but the improved node edit form still has some rough edges. It is important that we continue to improve usability. Give it a try.
-
- 01 Jun, 2005 1 commit
-
-
Steven Wittens authored
-
- 07 May, 2005 2 commits
-
-
Steven Wittens authored
-
Steven Wittens authored
-
- 05 May, 2005 1 commit
-
-
Dries authored
TODO: we should write down a couple guidelines for these document them in the PHPDoc code of drupal_set_message()! .
-
- 24 Apr, 2005 1 commit
-
-
Dries authored
- Patch 20910 by chx: centralize print theme page.
-
- 20 Apr, 2005 2 commits
-
-
Steven Wittens authored
This makes it easier to use JavaScript (e.g. Google Adsense) inside blocks.
-
Steven Wittens authored
This makes it easier to use JavaScript (e.g. Google Adsense) inside blocks.
-
- 01 Apr, 2005 1 commit
-
- 31 Mar, 2005 1 commit
-
-
Steven Wittens authored
-
- 18 Mar, 2005 1 commit
-
-
Steven Wittens authored
-
- 07 Mar, 2005 1 commit
-
-
Steven Wittens authored
-
- 03 Mar, 2005 1 commit
-
-
Steven Wittens authored
-
- 23 Jan, 2005 1 commit
-
- 19 Jan, 2005 2 commits
-
-
Dries authored
-
- 03 Jan, 2005 1 commit
-
-
Steven Wittens authored
-
- 15 Dec, 2004 1 commit
-
-
Dries authored
* Less logic in theme code. * Encourages use of the menu system. * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them. * Very slightly more efficient.
-
- 29 Nov, 2004 1 commit
-
-
Dries authored
- Patch #13581 by Steven: Db_query() allows a variable amount of parameters so you can pass the query arguments in. There is however an alternative syntax: instead of passing the query arguments as function arguments, you can also pass a single array with the query arguments in it. For example the following two statements are equivalent: db_query($query, $a, $b, $c); db_query($query, array($a, $b, $c)); This usage is particularly interesting when the query is constructed dynamically, and the amount of arguments to pass varies. In that case we use the second method to avoid using call_user_func_array(). This behaviour is not documented explicitly, but it is used in several places. However, db_query_range() and pager_query() do not support this syntax properly, which means there are several pieces of code which still revert to the ugly call_user_func_array() call. This patch updates db_query_range() and pager_query() so they support the array-passing method. I also added documentation about this method to each of the db functions. I also cleaned up the code for db_query (it was weird and hard to understand) and moved db_query() and db_queryd() from database.xxxxx.inc to database.inc: it was the same between both mysql and pgsql, as it doesn't do anything database specific. It just prefixes the tables and inserts the arguments. The actual db query is performed in _db_query(), which is still in database.xxxxx.inc. Finally, I updated several places with the new syntax, and the code is a lot cleaner. For example: - array_unshift($params, "SELECT u.* FROM {users} u WHERE $query u.status < 3"); - $params[] = 0; - $params[] = 1; - $result = call_user_func_array('db_query_range', $params); + $result = db_query_range("SELECT u.* FROM {users} u WHERE $query u.status < 3", $params, 0, 1); and - return call_user_func_array('db_query_range', array_merge(array($query), $args, array((int)$pager_from_array[$element], (int)$limit))); + return db_query_range($query, $args, (int)$pager_from_array[$element], (int)$limit); I've tested it on mysql. I didn't alter the actual db behaviour, so pgsql should be okay too. This patch is important because many people avoid the call_user_func_array() method and put data directly into the db query. This is very, very bad because the database prefix will be applied to it, and strip out braces. It's also generally bad form as you have to call check_query() yourself. With the new, documented syntax, there is no more excuse to put data directly in the query.
-
- 15 Nov, 2004 1 commit
-
- 30 Oct, 2004 1 commit
-
-
Steven Wittens authored
-
- 14 Oct, 2004 1 commit
-
-
Steven Wittens authored
-
- 13 Oct, 2004 1 commit
-
- 12 Oct, 2004 1 commit
-
-
Steven Wittens authored
-
- 09 Oct, 2004 1 commit
-
-
Dries authored
- Bugfix: the filter tips contained a non-existing ID which resulted in invalid XHTML code.
-