Commit Graph

130 Commits (d5fe0cfe2017241094a84e4c4fb6bfdf1928f8eb)

Author SHA1 Message Date
Dries Buytaert 223c224d43 - Grammar fix. Patch by Al. 2003-03-02 20:33:20 +00:00
Dries Buytaert 91dfef65af - Fixed some typos spotted by Al Maw. 2003-02-25 19:52:32 +00:00
Dries Buytaert 277ceae515 - New menu houskeeping. Prototyped by Zbynek.
The following modules need updating:
    * glossary module
    * feed module (Breyten's version)
    * mailhandler module
    * notify module
    * project module
    * smileys module
    * admin module
    * style module
    * taxonomy_dhtml module

  To avoid unexpected problems menu_add() is deprecated (it will print an
  error message when used) and menu() should be used instead.
2003-02-20 22:44:51 +00:00
Dries Buytaert 52314ddc32 - Theme options patch. See mailing list. 2003-02-17 22:33:31 +00:00
Kjartan Mannes a76151351e - Modifying user_validate_mail() to accept more e-mail addresses. 2003-02-15 20:52:28 +00:00
Dries Buytaert 83f5d82876 - Everything is using theme("function") now instead of $theme->function(). 2003-02-15 11:39:56 +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 3d3a60740a - Changed '%s' into '%d' such that an empty $user->uid is converted to 0. Requi
red for Drupal to work on new versions of PostgreSQL.  Patch by James.
2003-02-09 18:06:31 +00:00
Dries Buytaert 5b720be335 - Corrected misplaced quote. Reported by Gerhard. 2003-01-29 18:40:47 +00:00
Dries Buytaert 637004c539 - Tidied up XHTML. Patch by Ulf.
- Added missing t() function.  Patch by Stefan.
2003-01-23 09:24:20 +00:00
Dries Buytaert 73d46a64c3 - Tidied up some SQL queries. 2003-01-20 20:18:06 +00:00
Dries Buytaert 045f92d2b7 - Fixed bug/warning when an anonymous users tries to post a node. Reported
by David.
2003-01-15 19:51:08 +00:00
Dries Buytaert d268783669 - Small improvement to the admin menu based on feedback from Michael. 2003-01-14 20:33:42 +00:00
Dries Buytaert ba3eead0d6 - Made sure the text doesn't wrap. 2003-01-10 22:19:47 +00:00
Dries Buytaert 89b2069e4d - Clean URL patch. 2003-01-06 19:51:01 +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 74d315b34a - Usability improvement: made the remaining user administration pages use
the new table rendering functions; access rule table, permission table,
  role table, etc.

- Usability improvement: made the permission table translatable.  Requested
  by Stefan.

- Code improvement: removed some redundant check_output()s.
2002-12-29 13:46:30 +00:00
Dries Buytaert d9919f50c5 CHANGES:
- Usability improvement: made the user administration pages use the
  new table rendering functions.

- Usability improvement: added pager support to the user administration
  pages.

- Code improvement: fixed code indentation.
2002-12-29 13:14:38 +00:00
Dries Buytaert 22fa9ed70a - Refactored the administration pages. 2002-12-24 15:40:32 +00:00
Dries Buytaert 5b39f6767e * Applied slightly modified version of Marco's taxonomy patch:
- Fixed a bug with get_tree and multiple parents.
 - Fixed 3 wrong caches (this will avoid some queries).
 - Extension to taxonomy_term_count_nodes() (feature #159): "currently
   calling taxonomy_term_count_nodes() returns the amount of nodes in each
   term, would it be possible to extend this function so that it would only
   return the amount of nodes of a certain type under each term.
 - Confirm deleting a vocabulary or a term (requested by Moshe).
 - Use form_weight() in vocabulary and term forms.
 - After submitting a term, we end up at the term page (requested by Moshe).
 - Added status messages when adding, editing and deleting vocabularies and
   terms
 - Minor clean ups

* Made sure all modules use the same link delimiter; "|" for now.
2002-12-02 19:14:41 +00:00
Dries Buytaert 61b76fa2c1 - Fixed the "affiliate" text when all distributed authententication modules
are disabled.  Patch by Gerhard.
2002-11-25 17:56:38 +00:00
Dries Buytaert 908cb55470 - Applied Stefan's t()-function patches. 2002-11-10 20:51:46 +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 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 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 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 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 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 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 f06239caf7 - Fixed warning in user module. 2002-10-07 20:40:19 +00:00
Kjartan Mannes ba75605e89 - coding style improvements. 2002-09-30 08:58:22 +00:00
Kjartan Mannes 9347252fb9 - fixing user registration and field validation. 2002-09-25 22:05:47 +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
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 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 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 fc143e79a7 - Changed a MySQL-ism to be ANSI SQL/PostgreSQL compliant. Patch by jaa. 2002-08-16 07:28:27 +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
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
Dries Buytaert ef03e6a36c - Fixed small bug in user.module. Patch by Marco. 2002-07-13 13:03:44 +00:00
Kjartan Mannes a5c05512fc - added some missing title attributs to links. 2002-06-14 13:48:35 +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 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
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