Commit Graph

856 Commits (a6c8b10d8e07075f2bbab81d3d972f3175ebe3ee)

Author SHA1 Message Date
Dries Buytaert a6c8b10d8e Applied Moshe's patches:
- Adds more title info to each line in the block: now showing author and number of comments in a unified way accross all modules.

- Added pager support to blog module.

- Blog module now uses standard node view, not its own hack which is more theme friendly (http://www.drupal.org/node.php?id=133).

- Blog module now uses node_feed() function for making RSS feeds. since all feeds are now consolidated, a couple tweaks to node_feed() and format_rss_* would lead us to support new RSS formats easily.

- Fixed bugs where unpublished entries were displayed.
2002-11-11 20:59:28 +00:00
Dries Buytaert b372053cf8 - Strip all tags from the watchdog message. 2002-11-11 07:18:21 +00:00
Dries Buytaert 908cb55470 - Applied Stefan's t()-function patches. 2002-11-10 20:51:46 +00:00
Kjartan Mannes 211d65b94f - Fixing read more link showing when teaser is empty. 2002-11-10 17:41:15 +00:00
Dries Buytaert cc7a6b5017 - Some improvements to streamline book maintanance: weights and titles can
now be changed on the book overview page in the admin page.  Editing the
  "Drupal handbook" (100+ pages?) on drupal.org became a time-consuming
  process, hence these improvements ...
2002-11-10 10:36:22 +00:00
Dries Buytaert 51f4b91e51 * User patch by Natrak:
- Moved the Drupal login XML-RPC API to drupal.module.
 - DA logins are now assigned the proper role.
2002-11-09 21:46:54 +00:00
Dries Buytaert 554299dfa7 - Small clean-up. 2002-11-09 20:51:23 +00:00
Dries Buytaert c2f5ce820f - Made sure $content is initialized. Patch by James. 2002-11-09 19:50:44 +00:00
Dries Buytaert a6a47a3257 - Applied Moshe's "theme head" patch:
"This patch to theme.inc adds the ability for modules to insert HTML
   into the <HEAD> section of all web pages. The additional modules in
   this directory [ed: blog.module] demonstate possible uses for the
   new _head() hook."
2002-11-09 16:24:46 +00:00
Dries Buytaert 562df8fe43 * Added Jeremy's pager:
"This is a simple, generic pager for Drupal-CVS.  It is designed to be
  easily themeable and expandable.  The code is highly-commented to
  enhance readability."

 "Pagers are constructed by combining the provided pieces (all of which
  can be easily modified to display the text or image you prefer) into
  your custom pager."

* Statistics module fixes by Jeremy:

 - removed superfluous check for existence of watchdog()
 - saving changes in admin page displays status and returns same page
 - no longer return 1971/01/01 in "view statistics" table
 - switched from "!=" to "<>" in SQL queries for ANSI-SQL compliance
 - switched from "MAX(timestamp) as timestamp" to "MAX(timestamp) as
   max_timestamp" moving towards ANSI-SQL compliance.

* Added a "theme_item_list" function to format itemized lists.  Also
  changed a couple of modules to take advantage of it.  Makes for a
  more consistent UI.
2002-11-09 13:59:36 +00:00
Dries Buytaert 29adfb4086 - Added printer-friendly links to the book pages. 2002-11-09 13:43:56 +00:00
Kjartan Mannes bacfc30b11 - Settings will no longer be lost of including a file fails. 2002-11-08 15:12:41 +00:00
Kjartan Mannes 756639bc4b - removed next/prev links when forum node is shown on main page.
- title is no longer modified when shown on main page.
- commented out a chunk of code in forum_view that is no in use.
- coding sytle fixes.
2002-11-08 13:23:29 +00:00
Dries Buytaert b3abbc4b54 Patch by Natrak:
- Modules and themes now use the same functions to find and administer
  files.
- Modules can now be placed in sub-directories.
- Theme descriptions can no longer be edited. This will be handled by
  Dries' theme_conf patch.
- Update required to keep old modules enabled.
2002-11-08 13:19:12 +00:00
Dries Buytaert 1ef7f58e8e - Improved UI of profile module. Patch by Natrak.
NOTE: it is a first improvement but it isn't good enough yet ...
2002-11-08 13:13:25 +00:00
Dries Buytaert ea6ce100a1 Patch by Kjartan:
- Fixed empty fields being displayed.

- Fixed some coding standard discrepancies.

- Fixed the birthday date formatting.
2002-11-08 11:39:27 +00:00
Dries Buytaert 4fb3ccebb3 - Applied Stefan's t() function patch. 2002-11-08 11:27:04 +00:00
Dries Buytaert 2fe5a68baf - Removed the hard-coded font scaling. 2002-11-08 11:20:55 +00:00
Kjartan Mannes 1ed032bbf4 - missing $Id$ string. 2002-11-07 18:25:01 +00:00
Dries Buytaert 3a7c6b68cf Patch by Jeremy:
- addressed one of Ax's issues:
 > = there are quite some "$output .= " which should be "$output
 > = "
 > (whenever $output hasn't been initialized before)

 - combined a few lines that could be accomplished in one step

 - changed "!" to "." in comment "This site is currently
   sustaining..." as if a low number, it looks silly.
2002-11-06 18:56:11 +00:00
Dries Buytaert 0fa133dd2d - Added missing filter. Patch by Marco. 2002-11-03 20:57:15 +00:00
Dries Buytaert cc381c1461 - Fixed glitch in block module: the admin links were not composed
correctly.  Patch by Stefan.

- Added missing t() functions and improved the %x directives for
  better readability and to ease the process of translating your
  site.  Patches by Stefan.

- Made two small additions to the 'code-clean.sh' script; it will
  now remove patch related junk.

NOTES:

- I removed the &middot; related bits.  Let's tackle these later on
  in a separate patch after we got some sort of consensus.

- I removed the 'module_exist("drupal")' check in the user module;
  I *think* it is incomplete and therefore incorrect.

- Stefan, try using quotes in your translations and check whether
  everything still works.  Example: translate the "Create account"
  button to "Create \"haha\" account \'hihi\'" and see if you can
  still create new accounts.  Maybe automate this using a quick
  hack in the locale module ...
2002-11-01 10:47:20 +00:00
Dries Buytaert 9cb1bc4c22 - Substituted the weblogs module with a more generic ping module. We're
now pinging http://blo.gs/ as well as support the new Weblogs.com RSS
  format.  Thanks Breyten.
2002-11-01 09:31:59 +00:00
Dries Buytaert c9157a233b - Made sure blocks are sorted by weight. Patch by Ax. 2002-10-30 08:12:28 +00:00
Dries Buytaert aa28ec5230 - Applied db_query() fix. Thanks Gerhard and Marco. 2002-10-30 08:02:52 +00:00
Dries Buytaert b2c6a9b0b6 - Applied Stefan's locale patches. 2002-10-29 19:41:08 +00:00
Dries Buytaert 54aba8d561 - Applied Stefaan's locale patches. The statistics.module patch failed to
apply.
2002-10-29 19:39:19 +00:00
Dries Buytaert 38c6aeafad - Made sure we switching using $delta. Thanks Marco and Gerhard. 2002-10-29 19:30:13 +00:00
Kjartan Mannes 8eed5abd86 - Fixing blocks for forum, queue and statistics. 2002-10-28 19:36:37 +00:00
Dries Buytaert 18a18a0efa - Fixed a braino. 2002-10-26 20:27:01 +00:00
Dries Buytaert 1b452ef507 - Applied a slightly modified version of breyten's weblogs.module patch. 2002-10-26 16:46:26 +00:00
Dries Buytaert 8d103a0898 - Committed Marco's block rewrite:
+ Blocks are not longer called if not rendered: major performance
     improvement.
   + Fixed some bugs (preview option was broken, path option was broken).
   + Removed "ascii"-type blocks.
   + Added permission to for "PHP blocks"
   + ...

  NOTES:

   + You'll want to run "update.php":

       ALTER TABLE blocks DROP remove;
       ALTER TABLE blocks DROP name;

   + You'll want to update your custom modules as well as the modules in
     the contrib repository.  Block function should now read:

       function *_block($op = "list", $delta = 0) {
         if ($op == "list") {
           return array of block infos
         }
         else {
           return subject and content of $delta block
         }
       }
2002-10-26 15:17:26 +00:00
Dries Buytaert 2ec14f35ac - Removed my superfluous check. 2002-10-24 17:45:37 +00:00
Kjartan Mannes c65cfcabb5 - sort books by weight, then title in book_render(). 2002-10-24 15:39:24 +00:00
Kjartan Mannes 2afb09563d - dont print empty row if there are no next or prev links to show in admin_overview. 2002-10-24 14:29:00 +00:00
Dries Buytaert 66c5b70736 - Wrapped some hardcoded colors in "theme_invoke()"s; we can still create
a drupal_error() later on but I think we better get used to theme_invoke().

- Fixed translation bug.  Patch by Moshe.

- Fixed PHP warning.  Patch by ax.
2002-10-22 18:46:43 +00:00
Dries Buytaert 88d6ef3a2a - Added missing t() function. Patch by Marco. 2002-10-22 18:39:56 +00:00
Dries Buytaert 4efe2c887b - Fixed bug reported by Ax. 2002-10-21 19:47:41 +00:00
Kjartan Mannes ed8d88435e - fixing an access bug in import.module. 2002-10-19 23:31:11 +00:00
Dries Buytaert 30447b05be - Applied Marco's poll.module patch. 2002-10-18 05:26:01 +00:00
Kjartan Mannes b60b9ca828 - removed function module_rehash().
- updated database dump.
- removed tables modules, layout and referrer (don't forget to backup!).
2002-10-17 18:34:38 +00:00
Kjartan Mannes 623397d6dd - fixing the logic for populating $node when adding a new node. Title, teaser,
body will now be set correctly, or be left unset if no values are included in
  the request.
2002-10-17 09:21:03 +00:00
Dries Buytaert 980f0700a1 - Fixed bug with "jump to recent comment" link.
- Fixed bug with "nex topic" and "previous" topic links.

- Removed "admin"-hook all together.
2002-10-16 18:38:33 +00:00
Dries Buytaert 0c42ca27a0 - Small improvement to the forum module block. 2002-10-16 18:23:39 +00:00
Steven Wittens c238481f02 - Fixed missing filtering 2002-10-15 23:17:15 +00:00
Steven Wittens c5da43fa40 - Fixed missing filtering 2002-10-15 23:15:55 +00:00
Kjartan Mannes 1ff4da96e3 - submit page will now use $edit[teaser/body] if available in the initial request. 2002-10-15 09:40:40 +00:00
Dries Buytaert 4ad8996ff7 - Fixed bug in user_save().
- Added "Who's new" block.  I accidentically removed it.
2002-10-13 18:44:09 +00:00
Dries Buytaert 904a6172b0 - Made some usability improvements. Needs more work but I had my take for
today ...
2002-10-13 15:05:35 +00:00
Dries Buytaert fcae7030cc - Committed Jeremy's incarnation of the statistics module. Last minutes
changes include:

    * a couple of coding style changes, renamed some "stats" into
      "statistics", etc.

    * removed the "Who's online" block from the user module.

    * added db_affected_rows() to the resp. database abstraction
      layers and made the statistics module use db_affected_rows()
      instead.

    * added update logic to "update.php".
2002-10-13 12:00:50 +00:00