Commit Graph

1030 Commits (accb30677c7c542c45d383881a5e53b0d55b71ca)

Author SHA1 Message Date
Dries Buytaert accb30677c - Emit the menu after the actual content; this makes it possible to rebuild
the menu when some action changed the system table.
2003-03-09 13:03:32 +00:00
Kjartan Mannes c2866848d1 - Removing some trailing whitespace I forgot to clean up. 2003-03-09 10:19:16 +00:00
Kjartan Mannes a0deb476fa - Changed _nodeapi("conf") to _nodeapi("settings").
- Changed node settings page to use table().
- Minor code beautification here and there.
2003-03-08 14:35:42 +00:00
Dries Buytaert 491b0b59ec - Bugfix to make parsing http://www.veganporn.com/syndicate-j.pl work.
Patch by Trent.
2003-03-08 00:20:47 +00:00
Kjartan Mannes 831ee21303 - Renamed "form.admin" to "form admin".
- Added node_admin_settings() to let users set node defaults.
    * Added _nodeapi("conf")
- Modified form_checkbox() to unset options. (Modified the patch from Ax.)
- Removed the _save() hook.
- Fixed a logical flaw in field_get() and field_set() which would break
  moderation.
- Moved some admin menus around and cleaned up some typos.
2003-03-07 22:11:44 +00:00
Dries Buytaert d659fedb38 - Removed the path_uri() function in favor of the $base_url variable and
fixes a handful of bugs introduced by the clean URL patch.
2003-03-07 06:37:30 +00:00
Dries Buytaert d5fe0cfe20 - Fixed bug in search.module: slashes where escaped twice. 2003-03-06 22:03:36 +00:00
Dries Buytaert 25c5e5977a - Fixed broken URL in comment form. Patch by Ax. 2003-03-06 08:19:01 +00:00
Dries Buytaert a15bf99e46 - Fixed the links in the admin menu. Patch by Ax. 2003-03-05 18:56:57 +00:00
Dries Buytaert f26d8807fc - Two small fixes. 2003-03-04 17:41:11 +00:00
Dries Buytaert cf2802a761 - Fixed typo: $node->tid -> $node->tid[]. 2003-03-04 15:32:26 +00:00
Dries Buytaert ae88a6def7 - Corrected coding style and fixed some "undefined index/variable" warnings.
Patch by Ax.
2003-03-04 06:20:18 +00:00
Dries Buytaert db9d442483 - Fixed typo in system module. Patch by Ax. 2003-03-04 06:13:44 +00:00
Dries Buytaert 3f90aff045 - Various system module improvements. Patch by Al. 2003-03-02 20:58:12 +00:00
Dries Buytaert 6ccb8438bc - Fixed the "adminster" link at the bottom of every node's display. Patch
by Al.
2003-03-02 20:51:57 +00:00
Dries Buytaert 55a449f972 - This commit fixes URLs, and makes the "edit book outline" link at the bottom
of an "/admin/node/edit/n" page work properly.  Patch by Al.
2003-03-02 20:50:40 +00:00
Dries Buytaert 223c224d43 - Grammar fix. Patch by Al. 2003-03-02 20:33:20 +00:00
Dries Buytaert 0b7cecd5b6 - Some fixes and improvements to the taxonomy module. Patch by Al. 2003-02-27 23:43:50 +00:00
Dries Buytaert 3c61a382bb - Bugfix: there was an errant </a> tag with no opening tag. Patch by Al. 2003-02-27 22:49:59 +00:00
Dries Buytaert 64cc473d6d - Removed <?php ?> tags from documentation and made sure the important links are
at the top.  Patch by Al.
2003-02-27 07:26:54 +00:00
Dries Buytaert dadf09d8c8 - Fixed bug in comment_num_replies() causing problems in the tracker module
(and potentially in the forum module).
2003-02-26 22:19:24 +00:00
Dries Buytaert 8ae2520965 - Removed stripslashes(). See http://lists.drupal.org/pipermail/drupal-devel/2003-February/022233.html. Patch by Ax. 2003-02-26 22:02:46 +00:00
Dries Buytaert bca66646f0 - Performance improvement. Patch by Zbynek.
1) Even when string is not translated, put it in the cache and save a
     query for each untranslated string.
  2) When there is no cache, create one.
2003-02-26 21:54:35 +00:00
Dries Buytaert 91dfef65af - Fixed some typos spotted by Al Maw. 2003-02-25 19:52:32 +00:00
Dries Buytaert fd6f209de0 - Fixed some broken links. 2003-02-24 19:19:12 +00:00
Dries Buytaert b1f4758455 - Fixed typo. Patch by Garym. (Something went wrong with my earlier commit.) 2003-02-23 21:36:29 +00:00
Dries Buytaert 20e8bc12ca *** empty log message *** 2003-02-23 21:30:52 +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
Dries Buytaert 465a598770 - Fixed off-by-one bug in the search module. Patch by Brad. (Still looking
into the blog module patch.)
2003-02-16 17:47:53 +00:00
Kjartan Mannes dd329e1d95 - Added function node_invoke_all($hook, &$node, $op, $arg = 0).
- Added a _nodeapi hook that in time will replace the _node hook. Trying
  to make as few changes to existing code as possible until the new api
  is stabilized.
- Modified node_form() to add administration options from other modules
  using the _nodeapi hook.
- Modified node_save() to fetch which fields should be saved to the node
  table from the _nodeapi hook.
- Moved comment and queue options from node_form() and node_save() to
  the modules _nodeapi hooks.
2003-02-16 14:57:35 +00:00
Dries Buytaert b29f1bff7f - Removed from the main repository. See 'contrib/modules/devel' for a more
advanced development module maintained by Moshe.
2003-02-16 08:25:07 +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 d038729797 - Clean URLs. 2003-02-14 19:52:45 +00:00
Kjartan Mannes d154836125 - Applied patch from Axel: missing cid in comment search results. 2003-02-12 21:39:07 +00:00
Kjartan Mannes 32989e14db - Fixed blog.module to accept blog/name URLs as well as blog/id
- Changed the RewriteRule in .htaccess.
- Fixed form_select() matching incorrectly.
- Added missing $Id$ to menu.inc
2003-02-12 21:37: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 e5aae050a7 - Changed '%s' into '%d' such that an empty $user->uid is converted to 0. Required for Drupal to work on new versions of PostgreSQL. Patch by James. 2003-02-09 18:01:32 +00:00
Dries Buytaert f3c093f638 - 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, backported to CVS by me.
2003-02-09 17:58:56 +00:00
Dries Buytaert 9281d0cdd7 - Applied Alastair's date patch.
- Removed all instances of '$user->nodes'.

- Committed Moshe's taxonomy patch - minus the node_compact_list() bit.  It needs a bit more thought/work.  This patch changes the links of taxonomy pages/feeds so update your custom code and themes accordingly!

Themes should now use "taxonomy_link("taxonomy terms", $node)" to get an array of taxonomy term links.  The old construct is deprecated and should be changed.

// old theme blob:
if (function_exists("taxonomy_node_get_terms")) {
  foreach (taxonomy_node_get_terms($node->nid) as $term) {
    $terms[] = l($term->name, NULL, array(), "or=$term->tid");
  }
}

// new theme blob:
if (module_exist("taxonomy")) {
  $terms = taxonomy_link("taxonomy terms", $node);
}

// old URL:
http://foo.com/index.php?or=1,2

// new URL:
http://foo.com/?q=taxonomy/page/or/1,2
2003-02-09 17:39:40 +00:00
Dries Buytaert 6953d95b2d - Fixed bug #1133: disabled comments are no longer shown. Thanks Gerhard. 2003-02-09 14:38:20 +00:00
Dries Buytaert 10cb57a0b7 - Removed redundant code. 2003-02-02 21:05:34 +00:00
Dries Buytaert 6fcadb8ef5 - Made it possible to print forum submission guidelines. Patch by Moshe. 2003-02-02 10:02:37 +00:00
Dries Buytaert c23f53f786 - Fixed typo: '$node->nide' -> '$node->nid'. Patch by Alastair. 2003-02-01 20:04:00 +00:00
Dries Buytaert 6746ee41f5 - Added some caching. Patch by Moshe. 2003-02-01 20:01:43 +00:00
Dries Buytaert 74a3318ca9 - Bugfix; we got redirected to the wrong URL. 2003-01-29 23:33:50 +00:00
Dries Buytaert 2e6e1efbae - Renamed "Allow HTML tags" to "Filter HTML tags" for clarity. Reported by
Ax.
2003-01-29 23:15:10 +00:00
Dries Buytaert 5b720be335 - Corrected misplaced quote. Reported by Gerhard. 2003-01-29 18:40:47 +00:00