Commit Graph

301 Commits (cccca3b17e3bd409c6325029c650294c8722c7d1)

Author SHA1 Message Date
Dries Buytaert 92acb92699 - Patch #33747 by Ber and Moshe: bugfix + code improvement: clean up some of the taxonomy loading code. 2006-01-10 12:35:20 +00:00
Dries Buytaert b170d83d14 - Removed global . 2006-01-09 10:12:30 +00:00
Dries Buytaert 4e35060451 - Patch 42591 by Simon/me: fixed problem with deleting forum and book revisions. 2005-12-31 13:04:40 +00:00
Dries Buytaert 799ceae29b - Patch #42705 by Cvbge: added missing format_plural(). 2005-12-31 11:21:32 +00:00
Dries Buytaert ea2d791095 - Patch 41169 by Chris: got rid of expensvie object 2 array casts. 2005-12-31 10:48:56 +00:00
Steven Wittens 79a193a2d2 - #42234: Use standardized feed icon for RSS 2005-12-29 04:46:40 +00:00
Dries Buytaert 1ef56e36a0 - Patch #42343 by wulff: added 2 missing t() functions. 2005-12-26 11:26:21 +00:00
Dries Buytaert 544aefad8a - Modified patch #40534: improved themability of forum icons (makes it possible to use animated gifs) + removed forum setting. 2005-12-11 12:44:39 +00:00
Dries Buytaert 99e27195e8 - Patch #40664 by Gerhard: assign default forum when adding a forum topic from within a forum. 2005-12-10 19:58:40 +00:00
Dries Buytaert 32d9af4916 - Patch #39598 by Gerhard: fixed problem with taxonomy terms not being selected. 2005-12-06 12:20:24 +00:00
Dries Buytaert c4c5ce122d - Patch #31323 by Gerhard: delete extra data when a revision is deleted. 2005-12-05 16:07:18 +00:00
Dries Buytaert 28fdb3975e - Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick. 2005-12-05 09:11:33 +00:00
Dries Buytaert 94f290c8ee - Patch #38849 by wtanaka: forum icon does not display as locked (aka closed) if comments are "disabled" instead of "read only". 2005-12-03 10:02:23 +00:00
Dries Buytaert 272c6b95fa - Patch #39667 by killes: fixed typo in function call: _forum_get_vid -> _forum_get_vid(). 2005-12-02 15:38:58 +00:00
Dries Buytaert 26bd449860 - Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'. 2005-12-02 15:21:01 +00:00
Dries Buytaert 90535c33aa - Patch #38854 by wtanaka: fixed XHTML validation problem. 2005-11-26 19:45:31 +00:00
Dries Buytaert d4692d569c - Patch #35644 by webchick: fixed the sizes of the textareas on the node edit forms. 2005-11-23 16:18:28 +00:00
Dries Buytaert aeed4cd8e4 - Patch #35644 by webchick: forms API simplificiations. 2005-11-12 11:26:16 +00:00
Steven Wittens 85492ae9a5 #36791: node_validate was called twice 2005-11-12 02:54:13 +00:00
Dries Buytaert b4644f8e66 - Patch #36250 by hunmonk: admin batch delete broken, node_delete needs reworked.
This commit changes the node_delete() API.  A list of affected modules is available at http://drupal.org/node/36250#comment-52963.
2005-11-04 19:40:28 +00:00
Dries Buytaert a8b218827a - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Dries Buytaert da1de1df9f - Patch #35205 by stefan: removed some deprecated code from forum.module! Yay. 2005-10-28 13:56:26 +00:00
Dries Buytaert 0f37358003 - Patch #35061 by Cvbge/ntosi: fixed SQL query problem on PostgreSQL 8. 2005-10-28 13:40:17 +00:00
Steven Wittens 9f143557a3 - #35505: Forum form api typo 2005-10-28 00:42:55 +00:00
Steven Wittens 6777fdb193 - #26583: Make forum taxonomy links redirect to forums rather than taxonomy pages. 2005-10-21 11:12:46 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert a1ae4da70b - Removing tabs and trailing whitespaces. 2005-10-07 06:51:43 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert 9981e4326d - Patch #32459 by beardedstoat and tostinni: always add a secondary sort order so the newest comments are on top. 2005-10-01 13:30:06 +00:00
Dries Buytaert cba3391b1f - Fixed spaces 2005-09-27 15:06:35 +00:00
Dries Buytaert 67e68fc679 - Patch #28786 by Neil: move pagers out of table. 2005-09-24 07:53:26 +00:00
Dries Buytaert 61740bd8ee - Patch #10056: allow the node title forms to be customized. 2005-09-23 08:47:13 +00:00
Dries Buytaert 2dddd9e532 - Patch #29102 by menesis: fixed typo/left-over in switch-statement. 2005-09-08 19:22:28 +00:00
Dries Buytaert 16262e03d5 - Patch #28320 by Neil: improved the HTML/CSS of the user login block. 2005-09-07 20:56:00 +00:00
Dries Buytaert 67de4f67d2 - Usablity improvement: check whether the comment module is enabled. If not,
show an error message.
2005-09-06 19:38:56 +00:00
Dries Buytaert d9d6a6e05c - Patch #7582 by Gerhard: improved node revisions!
All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node.  This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created.

TODO:

1. Provide upgrade instructions for node module maintainers!
2. Upgrade modules that implement node types.
3. Provide an upgarde path for revisions.  Dependency on the upgrade system.
2005-08-30 15:22:29 +00:00
Dries Buytaert 246274eb16 - Renamed _node() to _node_info()! We reserve _node for _nodeapi. 2005-08-29 19:58:49 +00:00
Dries Buytaert 8f32c39db2 - Patch #29102 by chx: fixed bug in forum module and tidied up the taxonomy_save_*() functions. 2005-08-28 15:58:52 +00:00
Dries Buytaert c9fc300b1f - Patch #29785 by Chx: multiple node types were broken so we refactored
part of the node system!  If you have a module that implements node
  types, you'll have to udpate its CVS HEAD version.

  We replaced _node_name() and _node_types() by _node().  The new _node()
  hook let's you define one or more node types, including their names.
  The implementation of the _node() hook needs to:

   return array($type1 => array('name' => $name1, 'base' => $base1),
                $type2 => array('name' => $name2, 'base' => $base2));

  where $type is the node type, $name is the human readable name of the type
  and $base is used instead of <hook> for <hook>_load, <hook>_view, etc.

  For example, the story module's node hook looks like this:

    function story_node() {
      return array('story' => array('name' => t('story'), 'base' => 'story'));
    }

  The page module's node hook module like:

    function page_node() {
      return array('page' => array('name' => t('page'), 'base' => 'page'));
    }

  However, more complex node modules like the project module and the
  flexinode module can use the 'base' parameter to specify a different base.

  The project module implements two node types, proejcts and issues, so it
  can do:

    function project_node() {
      return array(
       array('project_project' => array('name' => t('project'), 'base' => 'project'),
       array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue'));
    }

  In the flexinode module's case there can only one base ...

  This hook will simplify the CCK, and will make it easy (or easier) to merge
  the story and page module.

  In addition, node_list() became node_get_types().  In addition, we created
  the following functions: node_get_name($type) and node_get_base($type).
2005-08-28 15:29:34 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 97bc92f6b9 - Patch #29133 by DriesK: forum vid remains when vocabulary is deleted. Prevents forum topics from getting lost. 2005-08-18 21:53:55 +00:00
Dries Buytaert 7625a4e91a - Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).
Usernames can now be themed; eg. an icon/avatar could be added.

  TODO: update contributed modules + update the migration docs.
2005-08-01 05:14:05 +00:00
Dries Buytaert 87e5399a9e - Patch #19621 by Morbus/drumm: fixed bugs with taxonomy_save_xxx() functions.
TODO: update image module too?
2005-07-18 19:31:16 +00:00
Dries Buytaert 58aee8cdad - Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
2005-06-27 18:33:33 +00:00
Dries Buytaert f12d5c5347 - Patch #21918 by budda/Robin: forum icons are broken when you change the forum icon path. TODO 1: the forum icons should probably be configurable on a per-site or per-theme basis. TODO 2: I spent 5 minutes looking for this setting. 2005-06-19 08:43:59 +00:00
Steven Wittens a597354bcb - Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags. 2005-05-31 21:14:27 +00:00
Steven Wittens f3cbb10d8e - #19434: Improved forum admin texts. 2005-05-25 06:41:51 +00:00
Steven Wittens 0ff0af1601 - #23014: Only show forum blocks if there are topics to list. 2005-05-25 03:59:38 +00:00
Dries Buytaert 235a39e589 - Removing the /*! USE INDEX */. It actually degrades performance significantly. 2005-05-20 11:04:06 +00:00
Steven Wittens 89ae34de47 - #19621: More sensible status messages for forum admin ("created forum" instead of "created term"). 2005-05-07 01:48:06 +00:00