Commit Graph

188 Commits (1f70473a1eb05aa9c6188e3605325a5b7f24a933)

Author SHA1 Message Date
Dries Buytaert 3ad7449bc7 - Various improvements to the menu system.
- Changed the import and taxonomy module to use better URLs.  Patches by
  Al.

- Fixed locale module weirdness.  Patch by Kjartan.
2003-04-01 06:05:15 +00:00
Kjartan Mannes e73a163dbd - Rollback: $cid in cache_set() is not required to be numerical. 2003-03-29 18:08:56 +00:00
Dries Buytaert 4742ba3549 - Fixed some SQL query directives. 2003-03-29 16:30:40 +00:00
Dries Buytaert d1be768b28 - Moved the logic of email validation from user_validate_mail to a new function
in common.inc.  Modified patch from Gerhard.
2003-03-28 10:55:27 +00:00
Dries Buytaert 64b6cb5897 - Removed one line of dead code. 2003-03-19 22:01:38 +00:00
Dries Buytaert 8952e9c53e - Rollback: do not initialize the theme before initializing the user. 2003-03-17 07:01:12 +00:00
Dries Buytaert 2c0f3c9457 - Cache improvement: only flush cache when told to. 2003-03-16 21:49:33 +00:00
Kjartan Mannes 46cbc276a6 - Adding O modifier to format_date. 2003-03-09 16:55:07 +00:00
Dries Buytaert a3b25924bd - Removed debug statement 2003-03-08 21:15:10 +00:00
Dries Buytaert c1734532f7 - Made rewrite_old_url() distinguish between absolute and relative URLs.
In case of a absolute URL it will try not to rewrite outgoing/external
  URLs.
2003-03-08 21:10:22 +00:00
Kjartan Mannes a0deb476fa - Changed _nodeapi("conf") to _nodeapi("settings").
- Changed node settings page to use table().
- Minor code beautification here and there.
2003-03-08 14:35:42 +00:00
Kjartan Mannes 831ee21303 - Renamed "form.admin" to "form admin".
- Added node_admin_settings() to let users set node defaults.
    * Added _nodeapi("conf")
- Modified form_checkbox() to unset options. (Modified the patch from Ax.)
- Removed the _save() hook.
- Fixed a logical flaw in field_get() and field_set() which would break
  moderation.
- Moved some admin menus around and cleaned up some typos.
2003-03-07 22:11:44 +00:00
Dries Buytaert 914bd030e6 - Fixed typo: "data_format" -> "date_format_short". Patch by walkah. 2003-03-07 17:32:01 +00:00
Dries Buytaert d659fedb38 - Removed the path_uri() function in favor of the $base_url variable and
fixes a handful of bugs introduced by the clean URL patch.
2003-03-07 06:37:30 +00:00
Dries Buytaert 7775d5a327 - Fixed "SELECT lid, FROM locales WHERE string = 'Reset to defaults'" problem:
invoke module_init() *after* the locale module has been initialized.  The
  system module was translating string from within its init hook which is now
  possible/allowed.
2003-03-04 17:44:37 +00:00
Dries Buytaert b10c5f4233 - Small improvement to locale_init(). 2003-03-04 15:10:37 +00:00
Dries Buytaert f4cdeb1f5a - Calls set_error_handler("error_handler") before locale_init() /
theme_init() so that errors happening there will be handled and don't
result in warnings printed.  Patch by Ax.
2003-03-04 06:19:01 +00:00
Dries Buytaert 41ac56a4be - Bugfix: transparent session ID handling wasn't working properly with
drupal_goto().  Patch by Al.
2003-02-27 22:52:08 +00:00
Dries Buytaert 8ae2520965 - Removed stripslashes(). See http://lists.drupal.org/pipermail/drupal-devel/2003-February/022233.html. Patch by Ax. 2003-02-26 22:02:46 +00:00
Dries Buytaert a7a323e702 - Made sure clean URLs are disabled by default. Reported by Moshe. 2003-02-15 17:15:48 +00:00
Dries Buytaert d038729797 - Clean URLs. 2003-02-14 19:52:45 +00:00
Kjartan Mannes 32989e14db - Fixed blog.module to accept blog/name URLs as well as blog/id
- Changed the RewriteRule in .htaccess.
- Fixed form_select() matching incorrectly.
- Added missing $Id$ to menu.inc
2003-02-12 21:37:56 +00:00
Dries Buytaert 074b9bf421 - Added temporary check around inclusion of "xmlrpc.inc". 2003-02-12 16:21:48 +00:00
Dries Buytaert e90f3b883b - See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html. 2003-02-11 20:01:17 +00:00
Dries Buytaert e4ff410614 - Patch by Moshe: sometimes modules display content composed by people who
are not members of the site. Two examples are listhandler and import modules.
There is no easy way for these modules to display the true author of the
content. Usually, the content appears as if authored by Anonymous User. This
3 line patch enables modules to override the author name in their _view() hook.
2003-02-02 10:13:13 +00:00
Dries Buytaert bb9f9868eb - Committed Alastair Tse's getallheaders() patch. 2003-01-31 08:32:41 +00:00
Dries Buytaert 4088adad1a - Fixed bug introduced by Moshe's common.inc patch; posting content would
cause "Array" to be displayed.
2003-01-27 19:37:07 +00:00
Dries Buytaert 4028362fda - Applied Moshe's _exit patch (slightly modified).
- Fixed bug in system.module.
2003-01-26 13:22:02 +00:00
Dries Buytaert 9a23223e25 - Applied Ori's format_plural() patch; see mailing list for details.
NOTE: some modules in the contributions repository might need to be updated.
2003-01-21 22:44:25 +00:00
Dries Buytaert 5b1e1da22e - Tidied up a SQL query.
- Changed a "&" to a "&".
2003-01-20 19:20:22 +00:00
Dries Buytaert 6f15124748 - Enabled XML-RPC. 2003-01-15 05:57:55 +00:00
Dries Buytaert e25bc4fda3 - Fixed glitch in table_cell(). Spotted by Michael. 2003-01-15 05:56:50 +00:00
Dries Buytaert 7d677b5c5a - Added some more URL rewrite rules based on contributions from Gerhard. 2003-01-12 11:53:31 +00:00
Dries Buytaert d1521b48e5 - Rewrite old-style URLs. Based on patch by Gerhard. 2003-01-11 20:07:42 +00:00
Dries Buytaert 0d384c8ead - Fixed "clean URL" glitch in queue module. Patch by Ax.
- Small improvement to url().  Patch by Ax.
2003-01-11 10:46:11 +00:00
Dries Buytaert 640128b08d - Added some isset()s to kill some "Undefined variable" warnings. Patch by
Julio.
2003-01-09 20:06:00 +00:00
Dries Buytaert 6744e34066 - Fixed the pager. It might not be 100% correct, but it will work in 95%
of the cases.
2003-01-09 19:53:51 +00:00
Dries Buytaert 28aa217f90 - Made sure the $links array is properly initialized before doing an
array_merge.  According to Ori, this fixes a problem when using PHP
  as an ISAPI module with the Sambar server.
2003-01-08 05:47:57 +00:00
Dries Buytaert affacdf508 - Added a few line breaks in the HTML emitted by the table() function
for better readability of the HTML code.  Patch by Moshe.
2003-01-07 19:21:28 +00:00
Dries Buytaert 2647a943f0 - Forgot to update the taxonomy links. Reported by Adam. 2003-01-06 21:24:21 +00:00
Dries Buytaert a380356d6e - Fixed typo in watchdog(). Reported by Marco. 2003-01-06 20:58:31 +00:00
Dries Buytaert 89b2069e4d - Clean URL patch. 2003-01-06 19:51:01 +00:00
Steven Wittens 97858f9b2e Typo ('tat' > 'that') 2003-01-05 01:19:37 +00:00
Dries Buytaert 8a63646576 - Added an extra parameter to watchdog() which lets you specifiy an "action"
or "operation" link.

- Made the main page of the administration section show an overview of all
  watchdog entries with such action link.

- Fixed typo in PostgreSQL database scheme.
2003-01-04 11:03:15 +00:00
Dries Buytaert de95001c92 - Tidied up the use of check_output(). Might make rendering pages a bit
snappier (performance improvement).
2002-12-31 12:34:07 +00:00
Dries Buytaert 92758279fa - Bugfix: wrapped an RSS item's description in a check_output() to ensure
proper markup.
2002-12-31 10:58:47 +00:00
Dries Buytaert 769ebb666c - Check input given to table rendering functions to avoid warning. 2002-12-30 08:33:02 +00:00
Dries Buytaert 14158fbc6b - Added table rendering functions. As an example, I changed the node module
to take advantage of it.
2002-12-29 12:03:08 +00:00
Dries Buytaert 26e0b9b75c - Made Drupal report an error when magic_quotes are disabled. 2002-12-26 12:16:09 +00:00
Dries Buytaert 22fa9ed70a - Refactored the administration pages. 2002-12-24 15:40:32 +00:00