Commit Graph

1702 Commits (c6deda88ef55952036d00dd847f36830faebfe0b)

Author SHA1 Message Date
Dries Buytaert 36bb57555c - table(...) -> theme("table", ...) 2003-11-13 19:52:54 +00:00
Dries Buytaert c629c7bd09 - Fixed bug #4080: comments shown against wrong node. Reported by chrish. 2003-11-12 12:24:01 +00:00
Dries Buytaert df44729306 - Made the revisions a separate page/tab. 2003-11-11 16:25:10 +00:00
Dries Buytaert 89cad34923 - Added missing break statements. Patch by Chris. Fixes bug 4055. 2003-11-11 08:14:21 +00:00
Dries Buytaert f3c26069ac User module patch by Kjartan:
- Optimized user_external_load(), only need to fetch the data once.
- Removed unused functions:
  user_get()
  user_set()
  theme_menu_list()
- Fixed user_validate_name() to not accept \.
- Modified user_validate_name() to use alnum, which varies depending on
  the system locale.
- Optimized user_validate_name() to not use unnecessary regular
  expressions.
- Optimized user_access() by using less logic to fetch permissions and
  cache.
- Removed uncessary logic from user_deny().
- Fixed user_fields() to properly cache $fields.
- Optimized user_set_authmaps() to not perform unnecessary queries.
- Removed return value from user_set_authmaps().
2003-11-10 11:49:36 +00:00
Dries Buytaert 951b553a98 - Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX. 2003-11-09 23:27:22 +00:00
Dries Buytaert 00ee7f747b - Removed the "return" link from the node submission confirmation page. 2003-11-09 17:25:11 +00:00
Dries Buytaert f50a92b6fd - Removed debug statement. Patch by Bart. 2003-11-09 17:03:49 +00:00
Dries Buytaert 5bed42e8ef - Translation fix: the date in the calendar block could not be translated. Patch by Goba.
- Translation fix: made the word 'permission' translatable in the system module' help text.  Patch by Goba.

- Translation fix: the ping module's help text was translated twice.  Patch by Goba.
2003-11-09 01:22:40 +00:00
Dries Buytaert 92995414b4 - Committed stage 1 of the menu callbacks improvements. Patch by Jonathan. 2003-11-08 09:56:22 +00:00
Dries Buytaert 432852fbb8 - Bugfix: added missing t() function. Patch by Goba. 2003-11-07 19:26:10 +00:00
Dries Buytaert ef0fa006ed - Usability improvement: replaced many selection boxes by radio buttons.
Patch by Stefan.
2003-11-07 19:03:35 +00:00
Dries Buytaert 00d638ca57 - Usability improvement: replaced many selection boxes by radio buttons.
Patch by Stefan.

- Usability improvement: introduced a form_group() function and updated
  the node and comment module to take advantage of it.  Patch #149 by
  Eric Farris.
2003-11-06 18:27:58 +00:00
Dries Buytaert 6735be0992 - Bugfix: PostgreSQL problem with locale module. Fixed bug #3900. Patch #139
by Gerhard.

- Forum module improvements.  Patch #138 by Ax.
2003-11-05 17:40:41 +00:00
Dries Buytaert eb95d6d7fc - Bugfix: fixed typo in cloud module. Patch by Marky.
- Bugfix: fixed menu glitch in book module.  Patch by Kjartan.
2003-11-03 08:59:39 +00:00
Steven Wittens 9eeb24f6fc poll.module: Fixed invalid XHTML (Patch by Gabor Hojtsy) 2003-11-01 15:11:51 +00:00
Dries Buytaert ec33266795 - Improvement: made it possible to disable the comment controls and reworded some of the configuration settings.
- Improvement: removed a left-over from Drupal 4.2.0 (dead code).

- Improvement: replaced hard-coded XHTML around the XML icons with class="xml-icon".

- Improvement: removed the custom navigation menus shown at the top of the "user information page" and integrated them in the new navigation block.  The "my account" link in the navigation menu will unfold.  Also removed the "delete account" link/functionality (for now).

- Improvement: fix for "magic quotes" settings.  Patch by Steven.  I also removed check_php_settings().

- Improvement: block themability improvements.  Modified patch from Ax and Steve/CodeMonkeyX.

- Fixed bug #2617: editing user information does not work.  Patch by Kjartan.
2003-10-31 19:34:03 +00:00
Dries Buytaert 3c17d392f2 - Added support for "special timezones". Patch by Steven/UnConeD. 2003-10-30 19:16:44 +00:00
Dries Buytaert 8f9a19b340 - Bugfix: fixed problem with queue module. Fixes bug #3839. 2003-10-29 17:42:11 +00:00
Dries Buytaert dedb08a540 - Small corrections to the punctuation. 2003-10-28 19:42:10 +00:00
Dries Buytaert cf92958f3c - Bugfix: fixed usernames being shown in the "Who is online" block after
you logged out.  Patch by Jeremy.

- Bugfix: fixed the authmap table in the MSSQL scheme.  Patch by Moshe.

- Bugfix: properly themes some error messages in the user module.  Patch
  by Moshe.
2003-10-28 19:27:52 +00:00
Dries Buytaert 1621ecdb9c - Bugfix: fixed bug #3807. 2003-10-27 21:21:23 +00:00
Dries Buytaert 777c2129b6 - Bugfix: made the bloggerapi respect the default promote setting. Patch by
Remco.

  TODO: the same should be done for the fields "comment", "moderate" and so
  on.

- Improvement: made posts/updates through the Blogger API show up on the admin
  main page.  Modified patch from Remco.
2003-10-27 21:13:40 +00:00
Dries Buytaert 43fb74b910 - Bugfix: 'path' -> {url_alias}. Patch by Mark Coady. 2003-10-27 20:54:08 +00:00
Dries Buytaert c3ede753cf - Properly initialized $contents and removed dead code. Patch/suggestion by ax. 2003-10-26 21:50:42 +00:00
Dries Buytaert 98a17718f7 - Fixed typos in the throttle module documentation. Patch by marky. 2003-10-25 06:31:17 +00:00
Dries Buytaert a7e20bcd93 - Fixed typo in comment module documentation. Patch by Mark Coady. 2003-10-24 21:32:51 +00:00
Dries Buytaert 14d3b45d02 - Usability improvement: removed the cron setting. It was dead code. 2003-10-24 18:01:58 +00:00
Dries Buytaert bfc5157357 - Small usability improvement: add title to administration pages. Patch by Ax. 2003-10-24 12:26:03 +00:00
Dries Buytaert b3d192fc28 - Documentation fix: updated context-sensitive help to match menu item changes.
Fixes critical bug #3453.
2003-10-24 09:47:22 +00:00
Dries Buytaert 609ae6f5e7 - Documentation fix: updated context-sensitive help to match menu item changes.
Fixes critical bug #3453.  (In the end someone has to do it ...)
2003-10-24 09:34:05 +00:00
Dries Buytaert c6b70a7472 - Documentation improvement: updated documentation to match menu item changes.
Fixes critical bug #3453.  (In the end, someone has to do it ...)
2003-10-24 09:27:58 +00:00
Dries Buytaert 42e6309fd0 - Small documentation improvements. 2003-10-24 09:25:46 +00:00
Dries Buytaert 5463e162a3 - Bugfix: user->id --> user->uid. Patch by Gabor. 2003-10-23 21:25:15 +00:00
Steven Wittens e739f3a662 Typoes. 2003-10-23 16:41:07 +00:00
Dries Buytaert c54b68c8da - Bugfix: removed depricated documentation. 2003-10-23 15:09:12 +00:00
Dries Buytaert 0a59c41f8c - Bugfix: corrected broken HTML in the documentation. 2003-10-23 15:04:13 +00:00
Dries Buytaert 4a381ea652 - Small documentation improvements. 2003-10-23 14:57:15 +00:00
Dries Buytaert 6ec1718963 - Bugfix: corrected the context sensitive help of the main admin page. Fixes bug
#3756.
2003-10-23 14:53:18 +00:00
Dries Buytaert 8806f4c564 - Bugfix: fixed problem with book outlines. Reported by Mark Cheverton. 2003-10-23 12:13:51 +00:00
Dries Buytaert 162432a7eb - Bugfix: set the timestamp of the node counters. Patch by Moshe. 2003-10-23 06:58:29 +00:00
Dries Buytaert 72ae2d3995 - Bugfix: renamed the 'statistics' table to 'node_counter' as 'statistics' is
a reserved SQL keyword.  Required for both PostgreSQL and MSSQL.  Patch by
  Adrian.

- Bugfix: renamed the 'path' table to 'url_alias' as 'path' is a reserved SQL
  keyword.  Required for both PostgreSQL and MSSQL.  Patch by Adrian.
2003-10-22 20:20:35 +00:00
Dries Buytaert 742410aafd - Bugfix: prefix not prepended to sequences. Fixes bug #3639.
Make sure to write:

    db_next_id({table}_field);

  instead of:

    db_next_id(table_field);
2003-10-22 13:03:32 +00:00
Dries Buytaert 90e5e355cb - Bugfix: fixed problem with search key replacement. Patch by Kjartan. 2003-10-21 20:55:33 +00:00
Dries Buytaert 752c0eb70e - Bugfix: changed id="menu" to class="menu" to avoid id="menu" being emitted
twice.  Patch by Jim Riggs.
2003-10-21 19:32:31 +00:00
Dries Buytaert 1fb82a6ebc - Bugfix/improvement: the revision table was not using table(). Fixes bug
#3635.
2003-10-21 18:34:54 +00:00
Dries Buytaert 71db4f261a - Bugfix: don't list the anonymous user on the account overview pages. Fixes
bug #3688.
2003-10-21 17:58:05 +00:00
Dries Buytaert d5920c6278 - Bugfix: fixed book module links. Fixed bug #3621. Patch #132 by eafarris. 2003-10-21 16:11:12 +00:00
Dries Buytaert 93add5ad77 - Simplified comment counter caches a bit: removed some redundant SQL code.
Maybe this will fix Jeremy's "phantom comments".
2003-10-20 21:35:35 +00:00
Dries Buytaert f54c384381 - Bugfix: fixed form() being called incorrectly. Fixed bug #3699 reported
by Julian.
2003-10-20 20:14:46 +00:00
Dries Buytaert bd64bc1f45 - Improvement: reintroduced forum containers as promised. Should work as the
changes are taken from Drupal 4.2.0.  Patch by Jeremy.
2003-10-20 17:32:48 +00:00
Dries Buytaert 7f09419564 - Bugfix: fixed two problems with adding and deleting access rules. Patch by
Moshe.  Requires database upgrade.
2003-10-20 07:12:00 +00:00
Dries Buytaert d64bc008fd Patch by Moshe:
- comment.module: fixed an ambigous 'timestamp' query

- forum.module: prev/next links no longer excerpt from the title+body in
their title attribute. they now excerpt from only their title. this is
more consistent with rest of drupal, and GROUP BY on node.body which
isn't appreciated by MSSQL. also replaced some '' with NULL which caused
errors in MSSQL

- statistics.module: replaced a USING join with a standard ON join. USING
is not as widely supported, and functionally equivalent.
2003-10-17 16:10:48 +00:00
Dries Buytaert 3c3c556c55 - Bugfix: pass the node by reference in path_nodeapi so that $node->path is set
for the node.  Fixes bug #3680.  Patch by Matt.

- Bugfix: when creating a new node, don't try to insert a path if it wasn't set
  in the node form.  This destroys any paths which the user may have created
  ahead of time for that node.  Patch by Matt.
2003-10-17 16:00:44 +00:00
Dries Buytaert 880842885b - Fixed bug #3637: made comment module settings translatable. Patch #13 by Moshe.
- Fixed bug #3642: removed duplicate settings from user page.  Patch #14 by Moshe.

- Fixed bug #3503: added 'forum topic' link to the 'create content' menu.  Patch
  by Gobar.  I think this might be more intuitive and consistent code-wise; I don't
  want to introduce small hacks.

- Cache improvement: small cache improvement to prevent SQL errors.  Patch by
  Jeremy.
2003-10-16 17:29:26 +00:00
Dries Buytaert 7624580f76 - Bugfix: added a missing break statement. Patch by Stefan. 2003-10-15 17:15:17 +00:00
Dries Buytaert 2977a8cd3d - Some documentation fixes by Mark Coady. 2003-10-15 15:07:47 +00:00
Dries Buytaert 5d684e108e - Bugfix: stopped the menu system from generating empty lists (<ul></ul>). Patch
by Nick (CodeMonkeyX).

- Bugfix: anonymous users could not change comment settings.  Patch by Bart.

- Bugfix: the comment control form always showed "order by date - newest first",
  no matter what order you selected.  Patch by Bart.

- Small usability improvement: only display comment controls when there are
  comments to show.  Patch by Bart.
2003-10-14 18:08:33 +00:00
Dries Buytaert b405fa22a9 - Bugfix: in the access log, the "post" column shows "n/a" for every line
regardless of whether a node is involved.  Patch by Jonathan.
2003-10-13 21:24:38 +00:00
Dries Buytaert e688dfe6db - Fixed prefix problem with the book module. Patch by Moshe.
- Usability improvements to the user module: removed some redundant menu
  items by taking advantage of the column sorting, added status messages
  and so on.  Patch by Moshe plus some fixes.

- Made the profile module use the table() function.  Patch by Moshe.

- Fixed breadcrumb spacing.  Patch by Moshe.

- Fixed colspan problem with node overview table.  Patch by Stefan.

- Fixed inconsistency with table sorting.  Patch 0122 by Al.
2003-10-13 19:18:39 +00:00
Dries Buytaert 2ff3222458 - Fixed translation bugs with statistics module. Patch by Gabor.
- Removed 'homepage' field from user table.  Patch by Gabor.

- Added 'real name' field to the profile module.  Patch by Gabor.
2003-10-12 21:25:42 +00:00
Dries Buytaert e2b5cb38e3 - Fixed some link titles that were no longer correct due to the menu
changes.
2003-10-09 22:03:28 +00:00
Dries Buytaert 250902621a - Fixed some link titles that were no longer correct due to the menu
changes.

- Fixed some broken links.
2003-10-09 22:00:29 +00:00
Dries Buytaert c65d1da880 - Fixed some link titles that were no longer correct due to the menu
changes.

- Fixed some broken links.
2003-10-09 21:51:57 +00:00
Dries Buytaert 5a8b9611d4 - Fixed some link titles that were no longer correct due to the menu
changes.

- Fixed some broken links.
2003-10-09 21:41:04 +00:00
Dries Buytaert 50e92957b1 - Fixed some link titles that were no longer correct due to the menu
changes.

- Fixed some broken links.
2003-10-09 21:40:32 +00:00
Dries Buytaert ba67040b63 - Fixed a broken link in the user module's documentaiton. 2003-10-09 21:29:51 +00:00
Dries Buytaert 7bbb87dc97 - Fixed some link titles that were no longer correct due to the menu
changes.
2003-10-09 21:27:30 +00:00
Dries Buytaert 71ebc04a09 - Fixed some link titles that were no longer correct due to the menu changes.
- Made sure that the link titles match the page titles.
2003-10-09 19:45:19 +00:00
Dries Buytaert 3d0765c5db - Fixed a dozen link titles that were no longer correct due to the menu
changes.
2003-10-09 19:41:09 +00:00
Dries Buytaert b11d99fe16 - Fixed bug #3564: missing check in locale module. 2003-10-09 19:19:07 +00:00
Dries Buytaert 1a5fcacdd9 - Committed part 3 of Michael's help system improvements: removed the $help
parameter from the menu() function.
2003-10-09 18:53:22 +00:00
Dries Buytaert f2a9d01de2 - Bugfix: inserting and updating paths was not working. Patch by Matt.
- Bugfix: updated the queue module menu so the "view submission" link appears
  in the navigation when enabled.  Patch by Matt.
2003-10-09 17:20:18 +00:00
Dries Buytaert 9d501cf822 - Removed duplicate information. Fixes bug 3511. 2003-10-08 17:35:19 +00:00
Dries Buytaert 4cbca3110d - Fixed typo in the watchdog module's help text. Patch by Gabor. 2003-10-07 19:06:04 +00:00
Dries Buytaert 22c889e7c0 - Help system improvements: eliminated the _system hook. Patch by Michael.
- Bloggerapi module fixes.  Patch by Kjartan.

- Coding style fixes.  Patch by Michael.
2003-10-07 18:16:41 +00:00
Dries Buytaert fbc674f143 - Node API code clean-up. Patch by Kjartan. 2003-10-07 12:17:43 +00:00
Dries Buytaert 2343a2087a - Small poll block improvement (without configuration option). Patch by
Gabor.
2003-10-06 12:21:34 +00:00
Kjartan Mannes c52185b680 - taxo_link always returns array().
- Remove dead code from Marvin theme.
- cleaner node html in Marvin.
2003-10-06 12:21:04 +00:00
Dries Buytaert 9632b0b00f - Fixed book preview problem. Patch by Kjartan. 2003-10-06 08:53:17 +00:00
Dries Buytaert efe9006afb - Various translation and menu fixes from Gabor. 2003-10-05 17:39:40 +00:00
Dries Buytaert f8dda8f80b - Various path module fixes by Gabor. 2003-10-05 17:36:23 +00:00
Dries Buytaert 54a157edee - Fixed translation problem with comment module. Patch by Gobar. 2003-10-05 17:34:36 +00:00
Dries Buytaert 87fe2d4250 - Bugfix: fixed print problem. Patch by Gabor. 2003-10-05 17:23:51 +00:00
Dries Buytaert 30bae36aa5 - Bugfix: the block module's help was not being displayed. Patch by Gabor. 2003-10-05 08:41:48 +00:00
Dries Buytaert 6636aac625 - Translation fix: made the 'Who is online' block 100% translatable. 2003-10-04 16:44:54 +00:00
Kjartan Mannes 934938c486 user_mail_encode() fixes:
- Made sure the chunk sizes always include groupings of 4 bytes.
- Added more comments so fixes are not lost in future changes.
2003-10-04 12:59:46 +00:00
Dries Buytaert 988da0f136 - Fix visual bug: incorrect colspan for table. 2003-10-04 09:43:28 +00:00
Dries Buytaert 3acb5578c9 - Fixed bug #3426: can't edit sites in the site cloud list.
- Fixed some URLs.
2003-10-04 07:45:47 +00:00
Kjartan Mannes 35ffabd23b - Fixing blog it link. 2003-10-03 22:46:55 +00:00
Kjartan Mannes cb6e232990 - Re-wrote user_mail_encode(). 2003-10-03 22:44:32 +00:00
Dries Buytaert a33df1de5d - Some documentation fixes by Matt. 2003-10-03 17:43:49 +00:00
Dries Buytaert 6b2038d762 - Removed a debug statement from the locale module. Thanks Gobar. 2003-10-03 17:17:18 +00:00
Dries Buytaert 3803585f3b - Fixed bug #3449: comment display settings can't be translated. 2003-10-03 15:14:15 +00:00
Dries Buytaert 058971c33b - Help improvements and translation improvements from Michael. Thanks! 2003-10-03 14:55:27 +00:00
Dries Buytaert 35f3bcd042 - Path modoule improvements. Modified path by Matt. 2003-10-03 14:10:05 +00:00
Dries Buytaert 630325188a - Performance improvement: removed redundant inner join. Patch by Kjartan. 2003-10-03 11:42:52 +00:00
Dries Buytaert 95f3278e0e - Fixed small performance bug: when a user has no permissions, the query
in user_access() was not cached.
2003-10-03 07:09:34 +00:00
Dries Buytaert 9942b6a2c5 - There were 2 "content syndication" menu's: grouped them together. 2003-10-02 18:41:12 +00:00
Dries Buytaert a4c84bbe3d - Bugfix: made printer-friendly pages work. They were rendered but never
printed.
2003-10-02 17:58:47 +00:00
Dries Buytaert 51976ac134 - Fixed translation glitch in watchdog module. Thanks Stefan. 2003-10-02 08:35:33 +00:00
Dries Buytaert 37da83ce53 - Removed dead code. Patch by stefan. 2003-10-02 08:28:19 +00:00
Kjartan Mannes 463ccb4df6 - Fixed bug #3398: Error in SQL query in node.module (syndicate block) 2003-10-01 13:06:48 +00:00
Dries Buytaert fa2581edcf - Modifies path.module to get rid of pgsql reserved word. Patch by Adrian.
- Updates database.pgsql and database.mysql to work with current cvs. Patch
  by Adrian.

- Updates update.php to be able to update postgres from 4.2 to current.
  Patch by Adrian.

- Small fixes by me.
2003-10-01 05:18:03 +00:00
Dries Buytaert 392304da5f - Moved the locale settings from the user module to the locale module.
Patch by Stefan.

- Moved the theme settings from the user module to the system module and
  made the code more intelligent.  Patch by Stefan.
2003-09-30 21:48:32 +00:00
Dries Buytaert bcb5ebcdbe - The path module itself 2003-09-30 17:03:29 +00:00
Dries Buytaert 5a667eb580 - Url aliasing improvements. Patch by Matt. See mailing list for more
information.
2003-09-30 17:01:34 +00:00
Dries Buytaert 13f12eb417 - Fixed bug #3383: broken admin help of the watchdog module. Patch by
Jonathan.
2003-09-30 15:10:48 +00:00
Dries Buytaert d12e8997c1 - Fixed the admin preview problem as per Jonathan's suggestion. We'll want to
think of a better solution though so I'll move that theme("header") statement
  back to its original place in a few weeks time.
2003-09-30 10:58:29 +00:00
Dries Buytaert 1127b04b6b - Fixed typo in cloud module documentation. Bug report #3379. 2003-09-30 05:31:52 +00:00
Dries Buytaert 446dc8244b - Changed 'view my blog' to 'my blog' and 'view recent posts' to 'recent
posts'.  See mailing list discussion.
2003-09-30 05:15:12 +00:00
Dries Buytaert 208eabd908 - Fixed import and comment module problems. Patch by Gabor.
> Currently the admin menu does not work for comment.module and import
> module. Import module has the problem of not taking care of the fact in
> the arg() function calls that the module is pushed one level down in the
> menu (similar to the user.module and block.modules problems already
> fixed). The comment.module has a problem with trying to translate an $op
> which comes from the URL (and is therefore not translated).
>
> The attached patch also fixes the bogus URLs in import.module help texts
> (as the module part is pushed down into /admin/node instead of /admin).
2003-09-29 19:11:39 +00:00
Dries Buytaert 7531e82969 - Made sure non US-ASCII mails are sent out properly. Patch by Gabor.
TODO: rename user_mail() to drupal_mail() and move it to common.inc.
  Other modules, such as the project module, should use this as well
  or they risk to send out /invalid/ mails.
2003-09-29 18:35:46 +00:00
Dries Buytaert c1e7b3f43a - Fixed CSS. 2003-09-28 21:14:46 +00:00
Dries Buytaert 234f278487 - Fixed bug with "new user". Reported by Matt. 2003-09-28 20:32:59 +00:00
Dries Buytaert b4ceaac375 - Block module fixes. Patch by Kjartan. 2003-09-28 20:08:48 +00:00
Kjartan Mannes e2c206dafa - Renamed User information block to Navigation.
- Fixed Navigation block header.
2003-09-28 18:53:30 +00:00
Dries Buytaert bcfa6dca1e - Translation improvements for the block module help. Patch by Gabor. 2003-09-28 18:23:13 +00:00
Dries Buytaert 32e8d77cd6 - Associate a callback with the menu links! (This callback is not yet being
called but will be as soon the remaining links have been transformed to use
  the menu system.)

- Made sure the menu does not render links with no callback and no children.
  Like this, the 'create content' link is not being shown when the user has
  no permission to add any content.
2003-09-28 17:53:04 +00:00
Dries Buytaert 069e1bb87b - More translation fixes for the menu items. Patch by Gabor. 2003-09-28 17:07:46 +00:00
Dries Buytaert 179ded048e - Made sure the system module can be translated entirely. Patch by Stefan. 2003-09-28 15:27:19 +00:00
Dries Buytaert c8b28009cd - Made sure all menu items can be translated. Path by Goba. 2003-09-28 15:18:55 +00:00
Dries Buytaert cc3ec29e87 - Committed Goba's translation fixes. 2003-09-28 14:11:49 +00:00
Dries Buytaert a5e048a5fd - Renamed some menu items for clarity and ... added basic phpDoc comments. 2003-09-28 11:08:17 +00:00
Dries Buytaert 2fe79310df - Rewrote the most of the menu system; this fixes Al's problem with the
"create content" link.

- Manually merged the user module's new menu items.  Al's patch did not
  apply.

- Added some missing t()s.
2003-09-28 10:51:40 +00:00
Dries Buytaert fe09d5a786 - Committed Al's new admin link texts. Remarks:
1) As explained by Al, there is still a glitch with the 'create content'
     menu.
  2) The user module part of the patch did not apply due to Kjartan's earlier
     patch.
2003-09-27 06:00:43 +00:00
Dries Buytaert 0ff789c61d - Patch by Kjartan:
+ Fixed CSS to use the same format as the rest of drupal.css.
   + Added fallback routine for menu icons.
   + Fixed anonymous users not seeing the menu.
   + Added proper access checks for admin and help menu items.
2003-09-26 23:05:14 +00:00
Dries Buytaert f104d3cc12 - Committed the admin menu integration patch. Thanks Adrian, Stefan and others. 2003-09-26 10:04:09 +00:00
Dries Buytaert 645d026e09 - Added $Id$ tags. Patch by Chris. 2003-09-25 07:27:22 +00:00
Dries Buytaert 586455b56e - Added a pubDate for each item. Patch by Neil. 2003-09-24 19:08:27 +00:00
Kjartan Mannes 8f7063b2d8 - Fixed bloggerapi not saving the uid for new nodes.
- Cleaned up coding style and unnecessary code in bloggerapi.module.

- Removed moderation notice from queue module, it prints even when users
  are not posting from the web.

- Fixed bug #2895: locale: pager doesn't work in search
2003-09-23 19:28:03 +00:00
natrak dc2d7b2e77 - Fixed bloggerapi not saving the uid for new nodes.
- Cleaned up coding style and unnecessary code in bloggerapi.module.

- Removed moderation notice from queue module, it prints even when users
  are not posting from the web.

- Fixed bug #2895: locale: pager doesn't work in search
2003-09-23 19:28:02 +00:00
Dries Buytaert 027f52541b - Rollback of some node API changes. Patch by Jonathan. 2003-09-23 17:57:26 +00:00
Dries Buytaert a4bc9fff9f - Rollback of some node API changes. Patch by Jonathan. 2003-09-23 16:54:19 +00:00
Dries Buytaert 3025ca0138 - Fixed bug 2803: a user's signature was being erased when administered. 2003-09-21 07:01:51 +00:00
Dries Buytaert 2c5272578d - Updated the poll module to use the _validate hook. Fixes bug #2918 reported
by Jonathan.
2003-09-20 21:28:52 +00:00
Dries Buytaert 85eebfb5ed - Fixed problem introduced by partial integration of the administration pages. 2003-09-20 19:41:35 +00:00
Dries Buytaert 9eb0067ce4 - Fixed off-by-one error in user admin pages. 2003-09-20 16:56:36 +00:00
Dries Buytaert 7eb33053b2 - Updated the blog module to use the _validate hook. Fixes bug #2920 reported
by Jonathan.
2003-09-20 16:08:57 +00:00
Dries Buytaert dcbab232d6 - Updated the story module to use the _validate hook. Fixes bug #2919 reported
by Jonathan.
2003-09-20 16:03:05 +00:00
Dries Buytaert 00a62647bc - Committed Nick's _content improvements. 2003-09-20 15:11:41 +00:00
Dries Buytaert 2fbc7fcf27 - Committed a partial administration page integration patch. 2003-09-19 07:41:55 +00:00
Dries Buytaert 83e8ec4d70 - Fixed small spacing problem 2003-09-18 20:31:58 +00:00
Dries Buytaert ac39d41053 - Fix for bug #2733: devision by zero. Patch by Jonathan. 2003-09-18 13:50:45 +00:00
Dries Buytaert e20f59d99a - Jonathan's "HTML filter" improvements.
> If turning on both filters is bad, we shouldn't allow the user to
> select both, should we? The attached patch folds the Escape HTML option
> into the same dropdown as the Filter HTML option, preventing both from
> being activated.
2003-09-16 18:34:39 +00:00
Dries Buytaert 62f939944f - Added 'escape HTML' option to the filters. Patch by Gabor Hojtsy. 2003-09-16 17:35:02 +00:00
Dries Buytaert 01f3bcfc75 - Added page titles. Patch 0105 by Kendow. 2003-09-16 15:04:02 +00:00
Dries Buytaert 93e6513ebc - Fixed typo. Patch by Nick. 2003-09-16 10:38:34 +00:00
Dries Buytaert a18b09b0e5 - Fixed bug #2874: typo in watchdog module help. Patch by Stefan. 2003-09-16 07:31:17 +00:00
Dries Buytaert d9cb4522bd - Book module improvements. This commit changes the behavior of the "view"
hook.  See mailing list for details; search for a mail with the subject:
  '[IMPORTANT] behavior of "view" hook changed'.  Modified patch from Nick.
2003-09-15 15:58:20 +00:00
Dries Buytaert 7e60456ca9 - Page module simplification. Patch by Nick Berendsen.
> page.module:
  > -output is in theme("node") instead of theme("box"). This is a must for the
  > outline to work. The only difference is that the links are rendered by the
  > theme_node function instead of in the page_view. The links _are_ the same.
2003-09-14 18:48:03 +00:00
Dries Buytaert 9fbab016f9 - Tidied up the usage of module_invoke() and module_invoke_all(). Patch by
Jonathan Chaffer.
2003-09-14 18:33:16 +00:00
Dries Buytaert 18e840ac66 - Bugfix: fixed string being check_query()-ed twice. Bug #2425. Patch by
Matt.
2003-09-14 08:57:18 +00:00
Dries Buytaert 9801a1967d - Changed $theme->links() to theme("links", $links).
- Added page titles.  Modified version of patch 0104 by Kendow; patch updated
  for HEAD branch.

  > Modified 4.2.0 code to pass localized title text to theme header so user
  > pages have meaningful <title> element content.
2003-09-13 15:24:04 +00:00
Dries Buytaert 36a553c6e3 - Remove node_invoke_all as it has a misleading name and is redundant with
module_invoke_all.  Patch by Jonathan Chaffer.
2003-09-13 14:52:59 +00:00
Dries Buytaert fdc379bbf9 - Some breadcrumb refinements by Nick. 2003-09-13 11:06:29 +00:00
Dries Buytaert 33b76e9ae4 - Added basic breadcrumb navigation to the blog module. 2003-09-13 09:17:34 +00:00
Dries Buytaert ee35d9136e - Made the forum module's breadcrumb navigation fully themable. Patch by Nick.
- Changed 'pubdate' to 'pubDate'.  Patch by Kristjan.

- Fixed in Xtemplate theme; don't use return value of node_url() raw and uncut.
  Patch by me.
2003-09-12 18:13:22 +00:00
Dries Buytaert d81f159c63 - Committed Nick's path improvements; you can now control the look and feel
of the breadcrumb navigation.
2003-09-11 17:53:45 +00:00
Dries Buytaert b9633dcded - Patch by Bart Jansen:
<quote>

  This adds session support for anonymous users and fixes a bug/typo.

    1. changed rid for user #0 from 0 to 1 (rid 1 == anonymous user) to make
       inner join work.

    2. replaced "if ($user .." by "if ($user->uid .." because now $user is
       always set (my previous change probably caused this).

    3. db_next_id("user_uid") -> db_next_id("users_uid");
  </quote>

  I repeat:

  "This adds session support for anonymous users and fixes a bug/typo."
2003-09-10 19:30:34 +00:00
Dries Buytaert ad5fb6cd6d - Noiseword fix. Patch by Matt. Reported by Bart. 2003-09-10 16:48:00 +00:00
Dries Buytaert 9b74d0b83c - Patch from Matt:
"The noise words description says that whitespace and line breaks will be
  stripped out, but the code never does any trimming.  This simple patch strips
  the whitespace from the noise words.  This probably takes care of bug #2804."
2003-09-10 07:56:06 +00:00
Dries Buytaert e406d3054e - Added support for the optional <pubdate> element in our node RSS feeds. This
could help reduce the number of HTTP requests and fixes some annoyances with
  RSS clients.
2003-09-09 19:05:08 +00:00
Dries Buytaert 8e657f64ef - Gerhard's uid 0 patches. These patches bring various performance
improvements.  Requires a database update.
2003-09-09 18:18:43 +00:00
Dries Buytaert 1cadcafe9e - Fixed the tracker author sort. Patch by Moshe. 2003-09-06 15:18:12 +00:00
Dries Buytaert 30c546931d - Fixed bug with being able to post comments while you shouldn't. Patch by
Garym.
2003-09-03 20:18:03 +00:00
Dries Buytaert 2c342df5a9 - Fix for bug #2691: crash due to locale module. Patch by Bruno. 2003-09-03 12:05:46 +00:00
Kjartan Mannes 15a2cbd243 - Fixing a broken query when tracking by host. 2003-08-31 22:15:49 +00:00
Dries Buytaert 756a5da544 - Added an "edit account" link. 2003-08-30 21:52:39 +00:00
Dries Buytaert 796399ffd4 - Fixed bug #2689. Patch by Bruno. 2003-08-30 21:20:21 +00:00
Dries Buytaert e330d7c654 - Fixed bug #2690. Patch by Bruno. 2003-08-30 21:16:23 +00:00
Dries Buytaert 6f4e902e3b - Corrected the form description of the URL aliasing; don't add a trailing
slash.  Reported by Stefan.
2003-08-30 07:40:19 +00:00
Dries Buytaert 89005902e4 - Tested and committed Kjartan's performance patches. (Fixed the access check
in update.php though.)
2003-08-27 05:49:52 +00:00
Dries Buytaert 93fb265d47 - Removed a debug statement. 2003-08-26 07:13:08 +00:00
Dries Buytaert 8a6ba5f1d0 - More mass-operation fixes. 2003-08-26 07:12:06 +00:00
Dries Buytaert f58a88dd26 - Fixed a couple of bugs with the mass node operations. 2003-08-26 07:05:11 +00:00
Dries Buytaert 410d619287 - Made the statistics module use the new help system. Patch by Michael.
- Increased the number of nodes shown on the admin top nodes page.
2003-08-25 20:07:02 +00:00
Dries Buytaert 2e22798a8d - More help system updates by Michael F. 2003-08-25 16:57:55 +00:00
Dries Buytaert 9abe339c99 Patches from Moshe:
- Tracker module: adds a missing call to tablesort_pager().
 - Tablesort:
   + add 'title' attributes
   + let arbitrary querystring params flow through to pager links
   + removed ugly border around the arrow
2003-08-25 16:12:09 +00:00
Dries Buytaert cefb123e24 - Updated the profile module to use the new help system. Patch by Michael. 2003-08-23 18:27:05 +00:00
Dries Buytaert e98fe741a9 - Updated the node module to take advantage of the new help system. Patch by
Michael.
2003-08-23 18:25:35 +00:00
Dries Buytaert 6a5ce3cad1 - Fixed bug #2548: error reporting from modules didn't always work. 2003-08-23 12:15:45 +00:00
Dries Buytaert c485b54555 - Fixed a number of small user experience inconsistencies pointed out by
Keith.
2003-08-23 10:11:10 +00:00
Dries Buytaert 4d16c7c65b Implemented more suggestions by Keith:
- Made sure the 'Topic' title is only shown above the topics, not the icons.

- Automatically shorten the username when it is too long.  I implemented this
  as part of format_name() and could therefore nuke some code in the
  statistics module.  This is change is somewhat experimental and I'm willing
  to revert or change this if a number of people aren't too happy with this
  behavior.

- Left align the dates and authors: makes it easier/faster to scan.

- Made the little tablesort arrows clickable.
2003-08-22 21:35:25 +00:00
Dries Buytaert 4e2ee96d4c - Removed left-overs from the rating module. Patch by Gerhard. Updated the
PostgreSQL and MSSQL database scheme as well.

- Made sure the update script updates the correct tables when database
  prefixing is enabled.  Patch by Bart Jansens.

- Improved the breadcrumb navigation of the book and the forum module as per
  Keith Instone's suggestions.

- Updated page titles (or block titles) and links to match.  Suggested by
  Keith Instone.

- Added missing 'thread' field to the comment table of the MySQL database scheme.
  Fixes bug #2590.
2003-08-22 17:06:44 +00:00
Dries Buytaert 134c9eb887 - Added some missing {} to make database prefixing work. Patch by Moshe. 2003-08-22 05:07:25 +00:00
Dries Buytaert 7f6ecbec0e - Fixed bug with user sessions. Patch by Jeremy. 2003-08-22 05:00:43 +00:00
Dries Buytaert 694a38c179 - Updated modules to new help system. Patch by Michael. 2003-08-21 20:50:03 +00:00
Dries Buytaert 022db9a21a - Updated the locale module to the new help system. Patch from Michael. 2003-08-21 19:29:31 +00:00
Dries Buytaert 3d89a559ca - Updated the story module to the new help system. 2003-08-21 18:21:15 +00:00
Dries Buytaert da8f92dc3b - Updated the system module to the new help system. Needs a bit of work after the
rest has been completed.
2003-08-21 18:13:28 +00:00
Dries Buytaert 9fac5f5fb9 - Updated the taxonomy module to use the new help system. 2003-08-21 18:02:37 +00:00
Dries Buytaert 2bc440112b - Forgot to remove a debug statement. Thanks Bart. 2003-08-21 17:42:00 +00:00
Dries Buytaert f9b06a482b - Correct caps in table headers 2003-08-21 16:54:21 +00:00
Dries Buytaert 8d013b1666 - Applied Moshe's tablesort patch! Note that I changed the arrow images
because those of Moshe where not identical.
2003-08-21 15:47:50 +00:00
Dries Buytaert 8a3512d481 - Updated the throttle module to the new documentation scheme. 2003-08-20 21:19:17 +00:00
Dries Buytaert 49fb60a08b - Fixed documentation bug in import module. 2003-08-20 21:14:17 +00:00
Dries Buytaert 47797714ab - Updated the tracker module to the new help system scheme. 2003-08-20 21:06:51 +00:00
Dries Buytaert 6b63aa6638 - Updated the import module to the new documentation scheme. Patch by
Michael.
2003-08-20 21:00:31 +00:00
Dries Buytaert 0431f0700f - Committed Jeremy's session patch: this brings us one step closer to having
session for anonymous users.
2003-08-20 19:19:13 +00:00
Dries Buytaert b79b831152 - Updated the user module to use the new help system approach. 2003-08-19 20:48:25 +00:00
Dries Buytaert 6c1af75896 - Updated the watchdog module to use the new help function approach. 2003-08-19 19:59:33 +00:00
Dries Buytaert 8a2d5bede9 - Rewrote handling of forum icons and added default icons made by Steven
Wittens.

- Renamed some column titles in the forum module as per Moshe's suggestion.

- Introduced a 'more-link' class to position the 'more' links.  Removed
  hard-coded markup from the modules.

- Fixed bug in import module: the theme functions called a non-existing
  function.
2003-08-16 05:49:45 +00:00
Dries Buytaert db8c3edca5 - Bugfix: don't user term->descriptions in link attributes as they are HTML
code on their own.
2003-08-16 05:25:33 +00:00
Dries Buytaert f7bc6af717 - Bugfix: changed 'INNER JOIN' back to 'LEFT JOIN'. 2003-08-15 16:41:53 +00:00
Dries Buytaert 5c40037c8e 1) Bugfix: changed INNER JOIN to LEFT JOIN to make forum topics with no comments show on the topic overview page.
2) Beautified the forum module views; rewritten to use the table() rendering functions, X HTML-ified the emitted code, added additional CSS tags, and removed hard-coded markup.  This improves themeabality; it should be able to mimic the view and color scheme of, say, http://www.phpbb.com/.

3) Reorganized forms and links (interactive elements) to improve usability.  Also ensured that the link names and page titles match.

4) Temporary removed container functionality: this simplified the work and eliminated some usability issues.
2003-08-15 15:17:23 +00:00
Dries Buytaert 6842d59732 - Documentation fixes by Michael F. 2003-08-13 18:40:26 +00:00
Dries Buytaert c25bc33181 - Usability improvements based on Keith Instone's suggestions:
* Removed 'handbook' title.

   * Added a 'books' link to the book location bar: the link takes you to
     the book overview page.

   * Renamed a few 'collaborative books' to 'books' so that the links and
     page/box titles match.
2003-08-13 07:24:14 +00:00
Dries Buytaert e0b97a7587 - Usability improvement: changed the title of the main block on the user
information page.  Suggested by Keith Instone.
2003-08-13 07:08:27 +00:00
Kjartan Mannes 48805032c8 - Applied modified version of almaw's 0064 patch: form item attributes.
- Applied modified version of mathias' 0073 patch: node form name.
  $params["options"] is now an array so some contrib modules might
  need minor changes.

- Applied mathhias' 0074 patch: missing access check on who is new
  block.
2003-08-12 20:37:16 +00:00
Dries Buytaert c6b215c057 - Heavily modified version of Gerhard's patch #82: the queue module does now
inform the user about the status of his or her post.
2003-08-12 19:39:53 +00:00
Dries Buytaert 37310ee6f0 - Added missing t() functions to watchdog. Patch #80 by Stefan. 2003-08-12 19:12:22 +00:00
Dries Buytaert 442f5b0757 - Added missing translation functions. Patch #78 by Stefan. Merged by hand
as the patch no longer applied.

- Fixed broken "view post" URL on administration page.  Reported by Bart.
2003-08-12 19:09:44 +00:00
Dries Buytaert 7af49ab274 - Committed Marco's comment module patch:
+ Dramatically improves performance of large discussions/threads: only
      very few SQL queries are required.
    + Replaces custom pager with standard pager.

  Modifications by me:

    + Reworded some code comments.
    + Removed dependencies on pager internals.
2003-08-12 18:32:54 +00:00
Kjartan Mannes 17ef869e3a Applied 0007.almaw.home-link-using-l.patch
- Fix link_page to use l() to generate home link.

Applied 0058.kika.themeable-usermenu.patch
- Modifies user menu be themeable.
2003-08-11 20:41:37 +00:00
Dries Buytaert b22cd5d1c7 - Bugfix: changed an inner join back to a left join. Patch by Bart Jansens 2003-08-10 10:35:26 +00:00
Dries Buytaert cecaa68e65 - Miscellanious comment module fixes. Patch 20030806.comment-misc.patch by
Bart Jansens.
2003-08-08 22:57:10 +00:00
Dries Buytaert 39950fe2e2 - Committed a modified version of Ulf's input checking changes. Patch #95.
I added an error message, changed a few things around and fixed tw typos.
2003-08-08 22:24:55 +00:00
Dries Buytaert e2f098af85 - Block module documentation improvement. Patch by Gerhard. 2003-08-07 16:53:36 +00:00
Dries Buytaert 56c662174d - More help system improvements by Michael. 2003-08-06 21:14:05 +00:00
Dries Buytaert 4131b785f7 - Help system improvements from Michael. 2003-08-05 18:33:39 +00:00
Dries Buytaert 173dfb5950 - Added missing {}. Fixes bug 2423 reported by kenzky. 2003-08-05 07:06:26 +00:00
Dries Buytaert d42158ce66 - Added more filters and support for "mass-operations" to the node overview page
in the admin section.  Comments?
2003-08-02 06:49:32 +00:00
Dries Buytaert 498f13c002 - If $node->path has been initialized (via a form for example), node_url will return it. This is not good because path could still be null (empty). Patch by Matt Westgate. 2003-07-31 09:56:29 +00:00
Dries Buytaert 869d8c6707 - Fixed broken links in the versioning system. Patch by Bart Jansens. 2003-07-31 09:50:33 +00:00
Dries Buytaert 9fe3d9c46a - Fixed bug in user_validate_name(): . (dot) should be allowed for DA to work.
Fixes bug #107.
2003-07-26 18:01:14 +00:00
Dries Buytaert 30337a7d29 - Bugfix: remove forum block caching as it contains text that can be translated.
Fixes bug #2329.
2003-07-26 17:39:12 +00:00
Dries Buytaert e278e46f49 - Applied Moshe's 007 patch: "read more" and author optimizations. 2003-07-26 13:18:49 +00:00
Dries Buytaert cbbc3e80c0 - Bugfix: made deleting polls work. Patch by Marco. 2003-07-24 12:33:57 +00:00
Dries Buytaert 75512ae3dc - Fixed the update path of user_save(). Patch by Gerhard. Tnx. 2003-07-23 19:48:08 +00:00
Dries Buytaert 3833e4de9d - Cache system improvements by Gerhard: removed some left-overs. 2003-07-23 18:33:12 +00:00
Dries Buytaert 83ae5b5c36 - Fixed typo: implde() -> implode(). Reported by Moshe. 2003-07-23 05:16:10 +00:00
Dries Buytaert c39562ae03 - Fixed node_save() and user_save() bug introduced by table prefix changes.
Modified patches from Gerhard.

- Changed the order of the checks in node_teaser().  Patch from Kobus.
2003-07-21 15:36:05 +00:00
Dries Buytaert d1b175cec7 - Some queue module fixes by Trogeir. 2003-07-17 22:48:15 +00:00
Dries Buytaert 8759ca7368 - Commited the URL aliasing patch. Thanks Matt.
This update requires you to run update.php!
2003-07-16 20:14:26 +00:00
Dries Buytaert 1252d51264 - Changed some INNER JOINs back to LEFT JOINs. Patch by Gerhard. Not tested
by me.
2003-07-16 07:58:02 +00:00
Dries Buytaert b66c616b8a - Some documentation fixes as per Charlie's suggestion: bug #2260. 2003-07-14 21:35:59 +00:00
Dries Buytaert 3c374a3ef2 - Documentation improvement by Charly. Task #2257. 2003-07-13 07:47:01 +00:00
Dries Buytaert 22b6d2f30c - Performance improvement: changed a fair amount of "left joins" to "inner
joins".  Patch by Gerhard.
2003-07-12 22:21:55 +00:00
Dries Buytaert d5cdbcd644 - Bugfix: fixed username not being fetched with the title module. Fixes bug
#1852.

  (Going to backport this to the DRUPAL-4-2-0 branch.)
2003-07-12 10:36:56 +00:00
Dries Buytaert 337b3c9de9 - Committed a slightly modified version of Slavica's table prefix patch. 2003-07-10 17:46:44 +00:00
Dries Buytaert 1c2fc43b51 - Bugfix: fixed HTML typo in comment module. Patch by Torgeir Berg. 2003-07-10 05:02:57 +00:00
Dries Buytaert c89f78aa4d - Bugfix: fixed the "check for duplicate e-mail addresses" test. Patch by
Marco.
2003-07-09 21:54:35 +00:00
Dries Buytaert b59094355a - Made the tracker module link to your own posts. Patch 79 from Gerhard.
- Added a permalink to the Xtemplate theme.  Requested by Scott.

- Added pager support to the locale module.
2003-07-09 18:39:46 +00:00
Dries Buytaert bfd68e80eb - Made it easier to translate some text on the tracker page. Patch #71 by
Stefan.
2003-07-08 11:24:28 +00:00
Dries Buytaert 12506d8365 - Added 3 missing t() functions to the statistics module's administration
pages.  Patch #73 by Stefan.
2003-07-08 09:55:47 +00:00
Dries Buytaert 70c40e3a9b - Made it easier to translate the the "Jump to" link of the forum module.
Patch #68 by Stefan.
2003-07-08 09:53:14 +00:00
Dries Buytaert 1482a56596 - Usability improvement and bugfix for translation issue with the taxonomy
module.  Patch #70 by Stefan.
2003-07-08 09:51:22 +00:00
Dries Buytaert cd150ba731 - Improvement: made it easier to translate the book outline. Patch #67 by
Stefan.
2003-07-08 09:48:29 +00:00
Dries Buytaert 8963b895a1 - Translation improvement: made it easier to translate the site title of the
administration pages.  Patch #66 by Stefan.
2003-07-08 09:45:56 +00:00