Commit Graph

992 Commits (3d3a60740a63e8c803d0905b2727bb202e6de370)

Author SHA1 Message Date
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 · 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
Dries Buytaert 30315c40c0 - Applied Moshe's comment module patch to address some of the usability
issues.
2002-10-13 09:18:58 +00:00
Dries Buytaert 501fb86f7e - Made sure the tracker module does not list discarded comments. Patch by
Moshe.
2002-10-09 20:20:49 +00:00
Dries Buytaert 7618747338 - Fixed an HTML entity. Patch by Remco. 2002-10-09 20:18:05 +00:00
Dries Buytaert 88e61f5f7b - Fixed a "<br />". Patch by Remco.
(Note that I still plan to include Jeremy's statistics module.)
2002-10-09 20:14:52 +00:00
Dries Buytaert f06239caf7 - Fixed warning in user module. 2002-10-07 20:40:19 +00:00
Dries Buytaert ebcd319d63 - Fixed HTML typo. Patch by Gerhard. 2002-10-02 19:30:05 +00:00
Kjartan Mannes 9e85e4b949 - fixing block configuration not working when user is disabling all blocks. 2002-09-30 09:19:50 +00:00
Kjartan Mannes ba75605e89 - coding style improvements. 2002-09-30 08:58:22 +00:00
Kjartan Mannes 9ec70dfa9e - fixing authored dated for new posts. 2002-09-27 16:49:19 +00:00
Dries Buytaert 56bd15ef4f - Applied Marco's first regex patch. 2002-09-26 16:12:09 +00:00
Dries Buytaert 2c165d0e2f - Applied Axel's patch to sort blocks by weight. 2002-09-26 16:10:35 +00:00
Kjartan Mannes 9347252fb9 - fixing user registration and field validation. 2002-09-25 22:05:47 +00:00
Dries Buytaert a3a5dd45a7 - Fixed bug with queue module not displaying comments. Patch by Moshe. 2002-09-18 05:06:33 +00:00
Dries Buytaert 2ba4c42ee1 - Fixed e-mail regex to accept ".info" TLDs as well as other future TLDs,
fixed e-mail regex to accept IP addresses (eg. 127.0.0.1), changed some
  HTML to XHTML, fixed some cosmetic glitches, etc.
2002-09-17 18:32:00 +00:00
Dries Buytaert b2a5a897cb - Applied Moshe's forum.module patch. 2002-09-17 18:29:47 +00:00
Dries Buytaert fec23c52f0 - Applied Moshe's comment.module patch. 2002-09-17 17:55:05 +00:00
Dries Buytaert 92326261d1 - Commited Marco's new comment module and forum module!!! 2002-09-15 13:00:12 +00:00
Kjartan Mannes 7b155e5226 - removing the blot it link when the blog module is not loaded and the user
does not have access to post content. (Patch by Pierre Gorissen)
2002-09-14 13:51:57 +00:00
Kjartan Mannes d164384e62 - fixing a typo (was missing a $). 2002-09-10 10:53:10 +00:00
Kjartan Mannes 8f868e2fd9 - adding "Default theme" option to user_admin_edit() 2002-09-08 18:53:09 +00:00
Kjartan Mannes bd650f9f8e - fixing creation of first user.
- password is now printed for uid 1.
- made user_fields() always return something.
2002-09-08 18:48:49 +00:00
Kjartan Mannes ba4363016c - made default locale admin page the search page. 2002-09-08 18:40:29 +00:00
Kjartan Mannes c766305ce5 - use <?pjp instead of <?. //TODO: check other files to make sure they are
not using short tags.
2002-09-08 18:02:24 +00:00
Dries Buytaert 411bcd552a - Removed the bloggerapi_watchdog() function. 2002-09-01 11:01:07 +00:00
Dries Buytaert 58c9926647 - Another "SELECT... LEFT JOIN... GROUP BY... ORDER BY" by James. 2002-08-26 18:25:05 +00:00
Dries Buytaert 3cdfcaf877 - Made two INSERT queries ANSI compliant. Patch by James, slightly modified
by Dries.
2002-08-26 18:13:13 +00:00
Dries Buytaert 5c66243d81 - Committed (a slightly modified version of) PiAir's Blogger API documentation
patch.
2002-08-22 20:24:17 +00:00
Dries Buytaert 15a9b6c503 - Fixed statistics module. 2002-08-22 18:30:39 +00:00
Dries Buytaert 8cae7b072a - Integrated Moshe's documentation (http://www.drupal.org/node.php?id) in
the drupal.module.  Fixed a couple of typos and small inconsistencies.
2002-08-20 20:11:00 +00:00
Dries Buytaert bfe5b85dbd - Applied a (modified) version of Marco's SQL sequence patch. 2002-08-20 19:29:16 +00:00
Dries Buytaert afd87425d9 - Replaced MySQL-ism by its ANSI SQL counterpart. Patch by jaa. 2002-08-19 18:00:50 +00:00
Dries Buytaert 9df234e63b - Removed a MySQL-ism from the user module. Patch by James.
- Fixed the "uid < 0" issue.  Fix by Marco.
2002-08-18 12:36:02 +00:00
Dries Buytaert 8b9c05d21b - Bugfix: fixed some SQL queries and tidied up many queries. Patch by
Marco.
2002-08-18 12:14:26 +00:00
Dries Buytaert e04f6d2328 - Made the rating module and its SQL table ASNI compliant. Patch by jaa. 2002-08-16 07:37:03 +00:00
Dries Buytaert fc143e79a7 - Changed a MySQL-ism to be ANSI SQL/PostgreSQL compliant. Patch by jaa. 2002-08-16 07:28:27 +00:00
Dries Buytaert 333e47aced - Made sure the selection boxes don't grow too long. Requisted by kika,
patch by Marco.
2002-08-16 07:21:01 +00:00
Dries Buytaert 2c77a38848 - Small cosmetic change to the system module. 2002-08-15 10:26:32 +00:00
Dries Buytaert 42abfd001c - Commited kika's usability patch for the help module. 2002-08-15 10:24:41 +00:00
Dries Buytaert cc0980ec6b - Bugfix: moved the delete query down. Patch by Marco. 2002-08-14 17:53:44 +00:00
Dries Buytaert f5173ef233 - Applied user.module patch from Marco's sandbox.
- Added profile.module written by Marco.
2002-08-08 18:52:55 +00:00
Dries Buytaert c3e91ce889 - Patch by kika: "If a module is disabled on the "site configuration
> modules" page, its operations (view, admin) should not be
  clickable (they should be present though, but as static text).
2002-08-08 18:16:03 +00:00
Kjartan Mannes bb19e0bb45 - fixing email regular expression. 2002-07-31 08:01:34 +00:00
Kjartan Mannes 12bc70569e - preventing a segfault in PHP. Can someone verify that session writing still works? 2002-07-26 10:28:55 +00:00
Kjartan Mannes 5f7e2f7ae0 - increased the "Authored by" field to max 60 chars to fit the length of valid
usernames.
2002-07-21 18:14:35 +00:00
Dries Buytaert 36fca09232 - Added missing t() functions. Patch by Ori. 2002-07-13 17:56:54 +00:00
Dries Buytaert ef03e6a36c - Fixed small bug in user.module. Patch by Marco. 2002-07-13 13:03:44 +00:00
Kjartan Mannes b35b341f08 - removing the DESC on group by. 2002-06-27 09:41:55 +00:00
Dries Buytaert 0544d005f5 - Made node_comment_mode() cache the mode when possible. Patch from Marco's
sandbox.
2002-06-23 13:42:29 +00:00
Dries Buytaert ccba91d66f - Fixed two small bugs in the locale module:
1. The locale admin menu items 'untranslated "langcode" strings'
     'translated "langcode" strings' were not properly localized.

  2. When inserting new locale strings the uri which generated the
     new string was not properly set (the 'location' field in
     locale table).

  Patch by Ori.
2002-06-20 18:55:18 +00:00
Kjartan Mannes 9c23d8ae42 - cosmetics mostly. 2002-06-15 17:48:54 +00:00
Kjartan Mannes a6121c1503 - fixing some incorrect l*() calls.
- fixing node_feed() to work with tax feeds. Thanks Moshe.
2002-06-15 13:48:08 +00:00
Kjartan Mannes 66ccfb3f8d - fixed the markup of the collapsed comment view settings.
- updated update.php and database.mysql disable a few more modules by default.
  Without the config options in place to disable things this might confuse users.
2002-06-15 10:49:44 +00:00
Kjartan Mannes a5c05512fc - added some missing title attributs to links. 2002-06-14 13:48:35 +00:00
Dries Buytaert 8cfbe41201 - Fixed a bug with taxonomy_get_related() returning the term which
was passed in. Found by Moshe, fixed by Marco.
2002-06-14 04:30:30 +00:00
Kjartan Mannes 53a53ce6db - fixing an error when no DA modules were loaded.
- indentation issue in node module.
2002-06-13 09:19:17 +00:00
Kjartan Mannes d880f8f559 - added missing <ul> tags. 2002-06-12 16:02:26 +00:00
Kjartan Mannes 0072855340 - made poll_page() SQL query valid when running MySQL in ANSI mode. 2002-06-12 12:35:01 +00:00
Kjartan Mannes 7ac1ae2aa6 - adds missing navigation to feed and bundle view.
- adds missing links.
2002-06-12 12:25:49 +00:00
Kjartan Mannes b06bbe7481 - default theme added to theme options + some clean up.
- title of "blog it" item is used as default node title.
- added link to news feed admin pages on import_page.
- "blog it" link only shows when the blog module is available.
2002-06-10 19:49:16 +00:00
Kjartan Mannes 167955dfb0 - fixing outgoing mails and added some documentation. 2002-06-09 17:24:42 +00:00
Kjartan Mannes 3955d6836a - more documentation updates by Scott. 2002-06-09 16:44:52 +00:00
Dries Buytaert 81d0d7b2a0 - Changed a " drupal " into " Drupal ". 2002-06-09 15:11:15 +00:00
Dries Buytaert 52e00d08dd - Documentation update: "%s/ drupal / Drupal /cg". In documentation we
prefer "Drupal" instead of "drupal".
2002-06-09 14:18:23 +00:00
Dries Buytaert d859a37ff7 - Documentation updates: made it more consistent with the rest of Drupal. 2002-06-09 14:16:35 +00:00
Dries Buytaert 300e524368 - Updated the book module documentation a bit. 2002-06-09 14:02:35 +00:00
Dries Buytaert ca9fc85e4b - Bugfix: the comment module has a help function but it wasn't linked to. 2002-06-09 13:52:08 +00:00
Kjartan Mannes 28a7179a22 - fixing the moderation result block so both author and voters can see it. 2002-06-09 11:11:27 +00:00
Kjartan Mannes f44646030b - applying Scott's patch.
- removing the need to enable weblogs ping so it matches locale and bloggerapi.
2002-06-09 08:55:51 +00:00
Dries Buytaert 10f808b37b - Updated the poll documentation. Patch by Scott. 2002-06-09 08:30:11 +00:00
Dries Buytaert 366118ce45 - Made a small cosmetic change to the modules admin page. 2002-06-09 08:29:49 +00:00
Dries Buytaert 359ff9539e - Some small editorial changes to the user module. 2002-06-09 08:17:55 +00:00
Dries Buytaert 2d5630bb48 - Included Moshe's *excellent* user module documentation.
NOTE: I remove the gravity stuff as this optional and already documented
         in rating.module.
2002-06-09 07:44:12 +00:00
Kjartan Mannes 5d36c70449 - improved module descriptions.
- removed admin options for queue and comment module if the modules are not
  loaded.
- nodes are now auto promoted when queue module isn't enabled.
- moderation result block is now visible by the node author.
2002-06-08 16:17:29 +00:00
Dries Buytaert 37ee9eed2e - Bugfix: we now keep a per-node $date cache in comment_is_new(). Suggested
by Natrak.
2002-06-08 14:30:05 +00:00
Dries Buytaert 92665ec06b - Bugfix: clicking "help" on the "site configuration" didn't show any help. 2002-06-08 14:13:11 +00:00
Dries Buytaert e6096b603a - Extended the blog module documentation with input from the Drupal
handbook.  The documentation is not particulary exciting/good but
  it is better than what it used to be.
2002-06-08 13:22:33 +00:00
Dries Buytaert 1c929509a3 - Removed the redundant "enable/disable" setting from the Blogger API module.
- Revised the documentation: fixed about 5 typos, removed the bit about
  downloading the module from the Drupal contributions repository,
  updated the installation guidelines, etc.
2002-06-08 12:30:36 +00:00
Dries Buytaert 2b3ca2d3ac - More documentation updates. Added "Requires crontab" message to the
settings that require crontab, make some things more consistent, etc.
2002-06-08 10:18:59 +00:00
Dries Buytaert 7d9fc047f9 - Clarified the help texts a bit. 2002-06-08 10:09:03 +00:00
Dries Buytaert 19736b4225 - Removed the redundant option to enable or disable the locale module. 2002-06-08 10:05:19 +00:00
Dries Buytaert f770b7861e - Small detail in the help. 2002-06-08 07:09:02 +00:00
Dries Buytaert 3eb607b8ee - The Drupal module is no longer required. 2002-06-06 18:19:03 +00:00
Steven Wittens 80a6b15942 Some small corrections to the system descriptions (as discussed in mailinglist) 2002-06-04 11:44:23 +00:00
Steven Wittens 8be5a2545e Poll.module improvements:
- Added links to see poll results when you haven't voted yet (and to go back).
- Cleaned up code and moved large sections into separate functions for cleaner code
- Cleaned up the way of distinguishing between multiple polls on one page (now it just uses the nid)
2002-06-04 03:55:17 +00:00
Kjartan Mannes 4a28077f46 - adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
    * security check isn't in effect if the db hasn't been updated.
    * instructions re-organized.
    * fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.
2002-06-01 21:57:29 +00:00
Steven Wittens 59082a5f19 Poll.module:
- Added timestamp (created) sorting to polls page.
2002-06-01 21:36:05 +00:00
Steven Wittens e0c1980329 Poll.module:
Added a page showing a list of older polls.
2002-06-01 20:19:18 +00:00
Steven Wittens f520a8b413 Fixed unmoderated polls already showing up in the side-block. 2002-06-01 19:34:32 +00:00
Dries Buytaert 38aaf5f35d - Added missing translations and the like. 2002-05-31 20:29:30 +00:00
Dries Buytaert b0ea30ed85 - Fixed missing translations and missing lm()'s (including the one Marco fixed). 2002-05-31 20:22:14 +00:00
Dries Buytaert 420ac9f4f7 - Added missing translations (including the one Marco spotted). 2002-05-31 20:18:33 +00:00
Kjartan Mannes d5023adb4c - fixing who is online block. 2002-05-31 11:03:54 +00:00
Dries Buytaert af075abb3d - Fixed but #197: "Shouldn't going to index.php?or=xxx show all content
for the term rather than only promoted content?".  Reported by Barry,
  fixed by Revar's patch.
2002-05-30 20:26:08 +00:00
Dries Buytaert 8bba059a8e - Fixed a drupal_goto() as identified by Marco. 2002-05-29 17:32:09 +00:00
Kjartan Mannes 0b596a8ec4 - modified the user blocks to use the same layout and trim long usernames to
keep the blocks from ruining theme layouts.
2002-05-29 17:19:20 +00:00
Kjartan Mannes c9feee50ce - added missing access check for links 2002-05-29 17:17:09 +00:00
Kjartan Mannes 000ee5d162 - cleaning up the access checks in node.module.
- reverting a taxonomy patch that added $context checking to node/comments.
2002-05-29 17:16:27 +00:00
Kjartan Mannes 9a4a9befac - fixing perma links and link to all blogs by user.
- added access checks to blog block.
2002-05-29 17:08:05 +00:00
Dries Buytaert 0908a06cd0 - Replaced a "mysql_query()" by a "db_query" as identified by Moshe (see
his sandbox) and fixed some typos in the module's comments.

  * Moshe: what are the $wordlist changes you made?  Mind to elaborate a
           bit on those?

  * TODO: validate the SQL queries used in the search module using a SQL
          validator tool - I wonder whether they are ANSI compliant.


-    // If the word is preceeded by a "+", then this word is required, and
+    // If the word is proceeded by a "+", then this word is required, and

-        $inputword = ("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)");
-        mysql_query($inputword);
+        db_query("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)");
       }

-      // Zap the weighted words array, so we dont add multiples.
+      // Zap the weighted words array, so we don't add multiples.
2002-05-26 11:00:50 +00:00
Dries Buytaert 4191481453 - Bugfix: just before submitting a node, one could change the content of
that node to something that would not have passed the preview pages.

  Patch by Revar:

    "If you uploaded a valid file, and filled out the form right, you will
    get a Submit button.  The problem comes in when you choose a different
    file to upload, and then click Submit.  The filestore_save() function
    cannot do proper validation and handling of the form data, as it only
    returns a list of what node fields to save.  On error, a node entry is
    still created, but with only the nid field set.  The user can't be
    forced to fix their bad entry."

    "Add a _form_validate() node hook to process and validate any form
    results.  That way even on Submit, the node code would check the
    validity of the data, and if bad, it could drop you back to the preview
    screen with the current bad data warnings.  Have it return an array of
    errors that can be passed in as $error to the _form() hook.  If it
    returns a null array, then there's no errors, and the submit can go
    through."
2002-05-26 09:23:46 +00:00
Dries Buytaert ad83b449f7 - Bugfix: found a bug with the 'create poll' title attribute. It was
getting added to the <a> tag as '0="title" 1="Add a new poll."'.

  Patch by Revar.
2002-05-26 09:03:16 +00:00
Dries Buytaert 04e491f846 - Now all themes use the new taxonomy stuff, we can remove the depricated
function node_index() - it was an empty function.
2002-05-24 21:37:42 +00:00
Kjartan Mannes f711baceb7 - the user_admin_edit() would loose the theme settings.
- added some more help text to page.module.
2002-05-24 12:27:10 +00:00
Kjartan Mannes 66e1bbfb93 - pending user accounts will not be notified to the site_email.
- fixed access checks on the register form, do this before you enter the
  _save function. If registrations are disabled the register link will
  no longer show (again).
- changed &#187 to &raquo, using the names of entities are better than
  the numbers.
- fixed user information being set when account is registered (properly this
  time, really!)
- reversed the if(!...) commit.
- node_add specifies more defaults.
- added link to blog entries from user page.
2002-05-23 14:14:48 +00:00
Kjartan Mannes 5f6d733b70 - node security fixes.
- fixing the UI to represent what actually happens when you are an admin.
2002-05-22 23:28:48 +00:00
Kjartan Mannes d62d65ae7e - fixing the last fixes. 2002-05-22 22:55:14 +00:00
Steven Wittens bb3803b63e Poll.module:
Node links didn't always show up in the poll side-block, only when having voted. Fixed.
2002-05-21 23:46:07 +00:00
Kjartan Mannes c85636ca85 - fixing spaces in url. Bug #192 2002-05-21 21:23:31 +00:00
Steven Wittens f1f458ddf0 Poll.module:
Cosmetical bugfix, "1 vote" instead of "1 votes" (using format_plural)
2002-05-21 11:50:00 +00:00
Steven Wittens 52bfb7105a Locale.module:
Added a piece of code to insert common strings (currently weekdays and month-names) into the locale table. It's triggered whenever you visit the locale admin pages, but executes only once.
2002-05-20 22:41:33 +00:00
Kjartan Mannes 837087ea99 - the comment control panel is now only shown when there are comments. 2002-05-20 21:55:22 +00:00
Kjartan Mannes 34650f8f11 - tweaking the links. Too many of them. 2002-05-20 21:12:17 +00:00
Kjartan Mannes 33604ae034 - fixing perma links. 2002-05-20 21:03:07 +00:00
Kjartan Mannes 59b9ebaad2 - bug fix. 2002-05-20 16:39:58 +00:00
Dries Buytaert 6d3be31eb2 - Fixed typo in the "request new password" e-mail:
diff -r1.69 user.module
869c869
<       $body = strtr(variable_get("user_mail_pass_body", t("%username,\n\nHere is your new password for %site. You may now login to %uri". drupal_url(array("mod" => "user", "op" => "login"), "module") ." using the following username and password:\n\nusername: %username\npassword: %password\n\nAfter logging in, you may wish to change your password at %uri". drupal_url(array("mod" => "user", "op" => "edit"), "module") ."\n\nYour new %site membership also enables to you to login to other Drupal powered web sites (e.g. http://www.drop.org) without registering. Just use the following Drupal ID and password:\n\nDrupal ID: %username@%uri_brief\npassword: %password\n\n\n--  %site team")), $variables);
---
>       $body = strtr(variable_get("user_mail_pass_body", t("%username,\n\nHere is your new password for %site.  You may now login to %uri". drupal_url(array("mod" => "user", "op" => "login"), "module") ." using the following username and password:\n\nusername: %username\npassword: %password\n\nAfter logging in, you may wish to change your password at %uri". drupal_url(array("mod" => "user", "op" => "edit"), "module") .".\n\nYour new %site membership also enables you to login to other Drupal powered web sites (e.g. http://www.drop.org/) without registering.  Just use the following Drupal ID and password:\n\nDrupal ID: %username@%uri_brief\npassword: %password\n\n\n-- %site team")), $variables);
2002-05-20 09:31:58 +00:00
Kjartan Mannes 3d5d247690 - changing sort order. 2002-05-20 09:19:43 +00:00
Dries Buytaert f3c8757179 - Ran the code through 'scripts/code-clean.sh': removed trailing whitespace
(and possibly tabs).
2002-05-20 07:34:38 +00:00
Dries Buytaert d895ef8c40 - Bugfix: the tracker module was using an incorrect time interval to show
recent/new comments.  Patch by Gerhard.
2002-05-20 07:32:01 +00:00
Kjartan Mannes c9871b7814 - updating all nodes to use taxonomy terms.
- updated node modules not to cause errors when taxonomy module is disabled.
- added %date variable to user mail configuration.
- added hyperlinks to admin.php?mod=system (site configuration) for easy access.
- usual coding style and xhtml fixes.
2002-05-19 23:05:05 +00:00
Steven Wittens 71c7b8465c Fixed bug reported by Gerhard:
module.php?mod=login should be module.php?mod=user&op=login in the emails that user.mod sends out.
2002-05-17 14:40:58 +00:00
Kjartan Mannes c1f617a3ab - fixing bug #181. 2002-05-16 09:32:01 +00:00
Kjartan Mannes 35f44e83f8 - xhtml errors
- improper link attributes.
2002-05-15 20:39:55 +00:00
Steven Wittens 87c134fa1e Possible bug with filtering: linebreaks inside style's got converted into breaks. 2002-05-14 21:56:01 +00:00
Kjartan Mannes cc59e1f110 - fixing bug #179 2002-05-13 22:16:33 +00:00
Kjartan Mannes 741a0cc594 - fixing a parse error. 2002-05-13 22:07:26 +00:00
Kjartan Mannes 3bf40eccde - fixing parse error. 2002-05-13 19:14:35 +00:00
Kjartan Mannes 581bc6a267 - more coding style fixes. 2002-05-13 18:59:53 +00:00
Kjartan Mannes 706a2e199a - using format_name instead of some local hack. 2002-05-12 20:31:48 +00:00
Kjartan Mannes 8c0d452d37 - added access checking to queue block.
- fixed queue block not showing up when it supposed to.
2002-05-12 20:12:23 +00:00
Kjartan Mannes ea4643a180 - fixed links.
- added link to a users recent comments on their info page.
2002-05-12 19:31:50 +00:00
Kjartan Mannes cb2345e9c3 - and I missed one of those l() calls. These things are tricky :) 2002-05-12 18:22:37 +00:00
Kjartan Mannes 17d283799e - messed up the parameters. 2002-05-12 18:20:59 +00:00
Kjartan Mannes b86e23216e - fixed some nav links. 2002-05-12 18:16:50 +00:00
Kjartan Mannes 524cf07d12 - module and theme admin pages work again. 2002-05-12 16:19:10 +00:00
Kjartan Mannes f86a944979 - applied Stevens link patch.
- fixed block permissions.
- fixed user admin page errors: http://www.drupal.org/node.php?id=173.
- cleaned up common.inc a bit: removed format_info, path_img, field_merge.
2002-05-12 15:40:57 +00:00
Kjartan Mannes 86552cb4b6 - changed block, module and theme config pages to use checkboxes.
- coding style clean ups.
- fixed taxonomy causing errors.
2002-05-11 16:21:48 +00:00
Steven Wittens c72bf4b5f7 Code-style fix 2002-05-11 15:51:52 +00:00
Steven Wittens df5dee8444 Poll.module:
- (forgot to mention in the last update) The side-block for the poll now has node-links
- Prevented 'read more' links (there's nothing to 'read more' for polls)
2002-05-11 15:20:35 +00:00
Steven Wittens cd19768bf1 Poll.module:
- Fixed edit form not defaulting to the correct amount of choices.
2002-05-11 13:56:31 +00:00
Dries Buytaert 8c69c3a912 - Improved viewing of individual comments. 2002-05-05 19:02:02 +00:00
Kjartan Mannes 69ec1a6996 - making sure the nodes call filter(). 2002-05-04 18:56:43 +00:00
Kjartan Mannes d09d6d2d97 - fixing the style filter. 2002-05-03 20:35:34 +00:00
Kjartan Mannes 8b153f32f4 - filter changes part 1. Part 2 tomorrow. 2002-05-03 20:27:53 +00:00
Kjartan Mannes 72f33dde32 - fixed comment control settings:
http://www.drupal.org/node.php?id=115
2002-05-03 12:56:57 +00:00
Kjartan Mannes ce4993d29c - fixed indentation.
- added $Id$
2002-05-02 21:41:29 +00:00
Kjartan Mannes a93b2a1740 - user.module used a obsolete variable_get.
- set blocks for new users.
2002-05-02 20:32:36 +00:00
Dries Buytaert 837041f115 - XHTML-ified a few things. 2002-05-02 20:28:11 +00:00
Kjartan Mannes 30dd6ea68f - changed from a select to checkbox on edit account page.
- added a basic help text.
2002-05-02 20:21:51 +00:00
Dries Buytaert 73430ade47 Applied Moshe's user module improvements:
- Admins may now change passwords for users.

 - Confirmation message for user_admin_edit is now formatted by standard
   status() function.

 - Improved user experience for anonymous users when they browse to an
   access controlled URL.  Such users will now login and then are
   redirected to the destination URL.  Previously, they received the
   message_access() text.

 - Added a "Who's new" block.
2002-05-02 19:56:51 +00:00
Kjartan Mannes 3f14fd77bf - small update .htaccess, fixed the blog link.
- some interface changes in block admin page.
2002-05-02 19:55:22 +00:00
Kjartan Mannes cd334c1364 - re-adding the module.php?mod=blog&node=USER. 2002-05-02 19:36:03 +00:00
Kjartan Mannes a4b5005640 - merged block and box modules. modules/box.module should be removed
or disabled as it will cause errors otherwise.

  - split status into status and custom. Status will turn the block
    on/off, and custom defined if the user can change the status.
    Requires sql update.

  - reintroduced user page to configure blocks.
2002-05-02 19:13:45 +00:00
Kjartan Mannes 891cad97a3 - clearing extra spaces from user.module.
- patching weblogs.module.
2002-05-02 14:59:45 +00:00
Kjartan Mannes 4847fe188b - fixed a few coding style issues.
- got the _nasty_ Netscape 4 bug. Even wrote a nice blog about it. Now I
  need sleep.
  http://www.kjartan.net/node.php?id=53
- fixed the register now link showing up when user registration are disabled.
2002-05-01 12:34:04 +00:00
Kjartan Mannes f423f91d37 - fixed the son of session crash. Its amazing how vitally important it is to return
valid data is to PHP.. one mistake and things start to crash at random times.
2002-04-29 18:10:56 +00:00
Dries Buytaert 5c6122b4ce - Renamed "settings and filters" to "site configuration": you might have to
update your user's permissions.
2002-04-28 09:53:55 +00:00
Dries Buytaert 3eb55eae71 - Fixed a glitch in the taxonomy module. Contributed by Marco. 2002-04-28 09:08:02 +00:00
Dries Buytaert ae263bf607 - Rewrote role management, splitting the table in two. There are no
improvements right now, but this patch will help me adding support
  for taxonomy-based permissions.  Contributed by Marco.
2002-04-28 08:55:00 +00:00
Dries Buytaert d7b4aac13e - By default, nodes posted through the bloggerapi.module will have
read/write comments.  Patch by Mark Cornick, approved by Greg Tyrelly.
2002-04-27 13:10:20 +00:00
Steven Wittens 75d4c15f07 Cosmetic bugfix:
Level 0 comments were still wrapped with a zero-width indentation table. Because the indentation-column contains a space, there was still a slight margin.
2002-04-25 20:59:50 +00:00
Dries Buytaert dbf9469d52 - Made the date strings configurable. Patch by Simon Lindsay. 2002-04-24 21:04:37 +00:00
Dries Buytaert 681dfc4ac0 - Bugfix: solve problem with locales being "disabled". Reported by Jerritt,
fixed by Marco.
2002-04-24 20:55:20 +00:00
Kjartan Mannes be5f1d2e9d - fixing that persistant <br \> 2002-04-22 09:30:13 +00:00
Kjartan Mannes de5b9a168d - bug fixes:
* fixed mails not being parsed properly.
    * tracker now shows user name when you view your own recent
      comments.
    * link to submission queue now points to the right place.
    * fixed jabber module.
    * theme is now activated when changed.
- applied Gerhards coding style patch.
2002-04-22 09:05:36 +00:00