Commit Graph

319 Commits (3b7425aefb77641468a2183e83481e644b4eb9d6)

Author SHA1 Message Date
natrak e7fd76a1c9 - added the CVS keyword $Id$ to all files to make future version tracking
easier. Also changed the <? tag to <?php in some cases.
2001-10-20 18:57:10 +00:00
Kjartan Mannes 864c18d4c3 - added the CVS keyword $Id$ to all files to make future version tracking
easier. Also changed the <? tag to <?php in some cases.
2001-10-20 18:57:09 +00:00
Dries Buytaert d595fc8f4e - Started a theme.inc clean-up. 2001-10-20 13:35:12 +00:00
Kjartan Mannes a98d1d7cab - modified the variable code so you can override site settings in the config file
by setting them in a $conf variable.

  This will let you host several domains off the same Drupal installation with
  the same databases with minor differences in settings.

  Note: the values can not be changed by users in a GET or POST string.
2001-10-20 11:24:53 +00:00
natrak 6b4e1ec475 - modified the variable code so you can override site settings in the config file
by setting them in a $conf variable.

  This will let you host several domains off the same Drupal installation with
  the same databases with minor differences in settings.

  Note: the values can not be changed by users in a GET or POST string.
2001-10-20 11:24:52 +00:00
Dries Buytaert 33a3502dfe - Removed a node's link ID (lid) as discussed on the mailing list. See
'updates/3.00-to.x.xx.mysql' for the required MySQL updates.

- Renamed some "author" fields to "uid" fields for sake of consistency.

- Fixed the coding style of some PHP files.

- Fixed the moderation queue (fairly untested though).

- Re-introduced the temporary SQL table in _node_get().

- Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.
2001-10-16 20:13:22 +00:00
Kjartan Mannes 2ec1512419 - blocks will now show up again if 'Enabled: always' 2001-10-16 11:51:03 +00:00
Dries Buytaert 625455b53b - I tidied up most SQL tables to be more consistent with the rest of the
tables: I changed all "id"s to "xid"s where "x" is the first letter of
  the table name.  I also renamed all remaining "userid"s to "uid"s as I
  mentioned I would do.  Take a look at ./drupal/updates/3.00-to-x.xx.sql
  for the MySQL updates.
2001-10-14 15:27:00 +00:00
Dries Buytaert 27e4d1ab3e - Small improvement to db_query() to make debuging queries a bit more easy. 2001-10-14 11:29:29 +00:00
Dries Buytaert 54d76f753b - Pass theme objects by reference, avoids creating copies and lets called
functions to store data in the theme (patch by Mike Krus).
2001-10-14 07:47:11 +00:00
Dries Buytaert 0a5e1828f4 - Fixed the remaining SQL problems when running MySQL in ANSI mode.
(moderation/comment related)
2001-10-13 08:34:58 +00:00
Dries Buytaert 73d61b7839 - fixed 4 SQL queries to use ANSI SQL instead: '||' --> 'OR' 2001-10-12 18:35:21 +00:00
Dries Buytaert 2d6fb0f7c1 - added a few missing rollback()'s and corrected a typo 2001-10-12 18:19:41 +00:00
Dries Buytaert 959cae8222 - added sequence tables
- fixed bug in node_page()

- fixed bug in db_result()

- fixed rss glitch
2001-10-11 12:25:25 +00:00
Dries Buytaert f1932821be - PEAR-ification of Drupal by claw: you can now host Drupal on a wide
range of databases including MySQL, PostgreSQL, MSSQL, and others.

  For additional information and an 'how to upgrade', check the mails
  sent to the mailing list.
2001-10-09 21:01:47 +00:00
Dries Buytaert 47c6fce5ce - added a comment() function to the base theme: you don't have to overload
it in your custom themes

- moved 'theme_account()' to the base theme as '$theme->user()' so that it
  can be themed.
2001-10-07 12:27:58 +00:00
Dries Buytaert 7a9bc86bd2 - Improved search architecture derived from Axel's new search patches.
(There is room for improvement so let's go from these ... and build
  on them.)

- Removed some $status's by calls to node_status().
2001-10-03 20:57:01 +00:00
Dries Buytaert f7e9bab197 - tidied up some "$status"-es and removed "$rstatus". 2001-10-02 21:33:10 +00:00
Dries Buytaert 3f91d675c7 - small improvement to 'drupal_goto()' 2001-09-30 21:13:14 +00:00
Dries Buytaert 07c587d127 - small bugfix in drupal_goto 2001-09-30 11:40:49 +00:00
Dries Buytaert d7f911c910 - typo 2001-09-30 11:13:43 +00:00
Dries Buytaert a6379d2ee8 - replaced all 'header("Location: foo")'s by a call to 'drupal_goto()'
which will append the session ID to the uri 'foo' when PHP is compiled
  with '--enable-transe-sid'.
2001-09-30 11:09:22 +00:00
Dries Buytaert 0cce47f15f - fixed small glitch in node_del()
- fixed small glitch in comment_del()

- changed the API of the form() function.  The first parameter, the
  "action"-attribute in the <form>-tag has been made optional.  By
  default, it will be set to "$REQUEST_URI".

  Why? Because in 98% of the cases we would do:

    global $REQUEST_URI;
    $form = form($REQUEST_URI, $form_content);

  while we can do:

    $form = form($form_content);

  now.

  Update your modules (and sorry for the inconvenience)!
2001-09-28 16:20:55 +00:00
Dries Buytaert 5e6549f156 - removed the themes that are not actively maintained ... 2001-09-28 14:11:48 +00:00
Dries Buytaert f1ebe411be - comment.inc:
+ when replying to a comment, the author's name was displayd as being 'anonymous'.

- blog.module:
   + fixed the URLs of the links in the "latest blogs"-block.
2001-09-28 13:12:05 +00:00
Dries Buytaert 4a0e498f52 - a batch of updates, including some experimental changes to the moderation
of comments and nodes.
2001-09-27 20:51:26 +00:00
Dries Buytaert 72188675d7 - Upgraded the XML-RPC libraries to version 1.01:
http://groups.yahoo.com/group/xml-rpc/message/3626
2001-09-25 21:40:46 +00:00
Kjartan Mannes a9d2e12419 - modified theme_block() to ignore blocks that have no content. 2001-09-25 21:26:20 +00:00
Dries Buytaert c6833b5f9e - improvement: got rid of the "failed to delete node: set node status to
'dumped' first."
  (patch by Alex)
2001-09-25 17:17:16 +00:00
Dries Buytaert a1222d6430 - Fixed translation bugs (reported by Alexander Schwartz) 2001-09-24 18:46:07 +00:00
Dries Buytaert 9239aaea39 - Fixed bug reported by Kristjan and Mike: anonymous users can post
comments now.

- Improved the comment system so that anonymous users can change the
  comment settings.
2001-09-20 20:07:46 +00:00
natrak ff3cf1321d - fixed comments using the timestamp of the comment, and not the timestamp
of the user. (Should stop using * in SQL queries :-)
2001-09-19 16:26:45 +00:00
Dries Buytaert ae7e03a24b - small bugfix 2001-09-18 20:18:21 +00:00
Dries Buytaert c5a349ca51 - added the "Log in" block 2001-09-16 16:05:16 +00:00
Dries Buytaert 2d1e9126cb - Added the new user module! 2001-09-16 11:33:14 +00:00
Dries Buytaert 1b7510eebf - Added an XML-RPC server. Modules that want to export remote procedure
calls can implement the new 'xmlrpc' hook.

  Example:

   function mymodule_xmlrpc() {
     return array("drupal.myfunction" => array("function" => "mymodule_myfunction"));
   }
2001-09-09 16:47:10 +00:00
Dries Buytaert b9947121d6 - fix a _bug_ in "max threaded" mode 2001-09-07 15:56:15 +00:00
Dries Buytaert 19ff3e28fe - fixed HTML typo in search.inc which confused Mozilla - thanks Carl and
Keith.
2001-09-06 07:43:48 +00:00
Dries Buytaert a8bfbe7608 - common.inc:
+ added a form_password() function
2001-08-28 20:40:35 +00:00
Dries Buytaert 4d3da2bfec - variable_del(): small improvement/fix 2001-08-28 20:39:25 +00:00
Kjartan Mannes 769a31f239 module.inc
- Fixed bug reported by Remco.
2001-08-23 10:22:50 +00:00
Dries Buytaert 36b199a0d0 - Fixed bug in conf_init() not returning the default 'conf' when no
matching configuration file is found.
2001-08-22 18:51:40 +00:00
Dries Buytaert a3ff319460 - Removed the confusing comment as suggested by Jared. 2001-08-21 20:23:24 +00:00
Dries Buytaert 808b6b6cae - Changed the authentication and login scheme as discussed on the mailing
list.
- Fixed the export function in book.module (patch my Julian).
- Fixed the comment alignment (comments got truncated).
2001-08-11 14:54:39 +00:00
Kjartan Mannes 876536a955 locale.module
- search is now default.
- search remembers your settings.
- save will dump you back to your last search.
2001-08-08 09:22:01 +00:00
Dries Buytaert 6e15c4b55f - common.inc:
+ applied Julian's conf_init() patch
2001-08-03 20:14:52 +00:00
Kjartan Mannes 491550531f common.inc
- format_username() now takes a second optional parameter which gives the
  real name of the user.

Rest
- updated the calls to format_username() where appropriate to show the name
  of the user instead of the account id. Clicking on a name will still give you
  the account info etc. If you find a place where the real name is not shown
  let me know.
2001-07-25 12:21:49 +00:00
natrak d016fb14f4 common.inc
- format_username() now takes a second optional parameter which gives the
  real name of the user.

Rest
- updated the calls to format_username() where appropriate to show the name
  of the user instead of the account id. Clicking on a name will still give you
  the account info etc. If you find a place where the real name is not shown
  let me know.
2001-07-25 12:21:48 +00:00
natrak 0bddb5231d user.inc
system.module
- made the words used in passwords configurable thru the admin interface.
2001-07-25 11:34:53 +00:00
Kjartan Mannes 1e5afb398e comment.inc
- removed comment_controls().
- modified comment_render() to use $theme->comment_controls().

theme.inc
- added BaseTheme->comment_controls().

locale.module
- can now search for status independant of language.
- string is now a regular expression. For wildcard searches do .*text.*.
- can search in modules + pages, all modules or a specific module.

account.php
- fixed viewing other accounts info would show the active users name in the
  real name field.
- now shows users recent contributions and comments (if the user has access to
  them).
2001-07-25 08:31:53 +00:00